MAC address entries cannot be learned on an interface, causing Layer 2 forwarding failures.
Check Item |
Check Method |
Follow-up Operation |
---|---|---|
Has the VLAN that the interface belongs to been created? |
Run the display vlan vlan-id command in any view. If the system displays the message "Error: The VLAN does not exist", the VLAN is not created. |
Run the vlan vlan-id command in the system view to create the VLAN. |
Does the interface transparently transmit packets from the VLAN? |
Run the display vlan vlan-id command in any view to check whether the interface name exists. If the name does not exist, the interface does not transparently transmit packets from the VLAN. |
Run one of the following commands in the interface view to add the interface to the VLAN.
|
Is a blackhole MAC address entry configured? |
Run the display mac-address blackhole command in any view to check whether a blackhole MAC address entry is configured. |
If a blackhole MAC address entry is displayed, run the undo mac-address blackhole command to delete it. |
Is MAC address learning disabled on the interface or in the VLAN? |
Run the display this | include learning command in the interface view and VLAN view to check whether the mac-address learning disable configuration exists. If the configuration exists, MAC address learning is disabled on the interface or in the VLAN. |
Run the undo mac-address learning disable command in the interface view or VLAN view to enable MAC address learning. |
Is MAC address limiting configured on the interface and in the VLAN? |
Run the display this | include mac-limit command in the interface view and VLAN view to check whether MAC address limiting is configured. If it is configured, the maximum number of learned MAC address entries is set. |
|
Is port security configured on the interface? |
Run the display this | include port-security command in the interface view to check whether port security is configured. |
|
If the fault persists, go to step 2.
If the fault persists, go to step 3.
Scenario |
Solution |
---|---|
The interface connects to another network device. |
Run the display mac-address command on the connected device to view MAC address entries. Locate the interface connected to the malicious user host based on the displayed MAC address entries. If the interface that you find is connected to another device, repeat this step until you find the malicious host. |
The interface connects to a host. |
|
The interface connects to a hub. |
|
If the number of MAC addresses that have learned by the device does not reach the maximum number of addresses allowed on the device but MAC addresses still cannot be learned, go to step 4.
L2IFPPI/4/MACHASHCONFLICTALARM: OID [oid] A hash conflict occurs in MAC addresses.(IfIndex=[INTEGER], MacAddr=[OPAQUE], VLAN=[GAUGE], VsiName=[OCTET1], InterfaceName=[OCTET2]).
For details about how to handle this alarm, see L2IFPPI_1.3.6.1.4.1.2011.5.25.315.3.6 hwMacTrapHashConflictAlarm.