To configure a filter sequence to match packets with the specified Layer 4 protocol number, use the set firewall filter sequence from protocol others command in L2/L3 configuration mode. To remove the condition from the filter sequence, use the delete form of the command.

Command Syntax

set firewall filter filter-name sequence number from protocol others protocol-number
delete firewall filter filter-name sequence number from protocol

Parameters

filter-nameFilter name.
numberFilter sequence number. The range s 0-9999.
protocol-numberLayer 4 protocol number. The range is 0-255.

Examples

This example configures sequence 10 of the MyFilter filter to match packets carrying Layer 4 protocol number 21:

admin@Switch# set firewall filter MyFilter sequence 10 from protocol others 21

The following example removes the condition from sequence 10 of the MyFilter filter:

admin@Switch# delete firewall filter MyFilter sequence 10 from protocol