General cmd and note’s

Get report on unused ports
sh int | inc line protocol is|Last input

Get ports that have been un-used for the last 6 weeks or more
show int | i line protocol|Last in.* [6-9]w|Last in.*[0-9][0-9]w|[0-9]y|disabled|Last input never, output never, output hang never

Get status (speed & dublex) of connected ports
sh interfaces status | inc connected

show all interface (either starting with Gig or Fast) and are in a status of down
sh ip interface brief | inc ^(Gig|Fast)(.*)down

show all interface (either starting with Gig or Fast) and are in a status of up
sh ip interface brief | inc ^(Gig|Fast)(.*)up

Show all etherchannel and there associated interface with the port-channel
show etherchannel summary

Show loadbalancing algorithm used by each etherchannel
show etherchannel load-balance

Tags: ,

About Alexis Katsavras

Working as Freelance Cisco Unified Communications Consultant in the UK. www.NetPacket.co.uk