show antispoof binding

Use this command to display anti-spoofing source MAC address to source IP address bindings.

Syntax

show antispoof binding [port port-string] [mac mac-addr] [ip ip-addr] [all] [-verbose]

Parameters

port port-string (Optional) Display anti-spoofing source MAC address to source IP address bindings information for the specified port or port range.
mac mac-addr (Optional) Display anti-spoofing source MAC address to source IP address binding information for the specified source MAC address.
ip ip-addr (Optional) Display anti-spoofing source MAC address to source IP address binding information for the specified source IP address.
all (Optional) Display anti-spoofing source MAC address to source IP address binding information for all terminated and active entries.
-verbose (Optional) Display a detailed level of information.

Defaults

  • If no binding option is specified, all bindings display.
  • If the -verbose option is not specified, a standard level of information displays.

Mode

All command modes.

Examples

This example shows how to display all anti-spoofing source MAC to source IP address bindings on the switch:

System(rw)->show antispoof binding
MAC Address             IP Address        Port  Assignment Type
-----------------  ---------------  ----------  ---------------
00-05-01-00-00-00          1.2.3.5     ge.1.47             IPSG
00-05-02-00-00-00          1.2.3.4     ge.1.48             IPSG
System(rw)->

This example shows how to display a detailed level of information for all anti-spoofing source MAC to source IP address bindings on the switch:

System(rw)->show antispoof binding -verbose
MAC Address      : 00-05-01-00-00-00
IP Address       : 1.2.3.5
Port             : ge.1.47
Assignment Type  : IPSG
Duration Time    : 6313 seconds
Expiration Time  : 65535 seconds
MAC Address      : 00-05-02-00-00-00
IP Address       : 1.2.3.4
Port             : ge.1.48
Assignment Type  : IPSG
Duration Time    : 6313 seconds
Expiration Time  : 65535 seconds
System(rw)->

show antispoof port Output Display provides an explanation of the command output.

Click to expand in new window

show antispoof port Output Display

Output... What it displays...
MAC Address Binding source MAC address.
IP Address Binding source IP address.
Port Port associated with the binding source MAC and IP addresses.
Assignment Type Anti-spoofing type that created the binding:
  • DAI – Dynamic ARP inspection
  • DHCP – DHCP snooping
  • IPSG – IP source guard
Duration Time The elapsed time since the binding was created or the timer period reset on the port. This time resets to 0 when it reaches the expiration time.
Expiration Time The anti-spoofing port class timeout or lease expiration if the binding is a DHCP binding. Threshold violation counters reset when this timeout expires.