286
IP source guard configuration commands
display ip check source
Syntax
display ip check source
[
ipv6
] [
interface
interface-type interface-number
|
ip-address
ip-address
|
mac-address
mac-address
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
ipv6
: Displays the IPv6 source guard entries. Without this keyword, the command displays the IPv4
source guard entries.
interface
interface-type interface-number
: Displays the binding entries of the interface specified by its
type and number.
ip-address
ip-address
: Displays the binding entries of an IP address.
mac-address
mac-address
: Displays the binding entries of an MAC address (in the format H-H-H).
slot
slot-number
: Displays the bindings of the member number of the device in the IRF.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display ip check source
command to display static and dynamic IP source guard entries.
With no parameters specified, the command displays the IPv4 IP source guard entries of all interfaces.
Related commands:
ip check source
.
Examples
# Display all IPv4 source guard entries.
<Sysname> display ip check source
Total entries found: 5
MAC Address IP Address VLAN Interface Type
040a-0000-4000 10.1.0.9 2 GE1/0/1 Static
040a-0000-3000 10.1.0.8 2 GE1/0/2 DHCP-SNP
040a-0000-2000 10.1.0.7 2 GE1/0/2 DHCP-SNP
040a-0000-1000 10.1.0.6 N/A GE1/0/3 DHCP-RLY