show antispoof counters

Use this command to display anti-spoofing statistics.

Syntax

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

Parameters

port port-string (Optional) Display anti-spoofing statistics for the specified port or port range.
mac mac-addr (Optional) Display anti-spoofing statistics for the specified source MAC address.
ip ip-addr (Optional) Display anti-spoofing statistics for the specified source IP address.
all (Optional) Display anti-spoofing statistics for all ports (same as no options specified).
-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 statistics on the switch:

System(rw)->show antispoof counters
MAC Address             IP Address        Port    IP Count
-----------------  ---------------  ----------  ----------
00-05-01-00-00-00          1.2.3.5     ge.1.47           0
00-05-02-00-00-00          1.2.3.4     ge.1.48           0
System(rw)->

This example shows how to display detailed anti-spoofing statistics:

System(rw)->show antispoof counters -verbose
MAC Address      : 00-05-01-00-00-00
IP Address       : 1.2.3.5
Port             : ge.1.47
IP Counter       : 0
MAC Address      : 00-05-02-00-00-00
IP Address       : 1.2.3.4
Port             : ge.1.48
IP Counter       : 0
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 Specifies the source MAC address for the displayed statistics
IP Address Binding source IP address.
Port Port associated with the binding source MAC and IP addresses.
IP Count(er) Specifies the number of IP address changes for this source MAC address.