Wired Intelligent Edge

 View Only
last person joined: 6 hours ago 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

Does Aruba CX have layer 2 traceroute?

This thread has been viewed 32 times
  • 1.  Does Aruba CX have layer 2 traceroute?

    Posted Jul 11, 2022 10:10 AM
    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.750b
    Source 0050.5689.750b found on FPSAS01
    1 FPSAS01 (10.128.32.22) : Te1/1/6 => Te1/1/6
    Destination 0050.5689.750b found on FPSAS01
    Layer 2 trace completed​


  • 2.  RE: Does Aruba CX have layer 2 traceroute?

    MVP GURU
    Posted Jul 12, 2022 07:19 AM
    Hi! AFAIK the traceroute features provided by the switch's ArubaOS-CX CLI is limited to IPv4 addresses or hostnames as targets (traceroute <IPv4-address> or traceroute <hostname>), nothing with MAC addresses like in your example.


  • 3.  RE: Does Aruba CX have layer 2 traceroute?

    EMPLOYEE
    Posted Jul 13, 2022 01:44 PM
    Hi there.  With ArubaOS-CX we have traceroute and traceroute6 for IPv4/IPv6 targets but not MAC addresses.  Would such and enhancement be useful?


  • 4.  RE: Does Aruba CX have layer 2 traceroute?

    Posted Jul 13, 2022 02:00 PM
    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.


  • 5.  RE: Does Aruba CX have layer 2 traceroute?

    EMPLOYEE
    Posted Jul 13, 2022 02:13 PM
    Thank you for the write up.  We will submit this request to product management for a future release.


  • 6.  RE: Does Aruba CX have layer 2 traceroute?

    Posted Jul 24, 2022 06:58 AM

    L2 is point to point in the OSi model,

    The sh, commands:

    The LLDP / CDP / mac-address; will do the trick !




  • 7.  RE: Does Aruba CX have layer 2 traceroute?

    Posted Jul 25, 2022 08:35 AM
    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     Po6
    FPCORE1#tra
    FPCORE1#traceroute mac ac1f.6bc3.1054 ac1f.6bc3.1054
    Source ac1f.6bc3.1054 found on FPSAS01
    1 FPSAS01 (10.128.32.22) : Tw1/0/25 => Tw1/0/25
    Destination ac1f.6bc3.1054 found on FPSAS01
    Layer 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:e8
    MAC age-time            : 300 seconds
    Number of MAC addresses : 1
    
    MAC Address          VLAN     Type                      Port      
    --------------------------------------------------------------
    28:29:86:30:91:e8    2        dynamic                   lag101   ​



  • 8.  RE: Does Aruba CX have layer 2 traceroute?

    Posted Jul 25, 2022 09:10 AM

    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  




  • 9.  RE: Does Aruba CX have layer 2 traceroute?

    Posted Jul 25, 2022 10:20 AM
    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.

    If this is an aruba core, I have to:
    1. find the mac and the lag port it's on.
    2. determine the switch on the other end of the lag
    3. connect to the other switch
    4. find the mac and the port its on.