288
mac-address mac-address: Displays the static IP source guard entries of an MAC address (in the format
H-H-H).
|: 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 user-bind command to display static IP source guard entries.
With no parameters specified, the command displays static IPv4 source guard entries of all interfaces.
Related commands: user-bind.
Examples
# Display all static IPv4 source guard entries.
<Sysname> display user-bind
Total entries found: 4
MAC Address IP Address VLAN Interface Type
N/A 1.1.1.1 N/A GE1/0/1 Static
0001-0001-0001 2.2.2.2 200 GE1/0/1 Static
0003-0003-0003 N/A N/A GE1/0/1 Static
0004-0004-0004 4.4.4.4 N/A GE1/0/1 Static
# Display all static IPv6 source guard entries.
<Sysname> display user-bind ipv6
Total entries found: 3
MAC Address IP Address VLAN Interface Type
0001-0001-0011 2002::1 200 GE1/0/1 Static-IPv6
N/A 2002::2 200 GE1/0/1 Static-IPv6
0002-0002-0022 N/A 200 GE1/0/1 Static-IPv6
Table 42 Output description
Field Description
Total entries found Total number of found entries
MAC Address
MAC address of the binding. N/A means that no
MAC address is bound in the entry.
IP Address
IP address of the binding. N/A means that no IP
address is bound in the entry.
VLAN
VLAN of the binding. N/A means that no VLAN is
bound in the entry.
Interface Interface of the binding
Type
Type of the binding:
• Static—Static IPv4 binding entry.
• Static-IPv6—Static IPv6 binding entry.