Creating Policies
70
ETEP CLI User Guide
2 Add a policy name, if you haven’t already done so (see
“Assigning Policy Names” on page 83
).
policy-add <name>
3 Enter policy-config mode. As part of the command you will need to enter the name of a policy that
has been added.
policy-config <name>
4 Set the
policy-action
command to “protect” to indicate that this is an encryption policy.
policy-action protect
5 Configure the policy selectors, which define the traffic that the policy acts on. You can configure a
policy with either a Layer 2 selector or a Layer 3 selector, but not both. Layer 2 selectors are valid
only when the ETEP is configured for Layer 2 operation. Layer 3 selectors can be used when the
ETEP is in Layer 2 or Layer 3 mode. See
for a description of the command parameters.
policy-layer2-selector {<ethertype> <vlan>}
policy-selector <remote-ip> <local-ip> <protocol> <remote-port> <local-port>
6 Configure the SAs. Each policy requires an inbound and outbound SA. You can configure the inbound
and outbound SAs individually, or use the “any” attribute to create both SAs from a single command
.
See
for a description of the command parameters.
policy-manual-key {<direction> <spi> <encryptionAlgorithm>
<authenticationAlgorithm> <encryptionKey> <authenticationKey>}
7 Assign a unique priority to the policy. Policies are enforced in descending order with the highest
priority policy processed first. Each policy must have a unique priority. Valid values are 65001-65500.
policy-priority <priority>
After configuring your policies, the next steps are to review the pending changes, backup the policy file,
and then deploy the policies. See
“Policy Deployment” on page 72
to learn how.
Table 37
Manual key policy commands
Command
Description
policy-layer2-
selector
<ethertype> <vlan>
This command configures Layer 2 selectors. It is valid only when the ETEP is
configured for Layer 2 operation.
Ethertype
The Ethertype can be entered as a hexadecimal or decimal value.
Hexadecimal values must be preceded by 0x. Enter “any” to accept any
Ethertype
.
VLAN ID
{<vlanID> | any}
Enter a VLAN ID in the range of 1–4094, or enter “any” to accept any VLAN ID.
Содержание ET0010A
Страница 7: ...8 ETEP CLI User Guide Contents...
Страница 15: ...Getting Started 16 ETEP CLI User Guide...
Страница 33: ...User Administration 34 ETEP CLI User Guide...
Страница 55: ...Configuring the ETEP 56 ETEP CLI User Guide...
Страница 97: ...Creating Policies 98 ETEP CLI User Guide...
Страница 101: ...Maintenance 102 ETEP CLI User Guide...
Страница 119: ...Troubleshooting 120 ETEP CLI User Guide...
Страница 123: ...FIPS 140 2 Level 2 Operation 124 ETEP CLI User Guide...
Страница 205: ...Command Reference 206 ETEP CLI User Guide...
Страница 211: ...Index 212 ETEP CLI User Guide...