Step 2
Verify the configuration.
# Run the
display mac-limit
command in any view to check whether the MAC address limiting
rule is successfully configured.
<Huawei>
display mac-limit
-----------------------------------------------------------------------
PORT VLAN Maximum Action Alarm
-----------------------------------------------------------------------
- 200 500 forward enable
-----------------------------------------------------------------------
----End
Configuration Files
Configuration file of the Router
#
vlan batch 100 200
#
vlan 200
mac-limit maximum 500
#
interface Ethernet2/0/1
port link-type trunk
port trunk allow-pass vlan 100 200
#
interface Ethernet2/0/2
port link-type trunk
port trunk allow-pass vlan 200
#
return
1.8 Common Configuration Errors
This section describes how to process common configuration errors in MAC address entries.
1.8.1 Correct MAC Address Entry Cannot Be Learned on the Device
Fault Description
MAC address entries cannot be learned on the device, so Layer 2 forwarding fails.
Procedure
Step 1
Check that the configurations on the interface are correct.
Run the
display mac-address
command in any view to check whether the binding relationships
between the MAC address, VLAN, and interface are correct.
<Huawei>
display mac-address
-------------------------------------------------------------------------------
MAC Address VLAN/Bridge Learned-From Type
-------------------------------------------------------------------------------
0025-9e80-2494 1/- Eth0/0/1 dynamic
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
1 MAC Address Table Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
26