display ipv6 source binding
Syntax
display ipv6 source binding [ static ] [ interface interface-type interface-number | ipv6-address ipv6-address | mac-address mac-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
static: Displays static IPv6 binding entries. If you do not specify this keyword, the command displays all static and dynamic IPv6 source guard binding entries.
interface interface-type interface-number: Displays the IPv6 source guard binding entries of an interface.
ipv6-address ipv6-address: Displays the IPv6 source guard binding entries of an IPv6 address.
mac-address mac-address: Displays the IPv6 source guard binding entries of an MAC address. The MAC address must be in the format H-H-H.
slot slot-number: Displays the IPv6 source guard binding entries on an IRF member switch. The slot-number argument specifies the ID of an IRF member switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric.
|: 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.
Description
Use display ipv6 source binding to display IPv6 source guard binding entries.
If you do not specify any parameters, the command displays all static and dynamic IPv6 binding entries.
If you specify only the static keyword, the command displays all static IPv6 binding entries.
Related commands: ipv6 verify source and ipv6 source binding.
Examples
# Display all IPv6 source guard binding entries.
<Sysname> display ipv6 source binding Total entries found: 3 MAC Address IP Address VLAN Interface Type 040a-0000-0001 2001::1 N/A Eth1/0/1 Static-IPv6 040a-0000-0001 2001::3 2 Eth1/0/1 DHCPv6-SNP 040a-0000-0002 2001::4 6 Eth1/0/2 ND-SNP
# Display all static IPv6 source guard binding entries.
<Sysname> display ipv6 source binding static Total entries found: 2 MAC Address IP Address VLAN Interface Type 040a-0000-0012 2001::4 N/A Eth1/0/3 Static-IPv6 040a-0000-0013 2001::5 N/A Eth1/0/3 Static-IPv6
Table 59: Command output
Field | Description |
---|---|
Total entries found | Total number of found entries |
MAC Address | MAC address bound in the entry. N/A means that no MAC address is bound in the entry. |
IPv6 Address | IPv6 address bound in the entry. N/A means that no IP address is bound in the entry. |
VLAN | VLAN bound in the entry. N/A means that no VLAN information exists in the entry. |
Interface | Interface of the binding entry. |
Type | Type of the IPv6 source guard binding entry:
|