tracemac
The tracemac command output shows the Layer 2 path connectivity between the current device and the destination device.
Command Syntax
run tracemac destination <mac-address> vlan <vlan-id>
Parameters
Parameter | Description |
destination <mac-address> | Specifies a MAC address. The value is in the format H:H:H:H:H:H. An H contains 2 hexadecimal numbers. MAC address cannot be set to all-0, all-F or multicast address. |
vlan <vlan-id> | Specifies the VLAN ID of the destination MAC. The value is an integer that ranges from 1-4094. |
Example
- Trace MAC destination device with MAC address 20:11:11:11:11:11:11 and belonging to VLAN 100.
admin@PICOS# run tracemac destination 22:11:11:11:11:11 vlan 4094 Hop  Hostname   Ingress port  Ingress mac      Egress port  Egress mac ----- ----------- -------------- ------------     ------------  ------------ 1    PICOS      xe-1/1/1.1    70:72:cf:b7:65:45 te-1/1/5   70:72:cf:b7:65:45 2    PICOS      te-1/1/3      04:f8:f8:20:6c:7b -   04:f8:f8:20:6c:7b
NOTE:
The ingress port in the output of the command only displays the member port of the LAG port.
Copyright © 2024 Pica8 Inc. All Rights Reserved.