Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-39
View
Interface view
Parameter
simple password:
Enables plain text authentication and specifies a password not
exceeding 8 characters.
key-id
: ID of the authentication key in MD5 authentication mode in the range from 1 to
255.
key:
MD5 authentication key. If it is input in a plain text form, MD5
key
is a character
string in the range 1 to 16 characters. It will be displayed in a cipher text form in a length
of 24 characters when the
display current-configuration
command is executed.
Inputting the MD5
key
in a cipher text form with 24 characters is also supported.
Description
Use the
ospf authentication-mode
command to configure the authentication mode
and key between adjacent routers.
Use the
undo ospf authentication-mode
command to cancel the authentication key
that has been set.
By default, the interface does not authenticate OSPF packets.
The passwords for authentication keys of the routers on the same network segment
must be identical. In addition, using the
authentication-mode
command, you can set
the authentication type of the area so as to validate the configuration.
Related command:
authentication-mode
.
Example
# Set the area 1 where the network segment 131.119.0.0 of Interface Vlan-interface 1 is
located to support MD5 cipher text authentication. The authentication key identifier is
set to 15 and the authentication key is Huawei.
[Quidway-ospf-1] area 1
[Quidway-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Quidway-ospf-1-area-0.0.0.1] authentication-mode md5
[Quidway-Vlan-interface1] ospf authentication-mode md5 15 Huawei
3.1.38 ospf cost
Syntax
ospf cost
value
undo ospf cost
View