- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 07:05 PM - edited 03-08-2019 01:32 PM
Hi, devices B is connected to Nexus7K. After we logon to Nexus7K, based on the output of show ip arp and show mac address-table, we can know Device B is connected to Nexus7K via vlan 100, but vlan 100 have several ports on Nexus7K. How can we know which port in Nexus7K is connected to Device B. Thank you
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 11:14 AM
So the mac is learned via the vpc peer link. Go to the peer switch and try the command. And you might try the option of show mac-address-table mac-address 001c.1111.2222
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 08:01 PM
hi,
if you connected device supporting to cdp protocol then use "show cdp neighbor detail"
you will get details about connected device.
if your connected device not supporting to cdp then try with LLDP protocol. You must be enable lldp on Cisco switch.
show lldp neighbor detail
regards,
deepak Kumar
please vote if this will helpful for you.
sorry for typo.. I am using phone.
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 08:23 PM
Thank you so much for your reply. The device is non-Cisco device. and at this moment, we cannot enable LLDP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 11:37 PM - edited 01-24-2018 12:33 AM
Then you have the only option as you are doing with mac address table "sho mac address-table address 00:00:00:00:00:00" or configure IP reservation for the devices on DHCP server.
Regards,
Deepak Kumar
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 12:28 AM
With show mac address table there is an option to show a particular mac address. That should provide the port number where that particular mac address is connected.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 10:07 AM
After I got mac add by show ip arp, I use command show mac address-table. then i got output like the below in Nexus7K:
N7K-2# sh mac address-table | i 001c.1111.2222
100 001c.1111.2222 dynamic ~~~ F F vPC Peer-Link
100 is vlan number
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 11:14 AM
So the mac is learned via the vpc peer link. Go to the peer switch and try the command. And you might try the option of show mac-address-table mac-address 001c.1111.2222
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 12:29 PM
You are right. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2018 08:16 AM
You are welcome. I am glad that my suggestions pointed you in the right direction. Thank you for marking this question as solved. This will help other readers in the forum to identify discussions which have helpful information.
HTH
Rick
Rick
