04-03-2017 08:13 AM - edited 03-08-2019 10:02 AM
i want to know the switch name and port number of my host X, with mac add 0011.23av.cd00. there are over 20 switches connect the aggregation switch,
I search in below aggregation switch, now how to identify which access level switch having this host attached, in vl 1253, there are over 10 port channels and 30 ports assigned, thus difficult to identify, can anyone help?
Legend:
* - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC
age - seconds since last seen,+ - primary entry using vPC Peer-Link
VLAN MAC Address Type age Secure NTFY Ports/SWID.SSID.LID
---------+-----------------+--------+---------+------+----+------------------
1253 0011.23av.cd00 dynamic 60 F F vPC Peer-Link
04-03-2017 08:21 AM
There is not an easy way to identify the switch and port to which a specific host is connected when there are 20 access switches connected to the aggregation switch. Basically what you need to do is to start with the output of show mac address table which you post, identify the interface through which this switch would access the mac address, identify what switch is connected to this interface, go to that switch and repeat the process (show mac address table for the specific mac address, identify the interface used, identify what is connected to that interface), and work hop by hop till you get to the switch where the host is connected.
HTH
Rick
04-03-2017 09:35 AM
for normal switch, i am able to trace, but since this is nexus, learned from peer link, i have no clue to find the interface, can anyone help
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