F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
356
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.
For secrecy, all keys and passwords, including keys and passwords configured in plain text, are saved in
cipher text.
If you do not provide the cipher or plain keyword, cipher applies to MD5/HMAC-MD5 authentication
mode and plain applies to simple authentication mode by default.
Examples
# Enable MD5 authentication for the network 131.119.0.0/16 in Area 1. Set the interface key ID to 15,
and plaintext authentication password to abc.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ospf authentication-mode md5 15 plain abc
# Enable simple authentication for the network 131.119.0.0/16 in Area 1. Set for the plaintext
authentication password to abc on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode simple
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/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