Title

Cisco Catalyst 6500

Misc Commands

sh int | i (drop|^(Po|Vl|Gi|Tu|Lo))

Update mit redundanten Supervisor

Nach einer ganzen Weile ist es mal wieder so weit, wir wollen und werden die Software von ein paar 65ern updaten (C65K-PM3-1 uptime is 2 years, 33 weeks, 3 days, 19 hours, 15 minutes). Nach etwas mehr als zwei Jahre erinnert sich keiner mehr so richtig and die Sache.

Hier einmal Schritt für Schritt das Vorgehen.

1) Identifizieren des Aktuellen Images
Das identifiziern des Images kann man auf verschiedene Arten machen. Mit "show bootvar" oder über die Configuration.

C65K-PM3-1#sh bootvar
BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 524288K/65536K bytes of memory.

Standby BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102
C65K-PM3-1#show configuration | include boot
boot-start-marker
boot system flash disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin
boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
boot-end-marker
C65K-PM4-1#

2) Aufräumen der disks
Mit "dir disk0:" und "dir disk1:" findet man raus was auf dem Filesystem alles liegt. Hier war noch ein altes nicht mehr genutztes Image auf der Ersten Disk, diese wird gelöscht und die einträge aus der Configuration entfernt. Das Image muss auch von der slavedisk der zweiten Supervisor Engine gelöscht werden

! 
! disable the old image
!
no boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
! 
! Clean the FileSystems on disk0: from old IOS Image  
! productional image is on disk1:
!
#delete disk0:c7600-fpd-pkg.122-33.SRA5.pkg
#delete disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
!
! do the same for the slavedisk0: 
!
#delete slavedisk0:c7600-fpd-pkg.122-33.SRA5.pkg
#delete slavedisk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin

3) Übertagen des neuen Images

putty  root:7001@10.0.254.237 

C65K-PM3-1>ena
C65K-PM3-1#
C65K-PM3-1#sh bootvar
BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-18.SXF7.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 458720K/65536K bytes of memory.

Standby BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-18.SXF7.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102

C65K-PM3-1# copy tftp://10.0.81.114/fdp.pkg disk0:
C65K-PM3-1# copy tftp://10.0.81.114/fdp.pkg slavedisk0:

C65K-PM3-1# copy tftp://10.0.81.114/ios.bin disk0:
C65K-PM3-1# copy tftp://10.0.81.114/ios.bin slavedisk0:

conf t

no boot system flash disk0:s72033-adventerprisek9_wan-mz.122-18.SXF7.bin
boot system flash disk0:s72033-adventerprisek9_wan-mz.122-18.SXF8.bin

exit
write 

Building configuration...
[OK]
C65K-PM3-1#sh bootvar
BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-18.SXF8.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 458720K/65536K bytes of memory.

Standby BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-18.SXF8.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102

# hw-module module 6 reset
Proceed with reset of standby supervisor? [confirm]
% reset issued for standby supervisor

# sh module
Mod Ports Card Type                              Model              Serial No.
--- ----- -------------------------------------- ------------------ -----------
  1   48  48 port 10/100/1000mb EtherModule      WS-X6148-GE-TX     SAL09528L45
  2    0  2-subslot Services SPA Carrier-400     7600-SSC-400       JAB093303U6
  4    3  MWAM Module                            WS-SVC-MWAM-1      SAD104907NZ
  5    2  Supervisor Engine 720 (Active)         WS-SUP720-3B       SAL09507PEP
  6    2  Supervisor Engine 720 (Cold)           WS-SUP720-3B       SAL10478JAQ

Mod MAC addresses                       Hw    Fw           Sw           Status
--- ---------------------------------- ------ ------------ ------------ -------
  1  0016.4747.914c to 0016.4747.917b   1.1   7.2(1)       8.5(0.46)RFW Ok
  2  0011.5c4a.d56c to 0011.5c4a.d5ab   1.0   12.2(18)SXF7 12.2(18)SXF7 Ok
  4  001a.6c03.6e0a to 001a.6c03.6e11   6.1   7.2(1)       2.1(3.0)     Ok
  5  0014.a97e.3870 to 0014.a97e.3873   4.4   8.1(3)       12.2(18)SXF7 Ok
  6  0017.9444.16b0 to 0017.9444.16b3   5.2   8.4(2)       12.2(18)SXF8 Ok

C65K-PM3-1#sh redundancy states
       my state = 13 -ACTIVE
     peer state = 4  -STANDBY COLD
           Mode = Duplex
           Unit = Primary
        Unit ID = 5
Redundancy Mode (Operational) = rpr
Redundancy Mode (Configured)  = sso
Redundancy State              = rpr

     Split Mode = Disabled
   Manual Swact = Enabled
 Communications = Up

   client count = 62
 client_notification_TMR = 30000 milliseconds
          keep_alive TMR = 9000 milliseconds
        keep_alive count = 1
    keep_alive threshold = 19
           RF debug mask = 0x0

C65K-PM3-1#redundancy force-switchover
This will reload the active unit and force switchover to standby[confirm]
Preparing for switchover..
Mar 13 12:20:48.864 CET: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

Mar 13 12:20:48.864 CET: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor
Reload scheduled for 12:21:34 CET Tue Mar 13 2007 (in 16 seconds)
C65K-PM3-1-sp>
C65K-PM3-1-sp>
C65K-PM3-1-sp>
C65K-PM3-1-sp>
C65K-PM3-1-sp>
C65K-PM3-1-sp>
C65K-PM3-1-sp>
Mar 13 12:21:35.316 CET: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

***
*** --- SHUTDOWN NOW ---
***

Mar 13 12:21:35.316 CET: %SYS-SP-5-RELOAD: Reload requested
Mar 13 12:21:35.316 CET: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor



System Bootstrap, Version 8.1(3)
Copyright (c) 1994-2004 by cisco Systems, Inc.
Cat6k-Sup720/SP processor with 524288 Kbytes of main memory

Autoboot executing command: "boot disk0:s72033-adventerprisek9_wan-mz.122-18.SXF8.bin"
Loading image, please wait ...
2010-10-14
C65K-PM3-1#sh bootvar
BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 524288K/65536K bytes of memory.

Standby BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102
C65K-PM3-1#show configuration | include boot
boot-start-marker
boot system flash disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin
boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
boot-end-marker
C65K-PM4-1#
! 
! disable the old image
!
no boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
! 
! Clean the FileSystems on disk0: from old IOS Image  
! productional image is on disk1:
!
delete disk0:c7600-fpd-pkg.122-33.SRA5.pkg
delete disk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
!
! do the same for the slavedisk0: 
!
delete slavedisk0:c7600-fpd-pkg.122-33.SRA5.pkg
delete slavedisk0:s72033-adventerprisek9_wan-mz.122-33.SRA5.bin
!
! Copy the new Image via TFTP 
! 
copy tftp://10.0.108.108/c6500-fpd-pkg.122-33.SXH7.pkg disk0:
copy tftp://10.0.108.108/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin disk0:
!
! also to the slavedisk0:
!
copy tftp://10.0.108.108/c6500-fpd-pkg.122-33.SXH7.pkg slavedisk0:
copy tftp://10.0.108.108/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin slavedisk0:
!
! or copy the IOS from a FTP Server 
!
copy ftp://cisco:cisco@10.0.242.213/c6500-fpd-pkg.122-33.SXH7.pkg disk0:
copy ftp://cisco:cisco@10.0.242.213/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin disk0:
!
copy ftp://cisco:cisco@10.0.242.213/c6500-fpd-pkg.122-33.SXH7.pkg slavedisk0:
copy ftp://cisco:cisco@10.0.242.213/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin slavedisk0:
boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin
C65K-PM3-1#sh bootvar
Load for five secs: 0%/0%; one minute: 7%; five minutes: 3%
Time source is NTP, 10:09:20.887 CET Fri Oct 15 2010

BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 524288K/65536K bytes of memory.

Standby BOOT variable = disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102
! change the order 
no boot system flash disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin
boot system flash disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin
boot system flash disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin
C65K-PM3-1#sh bootvar
Load for five secs: 8%/0%; one minute: 5%; five minutes: 3%
Time source is NTP, 10:13:16.576 CET Fri Oct 15 2010

BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin,1;disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102

Standby is up
Standby has 524288K/65536K bytes of memory.

Standby BOOT variable = disk0:s72033-adventerprisek9_wan-mz.122-33.SXH7.bin,1;disk1:s72033-adventerprisek9_wan-mz.122-33.SXH1.bin,1;
Standby CONFIG_FILE variable =
Standby BOOTLDR variable =
Standby Configuration register is 0x2102

  • root:7001@10.0.254.237
  • root:7001@10.0.254.247
  • root:7012@10.0.254.247