1-38
z
When using the destination IP address to trace a device, the switch looks up the ARP entry
corresponding to the IP address, and then looks up the MAC address entry according to the ARP
entry.
z
If the queried IP address has a corresponding ARP entry, but the corresponding MAC address of
the IP address does not exist in the MAC address table, the trace of the device fails.
z
To trace a specific device using the
tracemac
command, make sure that all the devices passed
support the
tracemac
function.
z
To trace a specific device in a management VLAN using the
tracemac
command, make sure that
all the devices passed are within the same management VLAN as the device to be traced.
Examples
# Trace the device that belongs to VLAN 1 through its MAC address 00e0-f032-0005.
<aaa_0.Sysname> tracemac by-mac 000f-e232-0005 vlan 1
Tracing MAC address 000f-e232-0005 in vlan 1
1 000f-e232-0001 H3C01 Ethernet1/0/2
2 000f-e232-0002 H3C02 Ethernet1/0/7
3 000f-e232-0003 H3C03 Ethernet1/0/4
4 000f-e232-0005 H3C05 Local
# Trace the device that belongs to VLAN 1 through its IP address 192.168.1.5.
<aaa_0.Sysname> tracemac by-ip 192.168.1.5
Tracing MAC address 000f-e232-0005 in vlan 1
1 000f-e232-0001 H3C01 Ethernet1/0/2
2 000f-e232-0002 H3C02 Ethernet1/0/7
3 000f-e232-0003 H3C03 Ethernet1/0/4
4 000f-e232-0005 H3C05 Local
Enhanced Cluster Feature Configuration Commands
black-list
Syntax
black-list add-mac mac-address
black-list delete-mac
{
all
|
mac-address
}
View
Cluster view
Parameters
mac-address
: MAC address of the device to be added to the blacklist. The format is
H-H-H
, for example,
0100-0498-e001.
all
: Deletes all MAC address in the current cluster blacklist.