show ports protocol filter

show ports [port_list | all] protocol filter {detail}

Description

Displays the protocol filtering configuration and status.

Syntax Description

port_list Displays port list, separated by a comma ( , )or dash ( - ).
all Displays all ports.
detail Displays detailed configuration and status.

Default

Displays all protocol filters.

Usage Guidelines

Use this command to display the protocol filtering configuration and status.

Example

The following example displays the filtering configuration and status for ports 1-4:

# show ports 1-4 protocol filter 
Port Protocol    Destination       Protocol Id  Field  Field Field  Packets
#    Filter Name Address           Type  Value  Offset Value  Mask  Filtered
---- ----------- ----------------- ----- ------ ------ ------ ----- ----------
1   my_list     01:80:C2:00:00:02  etype 0x8902   14   03:04  FF:FF  2300                  
                01:80:C2:00:00:00  snap  0x4041                      5000 
                01:80:C2:00:00:00  snap  0x4041   16   01:02> FF:FF> 5000
2  lacp         01:80:C2:00:00:02  etype 0x8902   14   01     FF     3200
3  (none)
4  (none) 

> indicates that the value was truncated to the column size in the output.Use the
“detail” option to see the complete value.

The following example displays output for the show ports protocol filter detail command:

show ports 1-4 protocol filter detail
Port 1   
        Protocol Filter Name: my_list    
        Destination Address : 01:80:C2:00:00:02   
        Protocol Id Type    : etype   
        Protocol Id Value   : 0x8902   
        Field Offset        : 14   
        Field Value         : 03:04   
        Field Mask          : FF:FF   
        Packets Filtered    : 2300    
        Destination Address : 01:80:C2:00:00:00   
        Protocol Id Type    : snap   
        Protocol Id Value   : 0x4041   
        Field Offset        : 16   
        Field Value         : 01:02:03:04   
        Field Mask          : FF:FF:FF:FF   
        Packets Filtered    : 5000    
        Destination Address : 01:80:C2:00:00:00   
        Protocol Id Type    : snap   
        Protocol Id Value   : 0x4041   
        Field Offset        :   
        Field Value         :   
        Field Mask          :   
        Packets Filtered    : 5000 

Port 2   
        Protocol Filter Name: lacp    
        Destination Address : 01:80:C2:00:00:02   
        Protocol Id Type    : etype   
        Protocol Id Value   : 0x8902   
        Field Offset        : 14   
        Field Value         : 01   
        Field Mask          : FF   
        Packets Filtered    : 3200 

Port 3   
        Protocol Filter Name: (none) 

Port 4  Protocol Filter Name: (none)

History

This command was first available in ExtremeXOS 15.5.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.