arp sender-ip-range
Use arp sender-ip-range to specify the sender IP address range for ARP packet checking.
Use undo arp sender-ip-range to restore the default.
Syntax
arp sender-ip-range start-ip-address end-ip-address
undo arp sender-ip-range
Default
No sender IP address range is specified for ARP packet checking.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
start-ip-address: Specifies the start IP address.
end-ip-address: Specifies the end IP address. The end IP address must be higher than or equal to the start IP address.
Usage guidelines
The gateway discards an ARP packet if its sender IP address is not within the allowed IP address range.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify the sender IP address range 1.1.1.1 to 1.1.1.20 for ARP packet checking in VLAN 2.
<Sysname> system-view [Sysname] vlan 2 [Sysname–vlan2] arp sender-ip-range 1.1.1.1 1.1.1.20