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

69
Views
OSPF area view
Default command level
2: System level
Parameters
hmac-md5: Specifies HMAC-MD5 authentication.
md5: Specifies MD5 authentication.
simple: Specifies simple authentication.
key-id: Specifies the key ID in the range of 0 to 255.
cipher: Sets a ciphertext password.
plain: Sets a plaintext password.
password: Sets a password. This argument is case sensitive. In simple authentication mode, it is a
plaintext string of 1 to 8 characters, or a ciphertext string of 33 to 41 characters. In MD5/HMAC-MD5
authentication mode, it is a plaintext string of 1 to 16 characters, or a ciphertext string of 33 to 53
characters.
Usage guidelines
Use this command to configure MD5 or simple authentication for an OSPF area. 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.
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 OSPF Area 0 to use the MD5 authentication mode, and set the key ID to 15 and plaintext
authentication password to abc.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] authentication-mode md5 15 plain abc
# Configure OSPF Area 0 to use the simple authentication mode, and set the plaintext authentication
password to abc.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 0
[Sysname-ospf-100-area-0.0.0.0] authentication-mode simple plain abc
Related commands
ospf authentication-mode
bandwidth-reference (OSPF view)
Use bandwidth-reference to specify a reference bandwidth value for link cost calculation.
Use undo bandwidth-reference to restore the default value.