I get what you're saying. I'm working on some automation- that given a mac, will return the switch and port it's connected to.
If this was a cisco core, I could run one command to find the info I want.
Original Message:
Sent: Jul 25, 2022 09:10 AM
From: Steinar Grande
Subject: Does Aruba CX have layer 2 traceroute?
Well, as you type two commands:
sh mac add | i ac1f.6bc3.1054
and
traceroute mac ac1f.6bc3.1054 ac1f.6bc3.1054
I type one at the core ARUBA CX:
SWCore# sh mac-address-table | include b0:0c:d1:5d:2b:9e
b0:0c:d1:5d:2b:9e 11 dynamic Lag1
Knowingly what Lag1 means of connected to, :a Access CX
(the Lag1 counter party)
I type one of the two command there:
SW# sh mac-address-table | include b0:0c:d1:5d:2b:9e
b0:0c:d1:5d:2b:9e 11 dynamic 1/1/13
or
SW# sh lldp neighbor-info | include b0:0c:d1:5d:2b:9e
1/1/13 b0:0c:d1:5d:2b:9e b0:0c:d1:5d:2b:9e
Original Message:
Sent: Jul 25, 2022 08:34 AM
From: Brannen Taylor
Subject: Does Aruba CX have layer 2 traceroute?
Hi Steiner,
Thanks for the refresher about L2 & OSI.
Here's a mac on a CISCO core switch, lives on an access switch. I can enter one command, and find the port on the access switch, from the core.
FPCORE1#sh mac add | i ac1f.6bc3.1054 5 ac1f.6bc3.1054 DYNAMIC Po6FPCORE1#traFPCORE1#traceroute mac ac1f.6bc3.1054 ac1f.6bc3.1054Source ac1f.6bc3.1054 found on FPSAS011 FPSAS01 (10.128.32.22) : Tw1/0/25 => Tw1/0/25Destination ac1f.6bc3.1054 found on FPSAS01Layer 2 trace completed
Here's a mac address in a core ARUBA CX that lives on an Access CX. If you can tell me the one command, I can run on the core, to tell me what port it's on - on the access layer, I'd really appreciate it.
SECORE1# sh mac-address-table address 28:29:86:30:91:e8MAC age-time : 300 secondsNumber of MAC addresses : 1MAC Address VLAN Type Port --------------------------------------------------------------28:29:86:30:91:e8 2 dynamic lag101
Original Message:
Sent: Jul 24, 2022 06:57 AM
From: Steinar Grande
Subject: Does Aruba CX have layer 2 traceroute?
L2 is point to point in the OSi model,
The sh, commands:
The LLDP / CDP / mac-address; will do the trick !
Original Message:
Sent: Jul 13, 2022 02:12 PM
From: Corey Dow
Subject: Does Aruba CX have layer 2 traceroute?
Thank you for the write up. We will submit this request to product management for a future release.
Original Message:
Sent: Jul 13, 2022 01:59 PM
From: Brannen Taylor
Subject: Does Aruba CX have layer 2 traceroute?
Absolutely. We're a cisco refugee shop - and this is a "basic function" that Cisco can do, that I'm surprised Aruba doesn't. We have layer 3 outside of our switching environment. So we will do a show arp, find a MAC address, then come find it in the core switches - but cannot easily track it down to an access switch. We see that the mac is on a lag. Then the API won't tell us what ports are in the lag - so we have to manually look at the description of the lag, to figure out what switch it goes to, and then log into the next switch, to see what port the mac address is on.
If Aruba would add layer 2 traceroute - especially through the API - that would be very helpful.
Original Message:
Sent: Jul 12, 2022 06:15 PM
From: Corey Dow
Subject: Does Aruba CX have layer 2 traceroute?
Hi there. With ArubaOS-CX we have traceroute and traceroute6 for IPv4/IPv6 targets but not MAC addresses. Would such and enhancement be useful?
Original Message:
Sent: Jul 11, 2022 10:09 AM
From: Brannen Taylor
Subject: Does Aruba CX have layer 2 traceroute?
Hi all,
We're running CX 10.07.
Does CX have a layer 2 tracroute function like Cisco? Here's the command on a cisco core switch to an access switch:
FPCORE1#traceroute mac 0050.5689.750b 0050.5689.750bSource 0050.5689.750b found on FPSAS011 FPSAS01 (10.128.32.22) : Te1/1/6 => Te1/1/6Destination 0050.5689.750b found on FPSAS01Layer 2 trace completed