465
Default
ARP restricted forwarding is disabled.
Views
VLAN view
Default command level
2: System level
Examples
# Enable ARP restricted forwarding in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] arp restricted-forwarding enable
display arp detection
Use
display arp detection
to display the VLANs enabled with ARP detection.
Syntax
display arp detection
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: 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.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the VLANs enabled with ARP detection.
<Sysname> display arp detection
ARP detection is enabled in the following VLANs:
1, 2, 4-5
Related commands
arp detection enable
display arp detection statistics
Use
display arp detection statistics
to display statistics about ARP detection. This command only
displays numbers of discarded packets. If no interface is specified, the statistics of all interfaces is
displayed.