cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1296
Views
0
Helpful
1
Replies

Any command get port info

HoangNguyen7687
Level 1
Level 1

Which command that I use to get switch port info such as IP, where it connected from. Thank you.

1 Reply 1

pieterh
VIP
VIP

I'm not sure I understand your question correctly

a switchport operates at  Layer-2 (not Layer-3) and as such  a switchport has "no knowledge" about IP-addresses.

 

you can use "show mac address-table interface <interfacename>" to see MAC adresses

you can use "show ip interfaces brief" to show adresses configured on this switch

you can use "show users" to see information about users that are connected to the management address of this switch.

Review Cisco Networking for a $25 gift card