586
C
HAPTER
6: R
OUTING
P
ROTOCOL
Enable OSPF process 120 to run OSPF.
[3Com] router id 10.110.1.8
[3Com] ospf 120
[3Com-ospf-120]
ospf
authentication-mode
Syntax
ospf authentication-mode { simple
password |
md5
key-id key
}
undo ospf authentication-mode { simple
|
md5
}
View
Interface view
Parameter
■
simple password: Character string not exceeding 8 characters using simple text
authentication.
■
key-id: ID of the authentication key in MD5 cipher text authentication mode in
the range from 1 to 255.
■
key: MD5 authentication key. If it is input in a simple form, MD5 key is a
character string of 1 to 16 characters. And it will be displayed in a cipher text
form in a length of 24 characters when display current-configuration command
is executed. Inputting the 24-character MD5 key in a cipher text form is also
supported.
Description
Using the ospf authentication-mode command, you can configure the
authentication mode and key between adjacent routers. Using the undo ospf
authentication-mode command, you can cancel the authentication key that has
been set.
By default, the interface does not authenticate the OSPF packets.
The passwords for authentication keys of the routers on the same network
segment must be identical. In addition, using authentication-mode command, you
can set the authentication type of the area authentication key so as to validate the
configuration.
For the related command, see authentication-mode.
Example
Set the area 1 where the network segment 131.119.0.0 of Interface serial1/0/0 is
located to support MD5 cipher text authentication. The authentication key
identifier is set to 15 and the authentication key is 3Com.
[3Com-ospf-1] area 1
[3Com-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[3Com-ospf-1-area-0.0.0.1] authentication-mode md5
[3Com-ospf-1-area-0.0.0.1] interface serial 1/0/0
[3Com-Serial1/0/0] ospf authentication-mode md5 15 3Com
ospf cost
Syntax
ospf cost
value
undo ospf cost
Содержание Router 3031
Страница 6: ......
Страница 396: ...396 CHAPTER 4 LINK LAYER PROTOCOL Example Set the parameter of X 29 to 10 seconds 3Com x29 timer inviteclear time 10...
Страница 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Страница 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...