Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

To configure a filter sequence to match packets with the specified source port, use the set firewall filter sequence from source-port command in L2/L3 configuration mode. To remove the match condition from the filter sequence, use the delete form of the command.

Command Syntax

set firewall filter filter-name sequence number from source-port port-number
delete firewall filter filter-name sequence number from source-port

Parameters

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

Examples

The following example configures sequence 2 of the MyFilter filter to match packets with source port in the 100-234 range:

admin@XorPlus# set firewall filter MyFilter sequence 2 from source-port 100..234

The following example removes the souce-port match condition from sequence 2 of the MyFilter filter:

admin@XorPlus# delete firewall filter MyFilter sequence 2 from source-port
Deleting: 
>   source-port: 100..234
OK 



  • No labels