No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
dh

dh

Function

The dh command configures a Diffie-Hellman group used in IKE key negotiation.

By default, the 1024-bit Diffie-Hellman group (group2) is used in IKE negotiation.

Format

dh { group1 | group2 | group5 | group14 }

Parameters

Parameter

Description

Value

group1

Uses the 768-bit Diffie-Hellman group in IKE negotiation.

-

group2

Uses the 1024-bit Diffie-Hellman group in IKE negotiation.

-

group5

Uses the 1536-bit Diffie-Hellman group in IKE negotiation.

-

group14

Uses the 2048-bit Diffie-Hellman group in IKE negotiation.

-

Views

IKE proposal view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The Diffie-Hellman (DH) algorithm is a public key algorithm. The two communicating parties do not transmit a key but exchange data to calculate a shared key. A third party (such as a hacker) cannot calculate the actual key even if it intercepts all exchanged data for key calculation. The communicating parties exchange data to calculate a shared key but do not directly transmit a key.

Precautions

A DH group with more bits indicates higher encryption. A DH group with more bits has higher encryption but slower calculation. The 768-bit Diffie-Hellman group (group1) has potential security risks. The 2048-bit Diffie-Hellman group (group14) is recommended.

Both ends of an IPSec tunnel must use the same Diffie-Hellman group; otherwise, IKE negotiation fails.

If you run the dh command multiple times, only the latest configuration takes effect.

Example

# Configure IKE proposal 10 to use the 2048-bit Diffie-Hellman group.

<Huawei> system-view
[Huawei] ike proposal 10
[Huawei-ike-proposal-10] dh group14
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 35415

Downloads: 101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next