To configure a filter sequence to match packets based on the EtherType field in the Ethernet frame, use the set firewall filter sequence from ether-type command in L2/L3 configuration mode. To remove the EtherType field from the filter sequence, use the delete form of the command.
set firewall filter filter-name sequence number from ether-type ether-type
delete firewall filter filter-name sequence number from ether-type
|number||Filter sequence number. The range is 0-9999.|
|ether-type||EtherType value in decimal form. The range is 0-65535.|
The following example configures sequence 2 of the MyFilter filter to match frames with EtherType value 0x0800 (2048 decimal):
The following example removes the EtherType value from sequence 2 of the MyFilter filter: