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)




1 comment:

  1. Wow what a nice post i am really so inspired here could you more share here i will be back to you as soon as possible and also i have some information for you just check Cisco Catalyst 3550-48. Hope you will inspire here.
    Thanks

    ReplyDelete