To configure a filter sequence to match packets with UDP (User Datagram Protocol) as Layer 4 protocol, use the set firewall filter sequence from protocol udp command in L2/L3 configuration mode. To remove the condition from the filter sequence, use the delete from of the command.
set firewall filter filter-name sequence number from protocol udp
delete firewall filter filter-name sequence number from protocol
|number||Filter sequence number. The range is 0-9999.|
The following example configures sequence 10 of the MyFilter filter to match packets carrying UDP as Layer 4 protocol:
The following example removes the condition from sequence 10 of the MyFilter filter: