1-38
View
Any view
Parameters
by-mac
: Specifies to trace a device through the specified destination MAC address.
mac-address
: MAC address of the device to be traced.
vlan vlan
-
id
: Specifies to trace a device in the specified VLAN.
vlan-id
ranges from 1 to 4094.
by-ip
: Specifies to trace a device through the specified destination IP address.
ip-address
: IP address of the device to be traced.
nondp
: Specifies not to check the NDP neighbor information.
Description
Use the
tracemac
command to trace a device in a cluster through the specified destination MAC
address or IP address, and to display the path from the current device to the destination device.
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 3Com01 Ethernet1/0/2
2 000f-e232-0002 3Com02 Ethernet1/0/7
3 000f-e232-0003 3Com03 Ethernet1/0/4
4 000f-e232-0005 3Com05 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 3Com01 Ethernet1/0/2
2 000f-e232-0002 3Com02 Ethernet1/0/7
3 000f-e232-0003 3Com03 Ethernet1/0/4
4 000f-e232-0005 3Com05 Local
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...