Operation Manual – Stack-Cluster
H3C S3100 Series Ethernet Switches
Chapter 2 Cluster
2-9
Note:
z
By default, the management VLAN interface is used as the network management
interface.
z
There is only one network management interface on a management device; any
newly configured network management interface will overwrite the old one.
VI. Tracing a device in a cluster
In practice, you need to implement the following in a cluster sometimes:
z
Know whether there is a loop in the cluster
z
Locate which port on which switch initiates a network attack
z
Determine the port and switch that a MAC address corresponds to
z
Locate which switch in the cluster has a fault
z
Check whether a link in the cluster and the devices on the link comply with the
original plan
In these situations, you can use the
tracemac
command to trace a device in the cluster
by specifying a destination MAC address or IP address.
The procedures are as follows:
1)
Determine whether the destination MAC address or destination IP address is used
to trace a device in the cluster
z
If you use the
tracemac
command to trace the device by its MAC address, the
switch will query its MAC address table according to the MAC address and VLAN
ID in the command to find out the port connected with the downstream switch.
z
If you use the
tracemac
command to trace the device by its IP address, the switch
will query the corresponding ARP entry of the IP address to find out the
corresponding MAC address and VLAN ID, and thus find out the port connected
with the downstream switch.
2) After finding out the port connected with the downstream switch, the switch will
send a multicast packet with the VLAN ID and specified hops to the port. Upon
receiving the packet, the downstream switch compares its own MAC address with
the destination MAC address carried in the multicast packet:
z
If the two MAC addresses are the same, the downstream switch sends a response
to the switch sending the
tracemac
command, indicating the success of the
tracemac
command.
z
If the two MAC addresses are different, the downstream switch will query the port
connected with its downstream switch based on the MAC address and VLAN ID,
and then forward the packet to its downstream switch. If within the specified hops,
a switch with the specified destination MAC address is found, this switch sends a
response to the switch sending the
tracemac
command, indicating the success of
the
tracemac
command. If no switch with the specified destination MAC address