R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
262
No OSPF process is enabled by default.
You can enable multiple OSPF processes on a router and specify different Router IDs for these processes.
When using OSPF as the IGP for VPN implementation, you must bind the OSPF process with a VPN
instance.
Enabling OSPF first is required before performing other tasks.
Examples
# Enable OSPF process 100 and specify Router ID 10.10.10.1.
<Sysname> system-view
[Sysname] ospf 100 router-id 10.10.10.1
[Sysname-ospf-100]
ospf authentication-mode
Syntax
For MD5/HMAC-MD5 authentication:
ospf authentication-mode { hmac-md5 | md5 } key-id [ cipher | plain ] password
undo ospf authentication-mode { hmac-md5 | md5 } key-id
For simple authentication:
ospf authentication-mode simple [ cipher | plain ] password
undo ospf authentication-mode simple
View
Interface view
Default level
2: System level
Parameters
hmac-md5: HMAC-MD5 authentication.
md5: MD5 authentication.
simple: Simple authentication.
key-id: Authentication key ID, in the range 1 to 255.
cipher | plain: Plain or cipher password. If plain is specified, only plain password is supported and
displayed upon displaying the configuration file. If cipher is specified, both plain and cipher are
supported, but only cipher password is displayed when displaying the configuration file. If no keyword
is specified, the cipher type is the default for the MD5/HMAC-MD5 authentication mode, and the plain
type is the default for the simple authentication mode.
password: Password. Simple authentication: For plain type password, a plain password is a string of up
to 8 characters; for cipher type password, a plain password is a string of up to 8 characters, and a cipher
password is a string of up to 24 characters. MD5/HMAC-MD5 authentication: For plain type password,
a plain password is a string of up to 16 characters; for cipher type password, a plain password is a string
of up to 16 characters, and a cipher password is a string of up to 24 characters.
Description
Use the ospf authentication-mode command to set the authentication mode and key ID on an interface.