arp filter source
Syntax
arp filter source ip-address
undo arp filter source
View
Ethernet port view
Parameters
ip-address: IP address of the gateway.
Description
Use the arp filter source command to configure ARP packet filtering based on the gateway's IP
address on the current port working as the downstream port connected to a host. After that, ARP
packets from the host with the gateway's IP address as the sender IP address are considered invalid
and discarded.
Use the undo arp filter source command to remove the configuration.
By default, ARP packet filtering based on the gateway's IP address is disabled.
Note that:
This command should be configured on a port directly connected to hosts.
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.0.1/24 on Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet1/0/1
[Sysname-Ethernet1/0/1] arp filter source 192.168.0.1
arp filter binding
Syntax
arp filter binding ip-address mac-address
undo arp filter binding
View
Ethernet port view
Parameters
ip-address: IP address of the gateway.
mac-address: MAC address of the gateway.
2-3