1144 CHAPTER 76: OSPF CONFIGURATION COMMANDS

For simple authentication:

ospf authentication-mode simple [ plain cipher ] password

undo ospf authentication-mode simple

View Interface view

Parameters md5: MD5 authentication. hmac-md5: HMAC-MD5 authentication. simple: Simple authentication.

key-id: Authentication key ID, in the range 1 to 255.

plain cipher : Plain or cipher password. If plain is specified, only plain password is supported and displayed upon displaying the configuration file. If cipher is specified, both plain and cipher are supported, but only cipher password is displayed when displaying the configuration file. If no keyword is specified, the cipher type is the default for the MD5/HMAC-MD5 authentication mode, and the plain type is the default for the simple authentication mode.

password: Password of plain or cipher. Simple authentication: For plain type password, a plain password is a string of up to 8 characters. For cipher type password, a plain password is a string of up to 8 characters, and a cipher password is a string of up to 24 characters. MD5/HMAC-MD5 authentication: For plain type password, a plain password is a string of up to 16 characters. For cipher type password, a plain password is a string of up to 16 characters, and a cipher password is a string of up to 24 characters.

Description Use the ospf authentication-modecommand to set the authentication mode and key ID on an interface.

Use the undo ospf authentication-modecommand to remove specified configuration.

By default, no authentication is available on an interface.

Interfaces attached to the same network segment must have the same authentication password and mode.

This configuration is not supported on the NULL interface.

Related commands: authentication-mode.

Examples # Configure the network 131.119.0.0/16 in area1 to support MD5 cipher authentication, and set the interface key ID to 15, authentication password to abc, and password type to cipher.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] area 1

Page 1144
Image 1144
3Com MSR 30, MSR 50 manual Related commands authentication-mode