Showing posts with label CLI. Show all posts
Showing posts with label CLI. Show all posts

Monday, November 7, 2016

How to remotely view serial numbers in a Cisco switch

Putty in to the switch and run the following command to read the chassis serial number:

show sprom backplane

Run the following command to read card serial numbers:

show module


Tuesday, October 11, 2016

How to list active and inactive ports on Cisco switches

show int status will display all ports and their status
show int status | inc notconnect will display all ports that are currently inactive
show int status | inc connect will display all ports that are currently active
show int link will display all ports and how long they've been inactive
show int link | exc 00 will display all ports that are currently inactive and the duration of how long they've been inactive

Thursday, September 19, 2013

How to find IP address and port of device attached to a CISCO switch

Connect to the switch

ping 192.168.1.x -- ping device
show ip arp | inc 192.168.1.x -- look for the mac address
show mac-address-table | Inc 0000.2222.3333 -- use mac address from the ARP table

The result will be something like this

192.168.1.x    00:17:32  0000.2222.3333  e1/10