5
2. Configure a multiport unicast MAC address entry or a multicast MAC address entry.
{ Configure a multiport unicast MAC address entry.
mac-address multiport mac-address interface interface-list vlan
vlan-id
For more information about multiport unicast MAC address entries, see the mac-address
command in Layer 2—LAN Switching Command Reference.
{ Configure a multicast MAC address entry.
mac-address multicast mac-address interface interface-list vlan
vlan-id
For more information about multicast MAC address entries, see the mac-address
multicast
command in IGMP snooping commands in IP Multicast Command Reference.
3. Configure a multiport ARP entry.
arp multiport ip-address mac-address vlan-id
The specified MAC address and VLAN ID must be the same as those in the multiport unicast
MAC address entry or the multicast MAC address entry.
Configuring features for dynamic ARP entries
Setting the dynamic ARP learning limit for a device
About the dynamic ARP learning limit for a device
A device can dynamically learn ARP entries. To prevent a device from holding too many ARP entries,
you can set the maximum number of dynamic ARP entries that the device can learn. When the limit
is reached, the device stops ARP learning.
If you set a value lower than the number of existing dynamic ARP entries, the device does not delete
the existing entries unless they age out.
Procedure
1. Enter system view.
system-view
2. Set the dynamic ARP learning limit for the device.
arp max-learning-number max-number slot slot-number
By default, the device can learn a maximum of 1024 dynamic ARP entries.
To disable the device from dynamic ARP learning, set the value to 0.
Setting the dynamic ARP learning limit for an interface
About setting the dynamic ARP learning limit for an interface
An interface can dynamically learn ARP entries. To prevent an interface from holding too many ARP
entries, you can set the maximum number of dynamic ARP entries that the interface can learn. When
the limit is reached, the interface stops ARP learning.
You can set limits for both a Layer 2 interface and the VLAN interface for a permitted VLAN on the
Layer 2 interface. The Layer 2 interface learns an ARP entry only when neither limit is reached.
The total dynamic ARP learning limit for all interfaces will not be higher than the dynamic ARP
learning limit for the device.