L2traceroute – Brocade Network OS Command Reference v4.1.0 User Manual
Page 447
Network OS Command Reference
409
53-1003115-01
l2traceroute
2
l2traceroute
This command sends a simple traceroute from the source MAC address to the destination MAC
address. This command is not supported in the standalone mode.
Synopsis
l2traceroute
Operands
None
Defaults
None
Command Modes
Privileged EXEC mode
Description
Use this command to send a plain Layer 2 traceroute, hop by hop, from the switch that learned the
source MAC address to the switch that learned the destination MAC address. The IP parameters
included in the l2traceroute command allow for generating frames with similar properties as the
ones generated from a connected device, thus traversing the same path through the fabric.
Usage Guidelines
This command does not support operands. You are prompted for the required information after
you enter the l2traceroute command.
Configuration results depend on the configuration parameters specified. The following fields
display when you enter the l2traceroute command:
•
Source MAC address—Enter the source MAC address. The MAC address must be a valid MAC
address that exists in the mac-address-table.
•
Destination MAC address—Enter the destination MAC address. The MAC address must be a
valid MAC address that exists in the mac-address-table.
•
Vlan—Enter the VLAN number. On the Brocade VDX family of switches, VLANs are treated as
interfaces from a configuration point of view. By default, all the DCB ports are assigned to
VLAN 1 (VLAN ID equals 1). Valid VLAN IDs are as follows:
•
On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.
•
On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.
•
Edge rbridge-id—Enter the edge RBridge ID on which the l2traceroute command is to run.
•
Extended commands—Enter Y to enable extended commands, which include protocol type (IP
or FCoE), source IP address, destination IP address, IP protocol type (TCP or UDP), source port
number, and destination port number.
Based on the input for Extended commands, if you enter Y, the parameters branch as follows:
•
Protocol Type [IP]—Enter the protocol type. You must select the IP including.
•
Source IP address—Enter the source IP address.
•
Destination IP address—Enter the destination IP address.