Skip to main content

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 servicesystem services firewall modify
Display the current configuration for firewall servicesystem services firewall show
Create a firewall policy or add a service to an existing firewall policysystem services firewall policy create
Apply a firewall policy to a LIFnetwork interface modify -lif lifname -firewall-policy
Modify the IP addresses and netmasks associated with a firewall policysystem services firewall policy modify
Display information about firewall policiessystem services firewall policy show
Create a new firewall policy that is an exact copy of an existing policysystem services firewall policy clone
Delete a firewall policy that is not used by a LIFsystem 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.