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 slot 2, all ports on a modular switch:

show ports 2:* 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
================================================================================
2:1 A 191585 1 2 0 0
2:2 R 0 0 0 0 0
2:3 R 0 0 0 0 0
2:4 R 0 0 0 0 0
2:5 R 0 0 0 0 0
2:6 R 0 0 0 0 0
2:7 R 0 0 0 0 0
2:8 R 0 0 0 0 0
2:9 R 0 0 0 0 0
2:10 R 0 0 0 0 0
2:11 R 0 0 0 0 0
2:12 A 178024 0 0 0 0
2:13 A 196956 0 0 0 0
2:14 R 0 0 0 0 0
2:15 R 0 0 0 0 0
2:16 R 0 0 0 0 0
2: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 all platforms.