Configuring The Mac Learning Limit - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

NOTE:
The MAC address aging timer takes effect globally only on dynamic MAC address entries (learned or
administratively configured).
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 grows, the forwarding performance of your router 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 VE interface, Layer 2
aggregate interface, or all ports in a port group:
Step
1.
Enter system view.
2.
Enter interface view or port group
view.
3.
Configure the MAC learning limit on
the interface or port group, and
specify whether or not frames with
unknown source MAC addresses
can be forwarded when the MAC
learning limit is reached.
Configuring the MAC learning limit on a VLAN
You may also limit the number of MAC addresses that can be learned on a per-VLAN basis.
To configure the MAC learning limit on a VLAN:
Step
Enter system view.
1.
2.
Enter VLAN view.
Command
system-view
Enter Layer 2 Ethernet
interface view, Layer 2 VE
interface view, or Layer 2
aggregate interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
mac-address max-mac-count
{ count |
disable-forwarding }
Command
system-view
vlan vlan-id
23
Remarks
N/A
Use either command.
The configuration you make in
Layer 2 Ethernet interface view,
Layer 2 VE interface view, or Layer
2 aggregate interface view takes
effect on the current interface only.
The configuration you make in port
group view takes effect on all ports
in the port group.
By default, the maximum number
of source MAC addresses that can
be learned on an interface is not
specified.
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents