06-17-2008 08:58 PM - edited 03-03-2019 10:23 PM
Hi, I have a Cisco switch: WS-C2970G-24T-E and my question is how could we know which ports are available by getting a list of last connection on all ports.
Is there any command we can type in telnet session?
Thank you.
Louis
06-23-2008 06:41 AM
"show port" is the command which will provide the detailed information about all ports present on the switch.
06-23-2008 11:39 AM
I think the 2970 is a ios based switch so it does not know the show port. Show interface status will give a similar display.
This will only tell you what the current condition is not if a port has been used at a previous time
You could do logging or collect snmp up/down trap messages but a quick and dirty way may be to just clear the counters on all the interfaces and then go back and see if they have changed after a period of time.
SHOW INTERFACE STATS will be a little easier to read that a full SHOW INTERFACE when looking at these counters.
06-23-2008 12:05 PM
You can check show interface status command.It gives you more details .
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