R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

113
cipher: Specifies a ciphertext password.
plain: Specifies a plaintext password.
password: Specifies a password. In simple authentication mode, a plaintext password is a case-sensitive
string of 1 to 8 characters, and a ciphertext password is a case-sensitive string of 1 to 41 characters. In
MD5/HMAC-MD5 authentication mode, a plaintext password is a case-sensitive string of 1 to 16
characters, and a ciphertext password is a case-sensitive string of 1 to 53 characters.
Usage guidelines
Interfaces attached to the same network segment must have the same authentication password and
mode.
Use this command to configure MD5 or simple authentication for an OSPF interface. For MD5/
HMAC-MD5 authentication, you can configure multiple passwords by executing this command multiple
times and each command must have a unique key ID, and one password.
For security purposes, all passwords, including passwords configured in plain text, are saved in cipher
text to the configuration file.
If you configure OSPF authentication for both an area and an interface in that area, the interface uses the
OSPF authentication configured on it.
Examples
# Configure the network 131.119.0.0/16 in Area 1 to support MD5 authentication, and set the interface
key ID to 15 and plaintext authentication password to abc.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ospf authentication-mode md5 15 plain abc
# Configure the network 131.119.0.0/16 in Area 1 to support simple authentication, and set the plaintext
authentication password to abc.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ospf authentication-mode simple plain abc
Related commands
authentication-mode
ospf bfd enable
Use ospf bfd enable to enable BFD for link failure detection on an OSPF interface.
Use undo ospf bfd enable to disable BFD on an OSPF interface.
Syntax
ospf bfd enable [ echo ]
undo ospf bfd enable
Default
BFD is not enabled on an OSPF interface.
Views
Interface view