Campus Switching and Routing

Reply
Occasional Contributor II

How can I find out what device is connected to a particular port on an S2500 switch?

I am looking for a way to identify mac or IP addresses of devices on a particular switch port.

Guru Elite

Re: How can I find out what device is connected to a particular port on an S2500 switch?

show user-table | include 0/0/1
show mac-address-table | include 0/0/1

Sent from Windows Mail

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480

Re: How can I find out what device is connected to a particular port on an S2500 switch?

After obtaining the MAC you can get the IP if the S2500 is performing routing or if it has a vlan interface in the same VLAN as the client.

 

(controller)# show arp | inc <mac>

=======================================
If a reply adequately addresses your issue, please click on the "Accept as Solution" and "Give Kudos" button so this information can benefit other users.
Aruba Employee

Re: How can I find out what device is connected to a particular port on an S2500 switch?

if the device connected to port supports LLDP or CDP, 

 

try "show neighbour".

 

#show neigh

Capability codes: (R)Router, (B)Bridge, (A)Access Point, (P)Phone, (S)Station
(r)Repeater, (O)Other
Neighbor Devices Information
----------------------------
Local Intf Chassis ID Protocol Capability Remote Intf Expiry (Secs) System Name
---------- ---------- -------- ---------- ----------- ------------- -----------
GE0/0/44 6c:f3:7f:c4:0b:5c LLDP B:A 6c:f3:7f:c4:0b:5c 108 6c:f3:7f:c4:0b:5c
GE0/0/47 00:0b:86:6a:b2:40 LLDP B:R gigabitethernet0/0/11 99 LAB-INSTANT

Number of neighbors: 2

Vinod Kumaar AVM ACMX, ACDX
Principal Network Engineer
Customer Advocacy | Aruba Networks Inc.

Did something you read in the Community solve a problem for you? If so, click "Accept as Solution" in the bottom right hand corner of the post.
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: