beautypg.com

Configuring the mac learning limit, Configuring the mac learning limit on ports, Configuring static multicast mac address entries – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 29

background image

20

To do…

Use the command…

Remarks

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

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.
Follow these steps to configure the MAC learning limit on a Layer 2 Ethernet interface, Layer 2 VE

interface, Layer 2 aggregate interface, or all ports in a port group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

Enter Layer 2 Ethernet/aggregate interface
view
interface interface-type interface-number
Enter port group view
port-group manual port-group-name

Required
Use either command.
Settings in Layer 2
Ethernet/aggregate interface

view take effect on the current

interface only. Settings in port
group view take effect on all

member ports in the port group.

Configure the MAC
learning limit on the
interface

mac-address max-mac-count count

Required
No MAC learning limit is
configured by default.

Configuring static multicast MAC address entries

In Layer-2 multicast, a Layer 2 multicast protocol (such as IGMP snooping) can dynamically add multicast

MAC address entries. Or, you can manually configure multicast MAC address entries.

Configuring a static multicast MAC address entry in system view

Follow these steps to configure a static multicast MAC address entry in system view

To do...

Use the command...

Remarks

Enter system view

system-view

Configure a static multicast MAC
address entry

mac-address multicast
mac-address interface interface-list

vlan vlan-id

Required
No static multicast MAC address

entries exist by default.