IP source guard commands
display ip source binding
Use display ip source binding to display IPv4 source guard binding entries.
Syntax
display ip source binding [ static | [ vpn-instance vpn-instance-name ] [ dhcp-relay | dhcp-server |
dhcp-snooping ] ] [ ip-address ip-address ] [ mac-address mac-address ] [ vlan vlan-id ] [ interface
interface-type interface-number ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
static: Displays static IPv4 source guard binding entries.
vpn-instance vpn-instance-name: Displays dynamic IPv4 source guard binding entries for a VPN. The
vpn-instance-name argument is the VPN instance name of an MPLS L3VPN, a case-sensitive string of 1
to 31 characters. If you do not specify a VPN, the command displays dynamic IPv4 source guard binding
entries for the public network.
dhcp-relay: Displays dynamic IPv4 source guard binding entries created by DHCP relay.
dhcp-server: Displays dynamic IPv4 source guard binding entries created by DHCP server.
dhcp-snooping: Displays dynamic IPv4 source guard binding entries created by DHCP snooping.
ip-address ip-address: Displays IP source guard binding entries for an IPv4 address.
mac-address mac-address: Displays IP source guard binding entries for a MAC address. The MAC
address must be specified in H-H-H format.
vlan vlan-id: Display IPv4 source guard binding entries for a VLAN. The vlan-id argument represents the
bound 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 is the interface type and the interface number.
slot slot-number: Displays IPv4 source guard binding entries on an IRF member device. The slot-number
argument is the ID of the IRF member device.
Usage guidelines
If you do not specify any parameter, the command displays IPv4 source guard binding entries on
•
all interfaces on the public network.
If you specify neither an interface nor an IRF member, the command displays IPv4 source guard
•
binding entries of all interfaces on in the IRF fabric.
197