show ports anomaly

show ports {port_list | tag tag} anomaly {no-refresh | refresh}

Description

Displays statistics of anomaly violation events in real time.

Syntax Description

port_list

Specifies one or more ports or slots and ports.

tag

Specifies an 802.1Q or 802.1ad tag value.

no-refresh

Specifies a static snapshot of data.

refresh Continous refresh of output.

Default

N/A.

Usage Guidelines

If you do not specify a port number, range of ports, or tag value, statistics are displayed for all ports. To clear the counters, use the clear counters ports command. The default display is a constantly refreshing real-time display. If you specify the no-refresh parameter, the system displays a snapshot of the data at the time you issue the command.

This command takes effect after enabling anomaly-protection.

The tag value may be associated with either a VMAN or a VLAN.

Example

The following command displays real-time anomaly statistics on a switch:

show ports anomaly

Following is sample output from this command:

Port Statistics Thu Nov  9 22:44:31 2006
Port Link       Rx Pkt ============ Anomaly Violation =========
State Count L3 Count      L4 Count     ICMP Count   Frag Count
================================================================================
1 A 191585 1 2 0 0
2 R 0 0 0 0 0
3 R 0 0 0 0 0
4 R 0 0 0 0 0
5 R 0 0 0 0 0
6 R 0 0 0 0 0
7 R 0 0 0 0 0
8 R 0 0 0 0 0
9 R 0 0 0 0 0
10 R 0 0 0 0 0
11 R 0 0 0 0 0
12 A 178024 0 0 0 0
13 A 196956 0 0 0 0
14 R 0 0 0 0 0
15 R 0 0 0 0 0
16 R 0 0 0 0 0
17 R 0 0 0 0 0
================================================================================
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
0->Clear Counters  U->page up  D->page down ESC->exit

History

This command was first available in ExtremeXOS 12.0.

The tag value was added in ExtremeXOS 12.4.4.

The refresh keyword was added in ExtremeXOS 16.1.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.