/
set firewall filter sequence from source-port

set firewall filter sequence from source-port

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 or port number range, for example, 5000 or 7000..7050.

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 



Copyright © 2025 Pica8 Inc. All Rights Reserved.