configure protocol add

configure protocol {filter} filter_name add [etype | llc | snap] hex {[etype | llc | snap] hex}

Description

Configures a user-defined protocol filter.

Syntax Description

filter Configures a protocol filter.
filter_name Specifies a protocol filter name.
add Specifies that you add a protocol.
delete Specifies that you delete a protocol.
etype Specifies an ethertype protocol.
llc Specifies LLC protocol.
snap Specifies SNAP protocol.
hex Specifies a four-digit hexadecimal number between 0 and FFFF that represents:
  • The Ethernet protocol type taken from a list maintained by the IEEE.
  • The DSAP/SSAP combination created by concatenating a two-digit LLC Destination SAP (DSAP) and a two-digit LLC Source SAP (SSAP).
  • The SNAP-encoded Ethernet protocol type.

Default

N/A.

Usage Guidelines

Supported protocol types include:

  • etype—IEEE Ethertype.
  • llc—LLC Service Advertising Protocol.
  • snap—Ethertype inside an IEEE SNAP packet encapsulation.

A maximum of 15 protocol filters, each containing a maximum of six protocols, can be defined.

The protocol filter must already exist before you can use this command. Use the create protocol command to create the protocol filter.

No more than seven protocols can be active and configured for use.

Note

Note

Protocol-based VLAN for Etype from 0x0000 to 0x05ff are not classifying as per filter. When traffic arrive with these Etypes, it is classifed to native VLAN rather protocol-based VLAN.

Example

The following example adds MPLS to "my_filter":

configure protocol “my_filter” add etype 0x8847
configure protocol  filter “my_filter” add etype 0x8847 

The following example deletes MPLS from "my_other_filter":

configure protocol “my_other_filter” delete etype 0x8847
configure protocol  filter “my_other_filter” delete etype 0x8847

History

This command was first available in ExtremeXOS 10.1.

The filter keyword and options were added in ExtremeXOS 15.5.

Platform Availability

This command is available on all platforms.