RUGGEDCOM ROX II
CLI User Guide
Chapter 6
Security
Viewing a List of Policies 199
Section6.9.12.1
Viewing a List of Policies
To view a list of policies, type:
show running-config security firewall fwconfig firewall fwpolicy
Where:
• firewall is the name of the firewall
If policies have been configured, a table or list similar to the following example appears:
ruggedcom# show running-config security firewall fwconfig firewall1 fwpolicy
security
firewall
fwconfig firewall1
fwpolicy p1
description Policy
!
!
!
!
If no policies have been configured, add policies as needed. For more information, refer to Section6.9.12.2,
“Adding a Policy”.
Section6.9.12.2
Adding a Policy
To configure a policy for the firewall, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the policy by typing:
security firewall fwconfig firewall fwpolicy policy
Where:
• firewall is the name of the firewall
• policy is the name of the policy
3. Configure the following parameter(s) as required:
Parameter Description
iptype { iptype } Synopsis: { ipv4, ipv6, ipv4ipv6 }
Default: ipv4
Internet protocol type - use both when no addresses are used, otherwise define IPv4 and
IPv6 rules for each type of addresses used.
policy { policy } Synopsis: { accept, drop, reject, continue }
Default: reject
A default action for connection establishment between different zones.
log-level { log-level } Synopsis: { none, debug, info, notice, warning, error, critical, alert, emergency }
Default: none
(Optional) Determines whether or not logging will take place and at which logging level.
description { description } Synopsis: A string