Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Which command shows a list of last connections on a switch?

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

3 REPLIES
Bronze

Re: Which command shows a list of last connections on a switch?

"show port" is the command which will provide the detailed information about all ports present on the switch.

Gold

Re: Which command shows a list of last connections on a switch?

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.

New Member

Re: Which command shows a list of last connections on a switch?

You can check show interface status command.It gives you more details .

114
Views
0
Helpful
3
Replies
CreatePlease to create content