The exchange-mode command configures the IKEv1 phase 1 negotiation mode.
The undo exchange-mode command restores the default IKEv1 phase 1 negotiation mode.
By default, the main mode is used.
| Parameter | Description | Value |
|---|---|---|
aggressive |
Configures the aggressive mode. |
- |
main |
Configures the main mode. |
- |
auto |
Configures the auto-sensing mode. The main mode is used if the device serves as the initiator. If the device serves as the responder, both the main mode and aggressive mode can be used. |
- |
Two key exchange and negotiation modes are defined in IKEv1 phase 1: