To configure a filter sequence to match OSPF (Open Shortest Path First) protocol packets, use the set firewall filter sequence from protocol ospf 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 ospf
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 OSPF protocol packets:

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

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

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