When buying a Cisco Switch from Ebay…

Whenever I buy a switch off of Ebay, I always check all the switch ports if they are working or not.
The way I do it, I use the router’s fastethernet port and connect it to each switch port then I will ping the switch’s vlan ip address from the router.  If I get “!!!!!”, then the port is working fine.  If I get the “…..”, then the port is either dead or has problem.

The thing is if the switch has 24 or 48 ports it will take some time to check all ports, so what I always do I added some extra configuration on the switch.

Switch#configure terminal
Switch(config)#int vlan 1
Switch(config-if)#ip address 10.1.1.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#interface range fastethernet 0/1 – 48
Switch(config-if-range)#switchport
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#exit
Switch(config)#spanning-tree portfast default
Switch(config)#interface vlan 1

On the router, I just address the ip address 10.1.1.2/24 on fastethernet 0/0 then ping each switch ports. With portfast configure, I can ping the switch port once I connect the network cable to each port.

It took me less than five minutes to verify all the 48 ports 🙂

Hope this helps

Advertisements

About networkshinobi

This blog is about the things I learned about computers and networking to help me to remember them as I push further my studies. I created this blog to help myself to continue my education; and if you find this blog helpful for your studies, that is great. That is one of the reasons why I made this blog, to share my interest and knowledge. Also, all the entries/posts I made are based on my views, opinion and for educational purposes only. If you see some mistakes, feel free to drop some comments. I would appreciate all the helpful comments. Thanks
This entry was posted in Misc. and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s