Commands for managing firewall service and policies
You can use the system services firewall commands to manage firewall service, the system services firewall policy commands to manage firewall policies, and the network interface modify command to manage firewall settings for LIFs.
If you want to... | Use this command... |
---|---|
Enable or disable firewall service | system services firewall modify |
Display the current configuration for firewall service | system services firewall show |
Create a firewall policy or add a service to an existing firewall policy | system services firewall policy create |
Apply a firewall policy to a LIF | network interface modify -lif lifname -firewall-policy |
Modify the IP addresses and netmasks associated with a firewall policy | system services firewall policy modify |
Display information about firewall policies | system services firewall policy show |
Create a new firewall policy that is an exact copy of an existing policy | system services firewall policy clone |
Delete a firewall policy that is not used by a LIF | system services firewall policy delete |
For more information, see the man pages for the system services firewall, system services firewall policy, and network interface modify commands.
Give documentation feedback