Thursday, January 29, 2009

Taking Inventory on Cisco Devices

Have you ever wanted to quickly identify your router or switch platform as well as it's installed modules and the serial numbers of each? Well there is a simple command that you can use to access all of this data on a Cisco IOS device:

Router#sh inventory raw
NAME: "Chassis", DESCR: "Cisco 7206VXR, 6-slot chassis"PID: CISCO7206VXR , VID: , SN: 4294967295
NAME: "I/O and CPU Slot 0", DESCR: "I/O and Processor Slot Container"PID: , VID: , SN:
NAME: "NPE400 0", DESCR: "Cisco 7200VXR Network Processing Engine NPE-400"PID: NPE-400 , VID: , SN: 11111111
NAME: "NPE Inlet Temperature 0", DESCR: "NPE Inlet Temperature Sensor"PID: , VID: , SN:
NAME: "NPE Outlet Temperature 0", DESCR: "NPE Outlet Temperature Sensor"PID: , VID: , SN:
NAME: "+3.45 V Voltage 0", DESCR: "+3.45 V Voltage Sensor"PID: , VID: , SN:
NAME: "+5.15 V Voltage 0", DESCR: "+5.15 V Voltage Sensor"PID: , VID: , SN:
NAME: "+12.15 V Voltage 0", DESCR: "+12.15 V Voltage Sensor"PID: , VID: , SN:
NAME: "-11.95 V Voltage 0", DESCR: "-11.95 V Voltage Sensor"PID: , VID: , SN:
NAME: "module 0", DESCR: "I/O FastEthernet (TX-ISL)"PID: C7200-IO-FE-MII/RJ45=, VID: , SN: 4294967295
NAME: "Flash Card Slot Container I/O 0", DESCR: "Flash Card Slot Container I/O"PID: , VID: , SN:
NAME: "disk0", DESCR: "Cisco 7200 I/O PCMCIA Flash Disk, 64M"PID: MEM-I/O-FLD64M , VID: , SN:
NAME: "I/O Cont Inlet Temperature 0", DESCR: "I/O Cont Inlet Temperature Sensor"PID: , VID: , SN:
NAME: "I/O Cont Outlet Temperature 0", DESCR: "I/O Cont Outlet Temperature Sensor"PID: , VID: , SN:
NAME: "FastEthernet0/0", DESCR: "DEC21140"PID: , VID: , SN:
NAME: "PA Slot 1", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PA Slot 2", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PA Slot 3", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PA Slot 4", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PA Slot 5", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PA Slot 6", DESCR: "PA Slot Container"PID: , VID: , SN:
NAME: "PEM 0", DESCR: "Power Supply Container"PID: , VID: , SN:
NAME: "Power Supply 1", DESCR: "Cisco 7200 AC Power Supply"PID: PWR-7200-AC , VID: , SN:
NAME: "PEM 1", DESCR: "Power Supply Container"PID: , VID: , SN:
NAME: "Power Supply 2", DESCR: "Cisco 7200 AC Power Supply"PID: PWR-7200-AC , VID: , SN:

Wednesday, January 28, 2009

Reply From Brian McGahan (Internetowk Expert) on my RIP Supernet issue

This summary is not available. Please click here to view the post.

Disabling Password Recovery For The Router

Sometimes you may come across a situation where you want to disable password recovery feature on Router to protect it against the Physical Security Violations. In such situation one should prefer to disable password recovery on router. Following in the hidden command to disable password recovery feature on router, I am saying this a hidden command because if you use IOS help to find this command than you won't find any keyword or other help.

R1(config)#no service password-recovery
Password recovery disable mode is not supported by the
current ROMMON.Please upgrade the ROMMON if you want to use this feature.

As you can see the alert message generated after running this command, you may need to upgrade ROMMON codes of your router to facilitate it with this awesome feature.

Best Regards,
Deepak Arora

BGP Filtering - Which method is going to take preference over other ?

For inbound updates the order of preference is:
1. route-map
2. filter-list
3. prefix-list, distribute-list

For outbound updates the order of preference is:
1. prefix-list, distribute-list
2. filter-list
3. route-map

Best Regards,
Deepak Arora

QOS order of operation

From Cisco's Website I got this important inputs on QOS order of operation:


Inbound
1. QoS Policy Propagation through Border Gateway Protocol (BGP) (QPPB)
2. Input common classification
3. Input ACLs
4. Input marking (class-based marking or Committed Access Rate (CAR))
5. Input policing (through a class-based policer or CAR)
6. IP Security (IPSec)
7. Cisco Express Forwarding (CEF) or Fast Switching

Outbound
1. CEF or Fast Switching
2. Output common classification
3. Output ACLs
4. Output marking
5. Output policing (through a class-based policer or CAR)
6. Queueing (Class-Based Weighted Fair Queueing (CBWFQ) and Low Latency Queueing (LLQ)), and Weighted Random Early Detection (WRED)

Best Regards,
Deepak Arora