beautypg.com

Configuring the mac learning limit on ports – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 45

background image

35

Step Command

Remarks

3.

Enter interface view or port group

view.

Enter Layer 2
Ethernet/aggregate

interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

Use either command.
Settings in Layer 2

Ethernet/aggregate interface view
take effect on the interface only.

Settings in port group view take

effect on all member ports in the
port group.

4.

Disable MAC address learning on
the interface or all ports in the port

group.

mac-address mac-learning
disable

Enabled by default.
For configuration about port
groups, see "Configuring Ethernet

interfaces."

Configuring the aging timer for dynamic MAC address entries

The MAC address table uses an aging timer for dynamic MAC address entries for security and efficient

use of table space. If a dynamic MAC address entry has failed to update before the aging timer expires,

the device deletes the entry. This aging mechanism makes sure that the MAC address table could timely

update to accommodate latest network changes.
Set the aging timer appropriately. A long aging interval may cause the MAC address table to retain

outdated entries, exhaust the MAC address table resources, and fail to update its entries to

accommodate the latest network changes. A short interval may result in the removal of valid entries and

unnecessary broadcasts, which may affect device performance.
To configure the aging timer for dynamic MAC address entries:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the aging timer for

dynamic MAC address
entries.

mac-address timer { aging seconds
| no-aging }

Optional.
300 seconds by default.
The no-aging keyword disables the
aging timer.

You can reduce broadcasts on a stable network by disabling the aging timer to prevent dynamic entries

from unnecessarily aging out. By reducing broadcasts, you improve not only network performance, but

also security, because the chances for a data packet to reach unintended destinations are reduced.

Configuring the MAC learning limit on ports

As the MAC address table is growing, the forwarding performance of your device may degrade. To

prevent the MAC address table from getting so large that the forwarding performance is affected, you
can limit the number of MAC addresses that can be learned on a port.
To configure the MAC learning limit on a Layer 2 Ethernet interface, Layer 2 aggregate interface, or all

ports in a port group: