4-36
z To run OSPF, a router must have a router ID specified. If no router ID is specified, the system will
automatically select one of the router interface IP addresses as the router ID.
z If a router runs multiple OSPF processes, you are recommended to specify a router ID for each
process by using the ospf command.
Examples
# Enable OSPF process 120, with the Router ID being 10.110.1.8.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] router id 10.110.1.8
[Sysname] ospf 120 router-id 10.110.1.8
[Sysname-ospf-120]
ospf authentication-mode
Syntax
ospf authentication-mode { simple password | md5 key-id key }
undo ospf authentication-mode { simple | md5 }
View
Interface view
Parameters
simple: Plain authentication.
md5: MD5 authentication.
password: Password of plain. The password argument is a string of up to eight characters.
key-id: ID of the authentication key in MD5 authentication mode, ranging from 1 to 255.
key: MD5 authentication key. If it is input in a plain text form, MD5 key is a string of 1 to 16 characters.
It is displayed in a cipher text form with 24 characters in length when the display
current-configuration command is executed. Inputting the MD5 key in a cipher text form with 24
characters in length is also supported.