R3303-HP HSR6800 Routers Security Command Reference

476
Usage guidelines
When you do not use the static keyword, the command displays both static and dynamic IPv4 source
guard entries. If you specify neither a port nor an interface card, the command displays static and
dynamic IPv4 source guard entries on all ports.
When you use the static keyword, the command displays static IPv4 source guard entries. If you specify
neither a port nor an interface card, the command displays static IPv4 source guard entries on all ports.
Examples
# Display all IPv4 source guard entries.
<Sysname> display ip source binding
Total entries found: 5
MAC Address IP Address VLAN Interface Type
040a-0000-4000 10.1.0.9 2 GE3/0/1 Static
040a-0000-3000 10.1.0.8 2 GE3/0/1 DHCP-SNP
040a-0000-2000 10.1.0.7 2 GE3/0/1 DHCP-SNP
040a-0000-1000 10.1.0.6 N/A GE3/0/2 DHCP-RLY
040a-0000-0000 N/A N/A GE3/0/2 DHCP-RLY
# Display all static IPv4 source guard entries.
<Sysname> display ip source binding static
Total entries found: 2
MAC Address IP Address VLAN Interface Type
040a-0000-0012 10.1.0.12 6 GE3/0/3 Static
040a-0000-0013 10.1.0.12 6 GE3/0/3 Static
Table 80 Command output
Field Descri
p
tion
Total entries found Total number of IPv4 source guard entries.
MAC Address
MAC address of the IPv4 source guard entry. N/A means that no MAC
address is bound in the entry.
IP Address
IP address of the IPv4 source guard entry. N/A means that no IP address
is bound in the entry.
VLAN
VLAN bound to the IPv4 source guard entry. N/A means that no VLAN
information exists in the entry.
Interface Interface of the IPv4 source guard entry.
Type
Type of the IPv4 source guard entry:
Static—Static entry.
DHCP-SNP—Entry generated based on a DHCP snooping entry.
DHCP-RLY—Entry generated based on a DHCP relay entry.
Related commands
ip verify source
ip source binding