R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

15
ARP snooping configuration commands
arp-snooping enable
Use arp-snooping enable to enable ARP snooping.
Use undo arp-snooping enable to disable ARP snooping.
Syntax
arp-snooping enable
undo arp-snooping enable
Default
ARP snooping is disabled.
Views
VLAN view
Default command level
2: System level
Examples
# Enable ARP snooping on VLAN 1.
<Sysname> system-view
[Sysname] vlan 1
[Sysname-vlan1] arp-snooping enable
display arp-snooping
Use display arp-snooping to display ARP snooping entries. If you do not specify any parameters, the
command displays all ARP snooping entries.
Syntax
display arp-snooping [ ip ip-address | vlan vlan-id ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
ip ip-address: Displays ARP snooping entry information about the IP address.
vlan vlan-id: Displays ARP snooping entries for a specific VLAN. The value range for the vlan-id
argument is 1 to 4094.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.