F3215-HP Load Balancing Module Network Management Command Reference-6PW101

223
simple: Enables simple authentication.
key-id: Specifies a key ID in the range of 1 to 255.
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.
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 gigabitethernet0/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 cost
Use ospf cost to set an OSPF cost for an interface.