Description
Use the arp filter binding command to configure ARP packet filtering based on the gateway's IP and
MAC addresses on the current port. After that, the port will discard ARP packets with the gateway's IP
address as the sender IP address but with the sender MAC address different from that of the gateway.
Use the undo arp filter binding command to remove the configuration.
By default, ARP packet filtering based on the gateway's IP and MAC addresses are disabled.
Note that:
This command should be configured on a cascaded port or upstream port of an access switch.
If you execute this command repeatedly, the last configured command takes effect.
Examples
# Configure ARP packet filtering based on the gateway's IP address 192.168.100.1/24 and MAC
address 000d-88f8-528c on Ethernet 1/0/2.
<Sysname> system-view
[Sysname] interface ethernet1/0/2
[Sysname-Ethernet1/0/2] arp filter binding 192.168.100.1 000d-88f8-528c
arp max-learning-num
Syntax
arp max-learning-num number
undo arp max-learning-num
View
VLAN interface view
Parameters
number: Maximum number of dynamic ARP entries that can be learned by the interface. The effective
range is 1 to 4,031.
Description
Use the arp max-learning-num command to configure the maximum number of dynamic ARP entries
that can be learned by the current VLAN interface.
Use the undo arp max-learning-num command to remove the configuration.
By default, the maximum number of dynamic ARP entries that can be learned by a VLAN interface is
4,031.
If you execute this command repeatedly, the last configured command takes effect.
Examples
# Configure the maximum number of dynamic ARP entries that can be learned by VLAN-interface 40 as
500.
<Sysname> system-view
[Sysname] interface vlan-interface 40
[Sysname-Vlan-interface40] arp max-learning-num 500
2-4