463
Examples
# Configure a user validity check rule, and enable user validity check.
<Sysname> system-view
[Sysname] arp detection 0 permit ip 10.1.1.1 255.255.0.0 mac 0001-0203-0607 ffff-ffff-0000
[Sysname] vlan 2
[Sysname-vlan2] arp detection enable
Related commands
arp detection enable
arp detection enable
Use
arp detection enable
to enable ARP detection.
Use
undo arp detection enable
to restore the default.
Syntax
arp detection enable
undo arp detection enable
Default
ARP detection is disabled.
Views
VLAN view
Default command level
2: System level
Examples
# Enable ARP detection for VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-Vlan2] arp detection enable
arp detection trust
Use
arp detection trust
to configure the port as an ARP trusted port.
Use
undo arp detection trust
to restore the default.
Syntax
arp detection trust
undo arp detection trust
Default
The port is an ARP untrusted port.
Views
Layer 2 Ethernet interface view
Default command level
2: System level