Friday, 6 March 2026

traceroute but for layer 2

I was dealing with an issue where a layer 2 trunk was one way. The fix was to make sure the vlan was allowed on the trunk in both directions

Came across this useful command to trace the L2 path as normal traceroute uses L3 routes.


x is src mac

y is dst mac (i used the mac on the vlan interface for vlan 33, got with show arp)

traceroute mac xxxx.xxxx.xxxx yyyy.yyyy.yyyy vlan 33

No comments:

Post a Comment