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

IOS XR command to display ethernet address of directly connected layer 2 device

tlewisflood
Level 1
Level 1

When trying to answer questions about which cable is connected to which port on my asr9k, I'm struggling to figure out how to show the mac address on the other side of a port for identification purposes.

3 Replies 3

Marvin Rhoads
Hall of Fame
Hall of Fame

"show arp" and correlate that with the IP address that you already have.

http://www.cisco.com/c/en/us/td/docs/routers/xr12000/software/xr12k_r4-1/addr_serv/command/reference/b_ipaddr_cr41xr12k/b_ipaddr_cr41xr12k_chapter_010.html#wp2336919595

Hey there Marvin. Thanks, but show arp doesn't get me what I'm looking for. this device doesn't have an ip address, so there's no ip to resolve.

I'm looking for the equivalent of show port (or similar) from like a 6500 switch. 

That does complicate things. A quick search turned up 

show l2vpn forwarding bridge-domain mac-address

Reference: http://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-2/lxvpn/command/reference/b_vpn_cr42crs/b_vpn_cr42crs_chapter_010.html#wp1320972444

It does presume the port is in a L2VPN though.

If it's a mystery port not in production, you could always put an analyzer on it (Like a Fluke).