Layer 2 Traceroute

glitchlist Blog Leave a Comment

There are some nightmares that could torment the life of an access network, one of them is the MAC FLAPPING.

as a loop condition or sometimes rogue devices installation, you will spend your day chasing mac addresses around your network.

this great function on switches firmwares can Help!

#Cisco

C3750X_LAB#traceroute mac ip 10.99.0.56 10.98.0.63 detail 
Translating IP to mac ..... 
10.99.0.56 => 0006.5b81.a86e
10.98.0.63 => 0006.5b47.44a3

Source 0006.5b81.a86e found on C3750X_LAB[WS-C3750X-48] (192.168.69.101)
1 C3750X_LAB / WS-C3750X-48 / 192.168.69.101 :
                Po25 [auto, auto] => Po28 [auto, auto]
Destination 0006.5b47.44a3 found on C3750X_LAB[WS-C3750X-48] (192.168.69.101)
Layer2 trace completed.


#Huawei

[HW5720EI_LAB]trace mac enable 
[HW5720EI_LAB]trace mac 346a-c223-1449 vlan 1
Tracing the route to 346a-c223-1449 over a maximum of 255 hops:
 Hops  Ingress MAC    Ingress Port                Ingress Action    Relay Action
       Egress MAC     Egress Port                 Egress Action     
 1     346a-c223-1449 XGigabitEthernet0/0/2       IngOK             RlyHit
       --             --                          --     
Info: Succeed in tracing the destination address 346a-c223-1449.


#HP

[HP_A7510_LAB]display mac-address  (hahahahahha....)

On Huawei switches trace mac enable must be enable on all access devices.

enjoy,

.glitchlist crew

Leave a Reply

Your email address will not be published. Required fields are marked *