cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
3
Replies

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

louiscyr11
Level 1
Level 1

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 3

hadbou
Level 5
Level 5

"show port" is the command which will provide the detailed information about all ports present on the 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.

rohan.jhaveri
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card