530
ARP detection commands
This feature is available on only the routers installed with Layer 2 switching modules.
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
Predefined user roles
network-admin
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 a port as an ARP trusted port.
Use undo arp detection trust to restore the default.
Syntax
arp detection trust
undo arp detection trust
Default
An interface is an ARP untrusted interface.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Examples
# Configure GigabitEthernet 2/1/1 as an ARP trusted interface.
<Sysname> system-view