< Home

(Optional) Configuring an IPSec Profile

Context

Data transmitted between the central office and a branch, and between branches can be encrypted to increase data security. Binding an IPSec profile to DSVPN can dynamically establish an mGRE over IPSec tunnel.

Before configuring an IPSec profile for DSVPN, you need to perform the following operations:

After completing the preceding configuration, perform the following operations on the Hub and Spokes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipsec profile profile-name

    An IPSec profile is created and the IPSec profile view is displayed.

  3. Run ike-peer peer-name

    An IKE peer is bound to the IPSec profile.

  4. Run proposal proposal-name

    An IPSec proposal is bound to the IPSec profile.

  5. (Optional) Run pfs { dh-group1 | dh-group2 | dh-group5 | dh-group14 | dh-group15 | dh-group16 | dh-group18 | dh-group19 | dh-group20 | dh-group21 | dh-group24 }

    The perfect forward secrecy (PFS) feature is used in IPSec negotiation.

    By default, PFS is not used in IPSec negotiation.

    If PFS is specified on the local end, you also need to specify PFS on the remote peer. The Diffie-Hellman groups specified on the two ends must be the same. Otherwise, the negotiation fails.

    In the DSVPN IPSec protection scenario, the IPSec profile must be applied to a tunnel interface, not to a physical interface.

  6. Run quit

    Return to the system view.

  7. Run interface tunnel interface-number

    The tunnel interface view is displayed.

  8. Run tunnel-protocol gre p2mp

    The tunnel encapsulation mode is configured.

  9. Run ipsec profile profile-name

    The tunnel interface is bound to an IPSec profile.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >