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

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

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).
authentication-mode (OSPFv3)

authentication-mode (OSPFv3)

Function

The authentication-mode command configures an authentication mode and a password for an OSPFv3 process or area.

The undo authentication-mode command deletes the authentication mode and password configured for an OSPFv3 process or area.

By default, no authentication mode or password are configured for any OSPFv3 process or area.

Format

authentication-mode hmac-sha256 key-id key-id { plain plain-text | [ cipher ] cipher-text }

undo authentication-mode hmac-sha256 key-id key-id

Parameters

Parameter Description Value
hmac-sha256 Configures HMAC-SHA256 authentication. -
key-id key-id Specifies the key ID for authentication, which must be the same as the one configured at the other end. The value is an integer ranging from 1 to 65535.
plain Configures the plaintext password type. Only a plaintext password can be entered, and the password is displayed in plaintext in the configuration file.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

-
plain-text Specifies a plaintext password. The value is a string of 1 to 255 characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
cipher Configures the ciphertext password type. You can enter either a plaintext or ciphertext password, but the password is displayed in ciphertext in the configuration file. -
cipher-text Specifies a ciphertext password. The value can be a string of 1 to 255 characters for plaintext passwords and 20 to 432 characters for ciphertext passwords, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

OSPFv3 view or OSPFv3 area view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Due to inherent defects and flawed implementation of the TCP/IP protocol suite, there are an increasing number of attacks, which poses greater threats on TCP/IP networks than ever before. The attacks on network devices may lead to network failures. To configure an authentication mode and a password for an OSPFv3 process or area to improve OSPFv3 network security, run the authentication-mode command.

Precautions

If you use area authentication, the authentication and password configurations on the interfaces of all the routers in the area must be the same.

OSPFv3 area authentication has a lower priority than OSPFv3 interface authentication.

To configure OSPFv3 interface authentication, run the ospfv3 authentication-mode command.

Example

# Configure HMAC-SHA256 authentication for OSPFv3 process 100.

<HUAWEI> system-view 
[~HUAWEI] ospfv3 100
[*HUAWEI-ospfv3-100] authentication-mode hmac-sha256 key-id 10 cipher huawei

# Configure HMAC-SHA256 authentication for OSPFv3 area 0.

<HUAWEI> system-view 
[~HUAWEI] ospfv3 100
[*HUAWEI-ospfv3-100] area 0
[*HUAWEI-ospfv3-100-area-0.0.0.0] authentication-mode hmac-sha256 key-id 10 cipher huawei
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 50475

Downloads: 337

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