515
vlan vlan-id: Displays IPv4 source guard binding entries for a VLAN. The vlan-id argument specifies the
VLAN ID in the range of 1 to 4094.
interface interface-type interface-number: Displays IPv4 source guard binding entries on an interface.
The interface-type interface-number argument specifies the interface type and the interface number.
slot slot-number: Specifies the number of the slot that holds the card. (MSR4000)
Usage guidelines
If you do not specify any parameter, this command displays the following entries:
• Static and dynamic IPv4 source guard binding entries on all interfaces on the public network.
• Global static IPv4 source guard binding entries.
If you specify neither an interface nor a card, the command displays IPv4 source guard binding entries
that the MPU obtained from all interfaces. (MSR4000)
Examples
# Display all interface-specific and global IPv4 source guard binding entries on the public network.
<Sysname> display ip source binding
Total entries found: 4
IP Address MAC Address Interface VLAN Type
10.1.0.5 040a-0000-4000 GE2/1/1 1 DHCP snooping
10.1.0.6 040a-0000-3000 GE2/1/1 1 DHCP snooping
10.1.0.7 040a-0000-2000 GE2/1/1 1 DHCP snooping
10.1.0.9 040a-0000-2000 GE2/1/2 N/A Static
Table 73 Command output
Field Descri
tion
Total entries found Total number of IPv4 source guard binding entries.
IP Address
IPv4 address in the IPv4 source guard binding entry. If no IP address is
bound in the entry, this field displays N/A.
MAC Address
MAC address in the IPv4 source guard binding entry. If no MAC address
is bound in the entry, this field displays N/A.
Interface
Interface of the binding entry. If the entry is a global IPv4 source guard
binding entry, this field displays N/A.
VLAN
VLAN information in the IPv4 source guard binding entry. If the entry
contains no VLAN information, this field displays N/A.
Type
Type of the IPv4 source guard binding entry:
• Static—Manually configured.
• 802.1X—Dynamically generated based on 802.1X.
• DHCP snooping—Dynamically generated based on DHCP snooping.
Related commands
• ip source binding
• ip verify source