•
Use to specify an IPSec tunnel license.
NOTE:
Acquire the license from Juniper Networks Customer Services and Support or
from your Juniper Networks sales representative.
•
Example
host1(config)#
license ipsec-tunnels
license string
•
Use the
no
version to disable the license.
•
See license ipsec-tunnels.
Configuring IPSec Parameters
To configure IPSec:
1.
For each endpoint, create a transform set that provides the desired encryption and
authentication.
host1(config)#
ipsec transform-set customerAprotection esp-3des-hmac-sha
host1(config)#
ipsec transform-set customerBprotection ah-hmac-md5
2.
Add a preshared key that the routers use to authenticate each other.
host1(config)#
ipsec key manual pre-share 5.2.0.1
host1(config-manual-key)#
key customerASecret
After you enter a preshared key, the router encrypts the key and displays it in masked
form to increase the security of the key. If you need to reenter the key, you can enter
it in its masked form using this command.
To see the masked form of the key:
host1#
show config
ipsec key manual pre-share 10.10.1.1
masked-key “ AAAAGAAAAAcSAsaVQ6Qeopt2r0hX5cMO”
To enter the masked key:
host1(config-manual-key)#
masked-key
AAAAGAAAAAcSAsaVQ6Qeopt2r0hX5cMO
3.
Define the local endpoint used for ISAKMP/IKE negotiations for all IPSec tunnels in
the router.
host1(config)#
ipsec local-endpoint 10.10.1.1 transport-virtual-router vr#8
4.
(Optional) Set the global (default) lifetime for all SAs on the router.
host1(config)#
ipsec lifetime kilobytes 42000000
ipsec key manual pre-share
139
Copyright © 2010, Juniper Networks, Inc.
Chapter 5: Configuring IPSec
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...