address table of the AR3200 may be full. When the MAC address table is full, the AR3200
cannot learn the source MAC addresses in the valid packets.
The AR3200 can limit the number of MAC addresses on an interface, or a VLAN. When the
number of learned MAC entries reaches the limit, the AR3200 discards or forwards the packets
with unknown source MAC addresses. In addition, the AR3200 sends a trap if it is configured
to do so. By using the port security and sticky MAC functions, you can flexibly control the
number of access users and prevent hackers from using MAC addresses to attack user devices
or networks.
6.3 Configuring the MAC Address Table
This section describes how to configure the static entries, blackhole entries, and dynamic entries
for a MAC address table.
6.3.1 Establishing the Configuration Task
Applicable Environment
Depending on the situations at your site, you can:
l
Configure static MAC address entries so that packets with specified destination MAC
addresses are forwarded through specified outbound interfaces.
l
Configure blackhole MAC address entries to discard the packets with the specified
destination MAC addresses or source MAC addresses to. Blackhole MAC address entries
prevent invalid MAC address entries from consuming the capacity of the MAC address
table, and prevent hackers from using MAC addresses to attack user devices or networks.
l
Change the aging time of dynamic MAC address entries to prevent an explosive increase
in MAC address entries.
Pre-configuration Tasks
None.
Data Preparation
To configure the MAC address table, you need the following data.
No.
Data
1
(Optional) Destination MAC address, outbound interface number, and VLAN ID of
the outbound interface on the destination device
2
(Optional) Aging time of dynamic MAC address entries
6.3.2 Creating a Static MAC Address Entry
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
6 MAC Address Table Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
157