Command Reference Anti-ARP Spoofing Commands
Anti-ARP Spoofing Commands
anti-arp-spoofing ip
Use this command to enable anti-ARP spoofing. Use the no form of this command to disable this
function.
anti-arp-spoofing ip ip-address
no anti-arp-spoofing ip ip-address
Parameter
Description
Parameter Description
ip-address
IP address of the gateway.
Defaults
Anti-ARP spoofing is disabled by default.
Command
Mode
Interface configuration mode.
The interface can be a wired interface or a wireless wlansec interface.
Usage Guide You can use the show anti-arp-spoofing command to display the configuration.
Up to 16 IP addresses can be configured with this command in an interface.
Configuration
Examples
The following example enables anti-ARP spoofing in a wired interface.
Ruijie(config)#interface fastEthernet 0/1
Ruijie(config-if)#anti-arp-spoofing ip 192.168.1.1
The following example enables anti-ARP spoofing in a wireless wlansec interface.
Ruijie(config)#wlansec 1
Ruijie(config-wlansec)#anti-arp-spoofing ip 192.168.1.2
Related
Commands
Command Description
show anti-arp-spoofing
Displays the configuration of anti-ARP spoofing
on all interfaces.
Platform
Description
N/A
show anti-arp-spoofing
Use this command to display the configuration of anti-ARP spoofing on all interfaces.