3com 8807 Verweisanleitung
446
C
HAPTER
25: OSPF C
ONFIGURATION
C
OMMANDS
# Enable the OSPF process 120, bind the VPN instance and run the OSPF protocol.
[SW8800] ospf 120 router id 9.9.9.9 vpn-instance vpn9
[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: Enables plain text authentication and specifies a password not
exceeding 8 characters.
exceeding 8 characters.
key-id: ID of the authentication key in MD5 authentication mode in the range
from 1 to 255.
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.
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.
mode and key between adjacent routers.
Use the undo ospf authentication-mode command to cancel the
authentication key that has been set.
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.
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 3Com.
Vlan-interface 1 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-Vlan-interface1] ospf authentication-mode md5 15 3Com