EasyManua.ls Logo

Huawei AR3200 Series - Optional) Disabling MAC Address Learning

Huawei AR3200 Series
275 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Step 2 Run:
mac-address aging-time aging-time
The aging time is set for dynamic MAC address entries.
By default, the aging time of dynamic MAC address entries is 300 seconds.
----End
6.3.5 (Optional) Disabling MAC Address Learning
Context
Perform the following steps on the AR3200 to disable MAC address learning.
Procedure
l Disabling MAC address learning on an interface
1. Run:
system-view
The system view is displayed.
2. Run:
interface interface-type interface-number
The interface view is displayed.
3. Run:
mac-address learning disable [ action { discard | forward } ]
MAC address learning is disabled on the interface.
By default, MAC address learning is enabled on an interface.
By default, the AR3200 performs the forward action after MAC address learning is
disabled. That is, the AR3200 forwards packets according to the MAC address table.
When the action is configured to discard, the AR3200 matches the source MAC
addresses of packets with the MAC address entries. If the inbound interface and source
MAC address of a packet matches a MAC address entry, the AR3200 forwards the
packet. Otherwise, the AR3200 discards the packet.
l Disabling MAC address learning in a VLAN
1. Run:
system-view
The system view is displayed.
2. Run:
vlan vlan-id
The VLAN view is displayed.
3. Run:
mac-address learning disable
MAC address learning is disabled in the VLAN.
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.
159

Table of Contents

Related product manuals