06-05-2007 03:47 AM
How can I check switch port status on Cisco Switch 3550. I need to know which port on switch is used and if not how long is unused. Can you give me some advices how to resolve my problem? I am beginner in cisco devices.
06-05-2007 03:49 AM
Hi,
Kindly use "show ip interface brief".
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
06-05-2007 04:05 AM
Is that command shows how long each port haven't been useed?
It's most important for me becouse I need to know which cable can I plug off and connect other. I need something based on SNMP.
06-05-2007 04:14 AM
Hi,
If you do "show ip interface x" it will display a Last input value, i think that this is the value you need, i haven't tried it via SNMP, but i am sure that it can be done.
HTH,
Mohammed Mahmoud.
06-05-2007 04:30 AM
Meaby I need some script to check that value and write it to database? If I check last value it is not usefull for me, I have to write values for e.g. 2 weeks
06-06-2007 06:33 AM
Assuming IOS, you can determine the status of ports by checking ifOperStatus and ifAdminStatus jointly. Of course, if you have Campus Manager of the CiscoWorks LMS bundle, it makes it easier, especially for answering the "how long it's been unused" question.
06-07-2007 11:54 PM
Can someone help me to get that information using ifoperStatus?
How to write this command to get information about which ports are down and sent it to file.
I wrote something like that but it shows me all port's status. how to write it properly?
snmptable -v 1 -c public 149.156.203.25 ifTable |awk '{print$2$8$9}' |more
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide