To configure a filter sequence to match packets based on destination port, use the set firewall filter sequence from destination-port command in L2/L3 configuration mode. To remove the destination port, use the delete form of the command.
set firewall filter filter-name sequence number from destination-port port
delete firewall filter filter-name sequence number from destination-port
|number||Filter sequence number. The range is 0-9999.|
|port||Destination port number. The range is 0-65535.|
The following example configures sequence 2 of the MyFilter filter to match packets, which destination ports are in the 100-200 range:
The following example removes the 100-200 port range from sequence 2 of the MyFilter filter: