I couldn't help but throw these all in together as they are equally informative Cisco commands. The show platform command is quite different when run on a switch compared to the router's output, but, it's still a handy command.
Sh ver -
This seemingly harmless command will give you a ton of info:
Uptime
IOS image version
Hardware model
Modules installed
Memory info
Serial number
Switch stack info
Current configuration register setting
How the system was last started (reload command, power-on, etc.)
What, you wanted more?? Sheesh!
router1# s ver
Cisco IOS Software, 2800 Software (C2800NM-IPSERVICESK9-M), Version 12.4(24)T3, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 21-Jul-10 08:43 by prod_rel_team
ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
router1 uptime is 19 hours, 21 minutes
System returned to ROM by reload at 16:03:11 CDT Tue Jun 21 2011
System restarted at 16:07:38 CDT Tue Jun 21 2011
System image file is "flash:c2800nm-ipservicesk9-mz.124-24.T3.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Blah, blah, blah....
If you require further assistance please contact us by sending email toexport@cisco.com.
Cisco 2821 (revision 53.50) with 237568K/24576K bytes of memory.
Processor board ID FDX1398A2GD
2 Gigabit Ethernet interfaces
1 Serial interface
2 Virtual Private Network (VPN) Modules
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2102
Sh inventory -
Obviously, this command gives you some great detailed info about your hardware, too:
router1# sh inventory
NAME: "2821 chassis", DESCR: "2821 chassis"
PID: CISCO2821 , VID: V03 , SN: FDX1398A2GD
NAME: "WAN Interface Card - DSU/CSU T1 Fractional (V2) on Slot 0 SubSlot 2", DESCR: "WAN Interface Card - DSU/CSU T1 Fractional (V2)"
PID: WIC-1DSU-T1-V2 , VID: 1.2, SN: FO730343CHD
NAME: "WAN Interface Card - DSU/CSU T1 Fractional (V2) on Slot 0 SubSlot 3", DESCR: "WAN Interface Card - DSU/CSU T1 Fractional (V2)"
PID: WIC-1DSU-T1-V2 , VID: 1.2, SN: FO730380RTG
NAME: "Virtual Private Network (VPN) Module on Slot 0", DESCR: "Encryption AIM Element"
PID: AIM-VPN/SSL-2 , VID: V01, SN: FOC1104K58T
Sh platform -
I do use this command more on the router than the switches. Notice how you can see that Dimm 1 slot is empty? That could be handy when you are needing to upgrade multiple devices:
router1# sh platform
2821 Network IO Interrupt Throttling:
throttle count=1040, timer count=1
throttle counts= 1040 0 0 0 0
active=0, configured=1
netint usec=20000, netint mask usec=1000
real netint usec=4000, real netint mask usec=200
IO Mask is F34F
Per Slot Intr Mask is F34F
2821 Backplane EEPROM:
PCB Serial Number : FOC11090U7R
Hardware Revision : 1.0
Top Assy. Part Number : 800-26921-02
Board Revision : A0
Deviation Number : 0
Fab Version : 03
RMA Test History : 00
RMA Number : 0-0-0-0
RMA History : 00
Processor type : 87
Hardware date code : 20070302
Chassis Serial Number : FTX1111A3FV
Chassis MAC Address : 001b.534f.7d98
MAC Address block size : 32
CLEI Code : COM3D00BRA
Product (FRU) Number : CISCO2821
Part Number : 73-8853-04
Version Identifier : V03
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF C1 8B 46 4F 43 31 31 30 39 30 55 37 52 40
0x10: 03 E8 41 01 00 C0 46 03 20 00 69 29 02 42 41 30
0x20: 88 00 00 00 00 02 03 03 00 81 00 00 00 00 04 00
0x30: 09 87 83 01 32 3F 9E C2 8B 46 54 58 31 31 31 31
0x40: 41 33 46 56 C3 06 00 1B 53 4F 7D 98 43 00 20 C6
0x50: 8A 43 4F 4D 33 44 30 30 42 52 41 CB 8F 43 49 53
0x60: 43 4F 32 38 32 31 20 20 20 20 20 20 82 49 22 95
0x70: 04 89 56 30 33 20 D9 02 40 C1 FF FF FF FF FF FF
TLB entries :
Size Virt Address range Phy Address range Attributes
16M 0x40000000:0x41FFFFFF 0x00000000:0x01FFFFFF CacheMode=3, RO, Valid
16M 0x42000000:0x43FFFFFF 0x02000000:0x03FFFFFF CacheMode=3, RO, Valid
256K 0x44000000:0x4407FFFF 0x04000000:0x0407FFFF CacheMode=3, RO, Valid
256K 0x44080000:0x440FFFFF 0x04080000:0x040FFFFF CacheMode=3, RO, Valid
256K 0x44100000:0x4417FFFF 0x04100000:0x0417FFFF CacheMode=3, RO, Valid
64K 0x44180000:0x4419FFFF 0x04180000:0x0419FFFF CacheMode=3, RO, Valid
64K 0x441A0000:0x441BFFFF 0x041A0000:0x041BFFFF CacheMode=3, RW, Valid
64K 0x441C0000:0x441DFFFF 0x041C0000:0x041DFFFF CacheMode=3, RW, Valid
64K 0x441E0000:0x441FFFFF 0x041E0000:0x041FFFFF CacheMode=3, RW, Valid
1M 0x44200000:0x443FFFFF 0x04200000:0x043FFFFF CacheMode=3, RW, Valid
Dimm 0 SPD data :
Size of dimm = 256 Megabytes
Memory Type = 0x7
Row Addresses = 0xD
Column Address = 0xA
Module Rows = 0x1
Data Width = 0x48
Voltage Interface = 0x4
Cycle Time = 0x75
Access Time = 0x75
Configuration Type = 0x2
Refresh Rate/Type = 0x82
Primary Width = 0x8
Error Width = 0x8
Minimum Clock Delay = 0x1
Burst Lengths = 0xE
Number of Banks = 0x4
Cas Latencies = 0xC
Write Latency = 0x2
Module Attributes = 0x20
General Attributes = 0x0
Min Cycle Time, CAS of 2 = 0xA0
Access Clock Cycle, CAS of 2 = 0x75
Min Cycle Time, CAS of 1 = 0x0
Access Clock Cycle, CAS of 2 = 0x0
Row Precharge = 0x50
Row Active to Row Active = 0x3C
RAS CAS Delay = 0x50
Ras Pulse Width = 0x2D
Row Density = 0x40
Vendor Id = 7FA8000000000000
Module Part Number = CIS00-21077-414IC
Module Revision Code = 0100
SPD contents (hex):
0x00: 80 08 07 0D 0A 01 48 00 04 75 75 02 82 08 08 01
0x10: 0E 04 0C 01 02 20 00 A0 75 00 00 50 3C 50 2D 40
0x20: 90 90 50 50 00 00 00 00 00 41 4B 34 32 75 00 00
0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 38
0x40: 7F A8 00 00 00 00 00 00 01 43 49 53 30 30 2D 32
0x50: 31 30 37 37 2D 34 31 34 49 43 20 01 00 06 48 10
0x60: D7 11 00 53 69 6D 70 6C 65 54 65 63 68 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Dimm 1 SPD data :
Memory Slot Empty
System RTC device = DS1337
How about this one, ever wish you could see the LEDs on your router miles away? Try this:
router1# sh platform led
LED : SYSTEM AUX ACT CF
STATUS : GREEN BLACK GREEN BLACK
LED : AIM0 AIM1
STATUS : GREEN BLACK
LED : PVDM0 PVDM1 PVDM2
STATUS : BLACK BLACK BLACK
Ethernet LEDs : GE0/0 GE0/1
Link : GREEN BLACK
Speed 10 : BLACK BLACK
Speed 100 : GREEN BLACK
Speed 1000 : BLACK BLACK
Duplex : GREEN BLACK
Some of the acronyms from above:
SYSTEM= power
AUX= rps power
ACT= activity
CF= flash memory being accessed
AIM0= advanced integration modules (i.e.,T1 card)
PVDM0= packet voice data modules
Back to Top Ten Cisco IOS Commands
No comments:
Post a Comment