To configure a filter sequence to match packets with specified source IP address, use the set firewall filter sequence from source-address-ipv4 command in L2/L3 configuration mode. To remove the condition from the filter sequence, use the delete form of the command.
set firewall filter filter-name sequence number from source-address-ipv4 address/prefix-length
delete firewall filter filter-name sequence number from source-address-ipv4
|number||The filter sequence number. The range is 0-9999.|
|address/prefix-length||IPv4 address / prefix length|
The following example configures sequence 1 of the MyFilter filter to match packets with source address 192.168.1.1:
The following example removes the condition from sequence 1 of the MyFilter filter: