Configures the destination address as well as an arbitrary field of the protocol.
filter_name | Specifies a protocol filter name. |
add | Specifies that you add a protocol. |
delete | Specifies that you delete a protocol. |
dest-mac | Specifies the destination MAC address used by PDUs of the protocol. |
mac_address | Specifies the MAC address. |
etype | Specifies the EtherType used by PDUs of the protocol. |
llc | Specifies the LLC DSAP and SSAP used by PDUs of the protocol. |
snap | Specifies the SNAP protocol identifier used by PDUs of the protocol. |
hex | Specifies a four-digit hexadecimal number
between 0 and FFFF that represents:
|
field | Specifies a field used by PDUs of the protocol. |
offset | Specifies the offset of the field from the start of the PDU. |
value value | Specifies the value of the field in hexadecimal (for example, A1:B2:0C. Maximum 16 bytes). |
mask mask | Specifies the mask for the field in hexadecimal (for example, FF:FF:0F. Maximum 16 bytes). |
N/A.
Supported protocol types include:
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
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.The following example LACP to the protocol list "mylist":
configure protocol “mylist” add dest-mac 01:80:C2:00:00:02 etype 0x8809 field offset 14 value 01 mask FF
The following example removes EFM OAM from the protocol list "mylist":
configure protocol filter “mylist” delete dest-mac 01:80:C2:00:00:02 etype 0x8809 field offset 14 value 03 mask FF
The following example configures a mismatched mask and value:
configure protocol “mylist” delete dest-mac 01:80:C2:00:00:02 etype 0x8809 field offset 14 value 03 mask FF:FF Error: The length of the field value is not the same as the field mask.
This command was first available in ExtremeXOS 15.5.
This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.