![Huawei AR3200 Series Скачать руководство пользователя страница 177](http://html.mh-extra.com/html/huawei/ar3200-series/ar3200-series_configuration-manual-lan_169302177.webp)
Data Preparation
To configure the limitation on MAC address learning, you need the following data.
No.
Data
1
(Optional) Rules for limiting MAC address learning on an interface or VLAN
6.5.2 Limiting MAC Address Learning on an Interface
Context
Perform the following steps on the AR3200 to limit MAC address learning on an interface.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
mac-limit
maximum
max-number
The maximum number of MAC addresses learned on the interface is set.
By default, MAC address learning is not limited.
Step 4
Run:
mac-limit
action
{
discard
|
forward
}
The action to be taken on the packets when the number of learned MAC addresses reaches the
limit is set.
By default, the packets received after the number of learned MAC addresses reaches the limit
are directly discarded.
Step 5
Run:
mac-limit
alarm
{
disable
|
enable
}
The alarm generated when the number of learned MAC addresses reaches the limit is enabled
or disabled.
By default, an alarm is generated when the packets received after the number of learned MAC
addresses reaches the limit.
----End
6.5.3 Limiting MAC Address Learning Based on VLANs
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.
166