1.6.1.3 Setting the Aging Time of Dynamic MAC Address Entries
Context
The network topology changes frequently, and the industrial switch router will learn many MAC
addresses. After the aging time of dynamic MAC address entries is set, the device can delete
unneeded MAC address entries to prevent sharp increase of MAC address entries. A shorter
aging time is applicable to networks where network topology changes frequently, and a longer
aging time is applicable to stable networks.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
mac-address aging-time
aging-time
The aging time of a dynamic MAC address entry is set.
----End
1.6.1.4 Disabling MAC Address Learning
Context
When the industrial switch router with MAC address learning enabled receives an Ethernet
frame, it records the source MAC address and inbound interface of the Ethernet frame in a MAC
address entry. When receiving other Ethernet frames destined for this MAC address, the
industrial switch router forwards the data frames through the outbound interface according to
the MAC address entry. The MAC address learning function reduces broadcast packets on a
network. After MAC address learning is disabled on an interface, the industrial switch router
does not learn source MAC addresses of packets received by the interface.
Configuration Process
l
Disabling MAC address learning in the interface view
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.
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.
11