< Home

(Optional) Enabling Dependency Between IPSec SA and IKE SA During IKEv1 Negotiation

Context

By default, no dependency exists between IPSec SA and IKE SA, that is, the two SAs can be deleted separately. If the IKE SA is deleted but the corresponding IPSec SA still exists, traffic forwarding will be effected. You can enable dependency between IPSec SA and IKE SA to ensure that an IPSec SA is deleted when its corresponding IKE SA is deleted.

The system supports two configuration modes: global configuration and configuration on an IKE peer. Parameters configured on an IKE peer take precedence over those configured globally. When parameters are not configured on an IKE peer, the global parameter settings take effect.

Procedure

  • Global configuration
    1. Run system-view

      The system view is displayed.

    2. Run ikev1 phase1-phase2 sa dependent

      Dependency between IPSec SA and IKE SA during IKEv1 negotiation is enabled.

      By default, no dependency exists between IPSec SA and IKE SA during IKEv1 negotiation.

  • Configuration on an IKE peer
    1. Run system-view

      The system view is displayed.

    2. Run ike peer peer-name

      An IKE peer view is displayed.

    3. Run ikev1 phase1-phase2 sa dependent

      Dependency between IPSec SA and IKE SA during IKEv1 negotiation is enabled.

      By default, no dependency exists between IPSec SA and IKE SA during IKEv1 negotiation.

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