cisco设备如何查序列号
1。Cisco Cat6000/6500系列交换机
(1)CatOS+MSFC IOS
在CatOS下show version可以查看到Chasis,Module和PS(PowerSupply)的SN
对于Flexwan,MSFC卡,可以在CLI下用show diagbus察看
(2)IOS
show idprom xxxx
show idprom backplane
show module all
2。Cat5000/5500
show version
3。Cat4000/4500
4003 with sup1和2948G/2980G
show version看到的不是Chasis SN,只能通过看机箱上面的FOX打头的那串数字
4000/4500 with supII
show version is ok
4000/4500 with supII+ III IV
show idprom
show idprom chasis
4.Cat3750/3560/3550/2970/2950.../2900XL/3500XL
show version
5.Cat2948G-L3 4980G-L3 4908G-L3
show hardware
6.Cat8510/8540
show hardware
 
1)CISCO 12000 及板卡的序列号

外机箱的序列号通过SHOW的命令无法得到。去机箱前部抄吧。

各板卡的序列号可以通过SHOW DIAG 得到。如下列输出:

SLOT 3  (RP/LC 3 ): 3 Port Gigabit Ethernet
  

  MAIN: type 68,  800-6376-03 rev A0 dev 0
  

        HW config: 0x00    SW key: 00-00-00
  

  PCA:  73-4775-06 rev B0 ver 2
  
  

        HW version 2.0  S/N CAB0549LQTH
  

  MBUS: Embedded Agent
  
  

        Test hist: 0x00    RMA#: 00-00-00    RMA hist: 0x00

  
  
  
  

SLOT 4  (RP/LC 4 ): 4 Port Packet Over SONET OC-3c/STM-1 Single Mode

  MAIN: type 33,  800-2389-02 rev R0 dev 0
  

        HW config: 0x00    SW key: FF-FF-FF
  

  PCA:  73-2275-07 rev C0 ver 4
  
  

        HW version 1.1  S/N CAB0549LNXG
  

  MBUS: MBUS Agent (1)  73-2146-07 rev B0 dev 0
  

        HW version 1.2  S/N CAT005006S1
  

        Test hist: 0xFF    RMA#: FF-FF-FF    RMA hist: 0xFF

    

注意:PCA部分的S/N是服务合同所需要的序列号!服务合同所要求的P/N号只有自己按照LISTPRICE中的标准描述自己补充。如:

slot3:  P/N:3GE-GBIC-SC    S/N:CAB0549LQTH

slot4:  P/N:LC-4OC3/POS-SM  S/N:CAB0549LNXG

(这里让人头疼的是:CISCO的一个描述往往对应几个型号,有时无法给出确定的答案,建议向用户索要设备订购合同中的设备清单为准)

2)CISCO 7500 及板卡的序列号

虽然CISCO宣称通过SHOW DIAGBUS可以得到机箱序列号:(《组网用网:性能与故障管理》)。在输出中的第SLOT 31上的序列号就是机箱序列号。但我查了新疆移动的服务合同,(此合同已下单),这个序列号并不是外机箱序列号!!  

结论:机箱序列号去到电源附件去抄吧,别相信命令。

各板卡的序列号是可以通过SHOW DIAG得到的。输出中的SERIAL NUMBER之后所更的序列号就是相对应的PA或RSP、VIP的号码。
  
CISCO 3845 及模块序列号
3845#show version
Cisco IOS Software, 3800 Software (C3845-ADVENTERPRISEK9-M), Version 12.4(11)T2, RELEASE SOFTWARE (fc4)
Technical Support: [url]http://www.cisco.com/techsupport[/url]
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 01-May-07 00:55 by prod_rel_team
ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
BGT3845 uptime is 10 weeks, 4 days, 15 hours, 2 minutes
System returned to ROM by power-on
System p_w_picpath file is "flash:c3845-adventerprisek9-mz.124-11.T2.bin"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
[url]http://www.cisco.com/wwl/export/crypto/tool/stqrg.html[/url]
If you require further assistance please contact us by sending email to
[email]export@cisco.com[/email].
Cisco 3845 (revision 1.0) with 218112K/44032K bytes of memory.
Processor board ID FHK1109F032
2 Gigabit Ethernet interfaces
1 ATM interface
1 Virtual Private Network (×××) Module
DRAM configuration is 64 bits wide with parity enabled.
479K bytes of NVRAM.
62720K bytes of ATA System CompactFlash (Read/Write)
Configuration register is 0x2102
 
3845#show diag
3845 Backplane EEPROM:
        Hardware Revision        : 1.0
        Top Assy. Part Number    : 800-23093-01
        Board Revision           : B0
        Deviation Number         : 0
        Fab Version              : 04
          PCB Serial Number        : FOC11072H8A
        RMA Test History         : 00
        RMA Number               : 0-0-0-0
        RMA History              : 00
        Part Number              : 73-8639-04
        CLEI Code                : IPME110BRA
        Chassis Serial Number    : FHK1109F032
        Product (FRU) Number     : CISCO3845        
        Version Identifier       : V01
        Hardware date code       : 20070216
        EEPROM format version 4
        EEPROM contents (hex):
          0x00: 04 FF 40 04 2B 41 01 00 C0 46 03 20 00 5A 35 01
          0x10: 42 42 30 88 00 00 00 00 02 04 C1 8B 46 4F 43 31
          0x20: 31 30 37 32 48 38 41 03 00 81 00 00 00 00 04 00
          0x30: 82 49 21 BF 04 C6 8A 49 50 4D 45 31 31 30 42 52
          0x40: 41 C2 8B 46 48 4B 31 31 30 39 46 30 33 32 CB 92
          0x50: 43 49 53 43 4F 33 38 34 35 20 20 20 20 20 20 20
          0x60: 20 20 89 56 30 31 20 83 01 32 3F 48 FF FF FF FF
          0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

       Backplane Registers
       -------------------
   Backplane Revision:              00BE
   Power Supply Status:             F50F
   -48V PS and Env Status:          FFFF
   -48V Isolation Control:          0007
   Backplane Cookie:                000C
   ENM/Backplane FPGA Revision:     00BE
   ENM/Backplane FPGA Int0 Status:  FFFF
   ENM/Backplane FPGA Int2 Status:  00FF
   ENM/Backplane FPGA Int4 Status : EF00
   ENM Interrupt Mask:              0001
   ENM/BP FPGA Interrupt 4 Mask:    0040
   ENM1 Test Port:                  00C3
   ENM2 Test Port:                  00C3
   ENM3 Test Port:                  00C3
   ENM3 Test Port:                  00C3
   ENM LED Control:                 0011
   ENM OIR Control:                 0000
   ENM OIR Status:                  9299
   ENM PCI Speed Status             000F
   Backplane FPGA Diag Int Control: FFFF
   ENM1 OIR State Machine Status:   C441
   ENM2 OIR State Machine Status:   4141
   ENM3 OIR State Machine Status:   0000
   ENM4 OIR State Machine Status:   0000
   Backplane Voltage Margin:        0000
Slot 0:
        C3845 Mother board 1GE(TX,SFP),1GE(TX), integrated ××× and 4W Port adapter, 2 ports
        Port adapter is analyzed
        Port adapter insertion time unknown
        Onboard ×××             : FW ver01100200
        EEPROM contents at hardware discovery:
        PCB Serial Number        : FOC11071N1F
        Hardware Revision        : 1.3
        Top Assy. Part Number    : 800-23616-05
        Board Revision           : B0
        Deviation Number         : 88343
        Fab Version              : 05
        RMA Test History         : 00
        RMA Number               : 0-0-0-0
        RMA History              : 00
        Processor type           : 69
        CLEI Code                : IPME110BRA
        Product (FRU) Number     : CISCO3845-MB
        Version Identifier       : V05
        Chassis MAC Address      : 001b.2a26.ac80
        MAC Address block size   : 48
        Part Number              : 73-8799-08
        Hardware date code       : 20070215
        Chassis Serial Number    : FHK1109F032
        EEPROM format version 4
        EEPROM contents (hex):
          0x00: 04 FF C1 8B 46 4F 43 31 31 30 37 31 4E 31 46 40
          0x10: 04 2C 41 01 03 C0 46 03 20 00 5C 40 05 42 42 30
          0x20: 88 00 01 59 17 02 05 03 00 81 00 00 00 00 04 00
          0x30: 09 69 C6 8A 49 50 4D 45 31 31 30 42 52 41 CB 8C
          0x40: 43 49 53 43 4F 33 38 34 35 2D 4D 42 89 56 30 35
          0x50: 20 D9 02 40 C1 C3 06 00 1B 2A 26 AC 80 43 00 30
          0x60: 82 49 22 5F 08 83 01 32 3F 47 C2 8B 46 48 4B 31
          0x70: 31 30 39 46 30 33 32 FF FF FF FF FF FF FF FF FF
Slot 1:
        ATM OC3-POM (SMIR) Port adapter, 1 port
        Port adapter is analyzed
        Port adapter insertion time unknown
        EEPROM contents at hardware discovery:
        Hardware Revision        : 0.0
        Top Assy. Part Number    : 800-25702-04
        Board Revision           : B0
        Deviation Number         : 0
        Fab Version              : 03
        PCB Serial Number        : FOC11092QAL
        RMA Test History         : 00
        RMA Number               : 0-0-0-0
        RMA History              : 00
        Product (FRU) Number     : NM-1A-OC3-POM
        Version Identifier       : V01
        EEPROM format version 4
        EEPROM contents (hex):
          0x00: 04 FF 40 04 AB 41 00 00 C0 46 03 20 00 64 66 04
          0x10: 42 42 30 88 00 00 00 00 02 03 C1 8B 46 4F 43 31
          0x20: 31 30 39 32 51 41 4C 03 00 81 00 00 00 00 04 00
          0x30: CB 8D 4E 4D 2D 31 41 2D 4F 43 33 2D 50 4F 4D 89
          0x40: 56 30 31 20 D9 02 40 C1 FF FF FF FF FF FF FF FF
          0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
CISCO 3662及模块的序列号  


结论:3662的机箱、模块的序列号都是可以通过SHOW命令得到的。  

Show version 的输出中,可以得到外机箱序列号:如下列输出:

----------------- show version ------------------

Cisco Internetwork Operating System Software

IOS (tm) 3600 Software (C3660-JS-M), Version 12.2(7), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2002 by cisco Systems, Inc.

Compiled Mon 14-Jan-02 23:24 by pwade

Image text-base: 0x600089C0, data-base: 0x61560000

ROM: System Bootstrap, Version 12.0(6r)T, RELEASE SOFTWARE (fc1)

ROM: 3600 Software (C3660-IS-M), Version 12.1(2)T,  RELEASE SOFTWARE (fc1)

KS_R3662-M uptime is 2 weeks, 1 day, 10 hours, 40 minutes

System returned to ROM by power-on

System p_w_picpath file is "flash:c3660-js-mz.122-7.bin"

cisco 3660 (R527x) processor (revision 1.0) with 58368K/7168K bytes of memory.

Processor board ID JAB0348814D

R527x CPU at 225Mhz, Implementation 40, Rev 10.0, 2048KB L2 Cache

Channelized E1, Version 1.0.

在Processor board ID JAB0348814D 中即为机箱序列号。  

Show diag 的输出中,可以得到外机箱序列号和模块序列号:如下列输出中红色的就是相应的序列号:  

----------------- show diag ------------------

3660 Chassis type: ENTERPRISE

c3600 Backplane EEPROM:

       Hardware Revision        : 1.0

       Top Assy. Part Number    : 800-04740-02

       Board Revision           : A0

       Deviation Number         : 0-0

       Fab Version              : 02

       PCB Serial Number        : HAD0343105T

       RMA Test History         : 00

       RMA Number               : 0-0-0-0

       RMA History              : 00

       Chassis Serial Number    : JAB0348814D (注意这是外机箱序列号)

       Chassis MAC Address      : 0030.9451.9860

       MAC Address block size   : 112

       Manufacturing Test Data  : 00 00 00 00 00 00 00 00

 

       Fab Part Number          : 28-2651-02

       Number of Slots          : 6

       EEPROM format version 4

       EEPROM contents (hex):

         0x00: 04 FF 40 00 C8 41 01 00 C0 46 03 20 00 12 84 02

  0x10: 42 41 30 80 00 00 00 00 02 02 C1 8B 48 41 44 30

         0x20: 33 34 33 31 30 35 54 03 00 81 00 00 00 00 04 00

         0x30: C2 8B 4A 41 42 30 33 34 38 38 31 34 44 C3 06 00

         0x40: 30 94 51 98 60 43 00 70 C4 08 00 00 00 00 00 00

         0x50: 00 00 85 1C 0A 5B 02 01 06 FF FF FF FF FF FF FF

         0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

         0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

 

Slot 0:(注意SLOT0是指C3662带两个以太网口的主板,登记序列号不用管这个SLOT0!)

       C3600 Mother board 2FE(TX) Port adapter, 2 ports

       Port adapter is analyzed

       Port adapter insertion time unknown

       EEPROM contents at hardware discovery:

       PCB Serial Number        : JAB034703YS

       Processor type           : 34

       Top Assy. Part Number    : 800-04737-03

       Board Revision           : A0

       Fab Part Number          : 28-3234-02

       Deviation Number         : 65535-65535

       Manufacturing Test Data  : FF FF FF FF FF FF FF FF

       RMA Number               : 255-255-255-255

       RMA Test History         : FF

       RMA History              : FF

       Field Diagnostics Data   : FF FF FF FF FF FF FF FF

       EEPROM format version 4

       EEPROM contents (hex):

         0x00: 04 FF C1 8B 4A 41 42 30 33 34 37 30 33 59 53 09

         0x10: 34 40 00 B3 C0 46 03 20 00 12 81 03 42 41 30 85

         0x20: 1C 0C A2 02 80 FF FF FF FF C4 08 FF FF FF FF FF

         0x30: FF FF FF 81 FF FF FF FF 03 FF 04 FF C5 08 FF FF

         0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

         0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

         0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

         0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00

Slot 1:

        Sync/Async Port adapter, 8 ports

       Port adapter is analyzed

       Port adapter insertion time unknown

       EEPROM contents at hardware discovery:

       Hardware revision 1.0                Board revision E0

       Serial number     16866446         Part number    800-01225-02

       Test history      0x0                RMA number     00-00-00

       EEPROM format version 1

       EEPROM contents (hex):

         0x20: 01 25 01 00 01 01 5C 8E 50 04 C9 02 00 00 00 00

         0x30: 70 00 00 00 99 11 03 17 FF FF FF FF FF FF FF FF

Slot 2:

        Sync/Async Port adapter, 8 ports

       Port adapter is analyzed

       Port adapter insertion time unknown

       EEPROM contents at hardware discovery:

       Hardware revision 1.0                Board revision E0

       Serial number     16866269         Part number    800-01225-02

       Test history      0x0                RMA number     00-00-00

       EEPROM format version 1

       EEPROM contents (hex):

         0x20: 01 25 01 00 01 01 5B DD 50 04 C9 02 00 00 00 00

         0x30: 70 00 00 00 99 11 06 17 FF FF FF FF FF FF FF FF  

注意:同样,输出中,并不能直接提供出模块的P/N,所以同样要按照LISTPRICE上的描述进行登记。  
 
CISCO 3640 及模块序列号
 
3640#show version
Cisco Internetwork Operating System Software
IOS (tm) 3600 Software (C3640-IS-M), Version 12.2(7c), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sat 11-May-02 00:37 by pwade
Image text-base: 0x600089A8, data-base: 0x611B4000
ROM: System Bootstrap, Version 11.1(20)AA2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
cxxxzx3640 uptime is 14 hours, 13 minutes
System returned to ROM by power-on
System p_w_picpath file is "flash:c3640-is-mz.122-7c.bin"
cisco 3640 (R4700) processor (revision 0x00) with 49152K/16384K bytes of memory.
Processor board ID 28949947
R4700 CPU at 100Mhz, Implementation 33, Rev 1.0
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
2 FastEthernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
DRAM configuration is 64 bits wide with parity disabled.
125K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
 
3640#show diag
Slot 0:
        NM-2FE2W Port adapter, 2 ports
        Port adapter is analyzed
        Port adapter insertion time unknown
        EEPROM contents at hardware discovery:
        Hardware Revision        : 1.0
        Top Assy. Part Number    : 800-04797-01
        Board Revision           : G0
        Deviation Number         : 0-0
        Fab Version              : 05
        PCB Serial Number        : JAD06350BMW
        RMA Test History         : 00
        RMA Number               : 0-0-0-0
        RMA History              : 00
        EEPROM format version 4
        EEPROM contents (hex):
          0x00: 04 FF 40 00 D8 41 01 00 C0 46 03 20 00 12 BD 01
          0x10: 42 47 30 80 00 00 00 00 02 05 C1 8B 4A 41 44 30
          0x20: 36 33 35 30 42 4D 57 03 00 81 00 00 00 00 04 00
          0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Slot 1:
        ATM OC3, intermediate reach single mode Port adapter, 1 port
        Port adapter is analyzed
        Port adapter insertion time unknown
        EEPROM contents at hardware discovery:
        Hardware revision 1.0           Board revision H0
        Serial number     28218311      Part number    800-03704-02
        Test history      0x0           RMA number     00-00-00
        EEPROM format version 1
        EEPROM contents (hex):
          0x20: 01 9C 01 00 01 AE 93 C7 50 0E 78 02 00 00 00 00
          0x30: 88 00 00 00 02 05 08 17 FF FF FF FF FF FF FF FF

机箱P/N 在机器背面。模块号根据不同有的可以show diag 看到。

CISCO 2600及模块的序列号  

结论:很奇怪 ,CISCO2600的外机箱必须要到机箱后面去抄。模块和WIC卡都可以通过SHOW DIAG的输出得到。  

注意:同样,输出中,并不能直接提供出模块的P/N,所以同样要按照LISTPRICE上的描述进行登记。
5)对GSR线卡P/N号的查找

用show diag输出可以看到线卡的P/N号,如:
==============================
sh diag
SLOT 0 (RP/LC 0 ): 4 Port Packet Over SONET OC-3c/STM-1 Single Mode
MAIN: type 33, 800-2389-02 rev M0 dev 16777215
HW config: 0x00 SW key: FF-FF-FF
PCA: 73-2275-05 rev H0 ver 4
HW version 1.1 S/N CAB041890EF
MBUS: MBUS Agent (1) 73-2146-07 rev B0 dev 0
HW version 1.2 S/N CAB04178VID
Test hist: 0xFF RMA#: FF-FF-FF RMA hist: 0xFF
DIAG: Test count: 0xFFFFFFFF Test results: 0xFFFFFFFF
FRU: Linecard/Module: LC-4OC3/POS-SM=
Route Memory: MEM-GRP/LC-256=
Packet Memory: MEM-LC-PKT-128=
L3 Engine: 0 - OC12 (622 Mbps)
MBUS Agent Software version 01.4D (RAM) (ROM version is 01.33)
Using CAN Bus A
ROM Monitor version 10.00
Fabric Downloader version used 16.02 (ROM version is 16.02)
Primary clock is CSC 1
Board is analyzed
Board State is Line Card Enabled (IOS RUN )
Insertion time: 00:00:23 (34w4d ago)
DRAM size: 268435456 bytes
FrFab SDRAM size: 67108864 bytes
ToFab SDRAM size: 67108864 bytes
0 crashes since restart

在其中的" FRU: Linecard/Module: LC-4OC3/POS-SM= "可以得到线卡P/N。