Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
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:
admin@Switch# set firewall filter MyFilter sequence 2 from destination-port 100..200
The following example removes the 100-200 port range from sequence 2 of the MyFilter filter:
admin@Switch# delete firewall filter MyFilter sequence 2 from destination-port Deleting: > destination-port: 100..200 OK