ARP snooping configuration commands
arp-snooping enable
Syntax
arp-snooping enable
undo arp-snooping enable
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use arp-snooping enable to enable ARP snooping.
Use undo arp-snooping enable to disable ARP snooping.
By default, ARP snooping is disabled.
Examples
# Enable ARP snooping on VLAN 1.
<Sysname> system-view
[Sysname] vlan 1
[Sysname-vlan1] arp-snooping enable
display arp-snooping
Syntax
display arp-snooping [ ip ip-address | vlan vlan-id ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
ip ip-address: Displays the ARP snooping entry information for the IP address.
vlan vlan-id: Displays ARP snooping entries of a specified VLAN. The vlan-id argument is in the range of
1 to 4094.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
15