Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
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:
admin@Switch# set firewall filter MyFilter sequence 1 from source-address-ipv4 192.168.1.1/32
The following example removes the condition from sequence 1 of the MyFilter filter:
admin@XorPlus# delete firewall filter MyFilter sequence 1 from source-address-ipv4 Deleting: > source-address-ipv4: 192.168.1.1/32 OK