Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-42
3.1.36 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
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 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 to set the
authentication type of the area authentication key 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 serial1/0/0 is
located to support MD5 cipher text authentication. The authentication key identifier is
set to 15 and the authentication key is Huawei.
[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 Huawei