Showing posts with label cisco. Show all posts
Showing posts with label cisco. Show all posts

Sunday, 15 July 2012

Procedure for capturing Show tech support on TFTP server


Show tech-support

This command is used to display technical support information which can be used in troubleshooting the router.The show tech-support command displays the output of a number of show commands at once. The output from this command varies depending on the platform and configuration.
This command can generate a very large amount of output. So the ideal way is to redirect the output to a file on the tftp which can be handy if the logs needs to be provided to the technical support representative.


Process for executing the command and redirecting it to tftp server.

Following steps needs to be followed in order to redirect the show tech-support output to the tftp folder.

  1. Log on to the FTP Server(tftp server ip)


  1. Create a file on the ftp server on which you want the logs to be taken.

    • Create a file on desktop without any extension.
    • Copy this file and paste on the ftp server.



  1. Log on to the Router and execute the below mentioned command.

Show tech-support | redirect <disk>:<ROUTER_NAME-DD-MM-YY-Desc>

NOTE:make sure that Disk has enough space to capture the show-tech command output.
Also the filename crated on the router and the ftp server be same.






  1. Once the output is saved in the disk, we need to copy the file from disk to the ftp server.

PE3-MLM-EU#copy disk0: ROUTER_NAME-DD-MM-YY-Desc tftp:
Address or name of remote host []? tftp server ip
Destination filename [ROUTER_NAME-DD-MM-YY-Desc]?

The Show tech is copied and same information can be accessed:

File Name: ROUTER-TECH-260309-desc

Friday, 13 July 2012

IOS upgradation on cisco 10K router







                   
IOS Upgradation on 10K PE  &Troubleshooting commands


Follow below steps for 10K IOS upgradation:

- Copy latest IOS on bootflash from tftp server

Commands:

router#copy tftp: bootflash:
Address or name of remote host []? <tftp server IP>
Source filename []? <New IOS>
Destination filename <New IOS>     

<press enter>

 - Now copy this image into standby processor using following command:

router#copy bootflash:<New IOS>  stby-bootflash:

- Check IOS presence with following commands:

router # Show bootflash: (for Active )
router# Show stby-bootflash:  (for standby)

- The redundancy mode has to be configured as SSO.

Commands:

Router(config)#Redundancy
Router(config-red)#mode sso

- Change the boot order using following commands and reload the router.

router#configuration terminal
router(config)#boot system flash <New IOS >
router(config)#boot system flash <Old IOS >
router(config)#end


- Router will reload with new IOS image and config sync with standby processor.






- Check current IOS version on both processors with following commands:

Router # show issu state detail

output:

Router#sh issu state detail
                          Slot = B
                      RP State = Active
                    ISSU State = Init
                 Boot Variable = bootflash:c10k3-p11-mz.122-33.SB1b.fc2,12;bootflash:c10k3-p11-mz.122-31.SB10e.bin,12;
                Operating Mode = SSO
               Primary Version = N/A
             Secondary Version = N/A
               Current Version = bootflash:c10k3-p11-mz.122-33.SB1b.fc2
                Variable Store = PrstVbl
                     ROMMON CV = [bootflash:c10k3-p11-mz.122-33.SB1b.fc2]

                          Slot = A
                      RP State = Standby
                    ISSU State = Init
                 Boot Variable = bootflash:c10k3-p11-mz.122-33.SB1b.fc2,12;bootflash:c10k3-p11-mz.122-31.SB10e.bin,12;
                Operating Mode = SSO
               Primary Version = N/A
             Secondary Version = N/A
               Current Version = bootflash:c10k3-p11-mz.122-33.SB1b.fc2


- Above command will give details of current IOS version on both processors and operating mode.

Router #sh redundancy

Redundant System Information :
------------------------------
       Available system uptime = 2 weeks, 1 day, 6 hours, 42 minutes
Switchovers system experienced = 1
              Standby failures = 0
        Last switchover reason = user initiated

                 Hardware Mode = Duplex
    Configured Redundancy Mode = SSO
     Operating Redundancy Mode = SSO
              Maintenance Mode = Disabled
                Communications = Up





Current Processor Information :
-------------------------------
               Active Location = slot B
        Current Software state = ACTIVE
       Uptime in current state = 2 weeks, 1 day, 6 hours, 29 minutes
                 Image Version = Cisco IOS Software, 10000 Software (C10K3-P11-M), Version 12.2(33)SB1b, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 30-Jan-09 11:37 by prod_rel_team
                          BOOT = bootflash:c10k3-p11-mz.122-33.SB1b.fc2,12;bootflash:c10k3-p11-mz.122-31.SB10e.bin,12;
                   CONFIG_FILE =
                       BOOTLDR =
        Configuration register = 0x2102

Peer Processor Information :
----------------------------
              Standby Location = slot A
        Current Software state = STANDBY HOT
       Uptime in current state = 2 weeks, 1 day, 6 hours, 24 minutes
                 Image Version = Cisco IOS Software, 10000 Software (C10K3-P11-M), Version 12.2(33)SB1b, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 30-Jan-09 11:37 by prod_rel_team
                          BOOT = bootflash:c10k3-p11-mz.122-33.SB1b.fc2,12;bootflash:c10k3-p11-mz.122-31.SB10e.bin,12;
                   CONFIG_FILE =
                       BOOTLDR =
        Configuration register = 0x2102


- “show redundancy” command can be used to check:

1)      Available system uptime of both processors
2)      Configured Redundancy Mode
3)      Operating Redundancy Mode
4)      Standby processor current software state (STANDBY HOT/ STANDBY COLD)

- STANDBY HOT indicates standby processor is ready to be active if primary processor fails.

- If current IOS is different on both processors then standby processor  will show as STANBY COLD indicating it is not ready to become ACTIVE.

- If this issue is faced then copy new image into standby processor and reload the router.

- This will change the Current Software state to STANDBY HOT.






- Following commands can be used to switchover the processor:

router(config)#redundancy force-switchover main-cpu

router(config)#testcrash (Hidden Command)