307
With no parameters specified, the command displays the dynamic IPv4 IP source guard binding entries of
all interfaces.
On a switch in IRF mode, if you specify neither a port nor an IRF member, the command displays
dynamic binding entries on all ports. For dynamic binding entries generated for a global interface (for
example, a VLAN interface), the command displays only those on the master switch in the IRF fabric.
Related commands: ip check source.
Examples
# Display all dynamic IPv4 source guard binding 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 DHCP-SNP
040a-0000-3000 10.1.0.8 2 GE1/0/1 DHCP-SNP
040a-0000-2000 10.1.0.7 2 GE1/0/1 DHCP-SNP
040a-0000-1000 10.1.0.6 N/A GE1/0/2 DHCP-RLY
040a-0000-0000 N/A N/A GE1/0/2 DHCP-RLY
# Display all dynamic IPv6 source guard binding entries.
<Sysname> display ip check source ipv6
Total entries found: 2
MAC Address IP Address VLAN Interface Type
040a-0000-0001 2001::1 2 GE1/0/1 DHCPv6-SNP
040a-0000-0002 2001::2 6 GE1/0/2 ND-SNP
Table 48 Output description
Total number of found entries
MAC address of the dynamic IP source guard binding entry. N/A
means that no MAC address is bound in the entry.
IP address of the dynamic IP source guard binding entry. N/A means
that no IP address is bound in the entry.
VLAN bound to the IP source guard binding entry. N/A means that no
VLAN information exists in the entry.
Interface of the dynamic IP source guard binding entry
Type of the dynamic IP source guard binding entry, including:
DHCP-SNP—DHCP snooping entry.
DHCP-RLY—DHCP relay entry.
DHCPv6-SNP—DHCPv6 snooping entry.
ND-SNP—ND snooping entry.
display user-bind
Syntax
display user-bind [ ipv6 ] [ interface interface-type interface-number | ip-address ip-address | mac-
address mac-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]