Creating Policies
84
ETEP CLI User Guide
Example
The following example adds two policies. The first policy is named MyPolicy, and the second one is
named TestPolicy.
admin>
configure
config>
management-interface
man-if
> ipsec-config
ipsec-config>
policy-add MyPolicy
ipsec-config>
policy-add TestPolicy
Configuring an IKE Encryption Policy
In an IKE encryption policy, a security association is negotiated using automatically generated keys
(IKE). You must define the following:
●
IP address of the peer at the opposite end of the secure tunnel
●
Which traffic to protect (selectors)
●
How to protect it (transform sets)
To define an IKE encryption policy:
1 Enter IPsec configuration mode.
admin> configure
config> management-interface
man-if> ipsec-config
ipsec-config>
2 Add a policy name, if you haven’t already done so (see
“Assigning Policy Names” on page 83
).
policy-add <name>
3 At the
ipsec-config>
prompt, enter policy-config mode. As part of the command you will need to
enter the name of a policy that has been added.
ipsec-config> policy-config <name>
4 Set the
policy-action
command to “protect” to indicate that this is an encryption policy.
policy-action protect
5 Set the
policy-keying
command to “ike” for automatic key generation.
policy-keying ike
6 Configure the
policy-ike-peer
command to identify the peer at the opposite end of the secure tunnel.
Enter the peer’s remote port IP address in IPv4 or IPv6 format.
policy-ike-peer <ip>
7 Define the policy selectors, which determine which traffic the policy acts on. See
for a
description of the command parameters. The ETEP accepts either IPv4 or IPv6 addresses in the
selector, but not simultaneously. In a given selector, the address type must be consistent (either IPv4
or IPv6).
policy-selector <remote-ip> <local-ip> <protocol> <remote-port> <local-port>
8 Define the IKE and IPsec transforms, which determine how to protect the selected traffic. In the
current implementation, the proposal is limited to one encryption algorithm and one hash algorithm.
See
for a description of the command parameters.
policy-ike-ipsec <transform-type> [encryption-algorithm] [authentication-
algorithm]
Содержание 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...