To configure a filter sequence to match packets with TCP (Transmission Control Protocol) as the Layer 4 protocol, use the set firewall filter sequence from protocol tcp 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 tcp
delete firewall filter filter-name sequence number from protocol

Parameters

filter-nameFilter name.
numberFilter sequence number. The range is 0-9999.

Examples

The following example configures sequence 10 of the MyFilter filter to match packets carrying TCP as the Layer 4 protocol:

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

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

admin@Switch# delete firewall filter MyFilter sequence 10 from protocol
Deleting: 
>   protocol {
>       tcp {
>       }
>   }
OK