Switch 7700 Command reference Guide, v2.0

Table Of Contents
150 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
Example
To enable the running of the OSPF protocol, enter the following:
[SW7700]ospf
ospf
authentication-mode
Syntax
ospf authentication-mode { simple password | md5 key_id key }
undo ospf authentication-mode { simple | md5 }
View
VLAN interface view
Parameter
simple password Enter a password of no more than 8 characters.
key_id Enter the ID of the MD5 authentication key, in the range from 1 to 255.
key Enter the MD5 authentication key. You can enter this either as plain text, in
no more than 16 characters. And it is displayed in a cipher text form in a length of
24 characters. Inputting the MD5 key in a cipher text form with 24 characters long
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 set
authentication key. By default, the interface does not authenticate the OSPF
packets.
The passwords for the authentication keys of routers on the same network
segment must be identical. In addition, if you use this command with the
authentication-mode command, you can set the authentication type of an area
(see the example below).
Related command: authentication-mode.
Example
Area 1 is where the network segment 131.119.0.0 of Interface Vlan-interface 1 is
located. To set this area to support MD5 cipher text authentication, with an
authentication key identifier of 15 and an authentication key of 3Com, enter the
following:
[SW7700-ospf]area 1
[SW7700-ospf-area-0.0.0.1]network 131.119.0.0 0.0.255.255
[SW7700-ospf-area-0.0.0.1]authentication-mode md5
[SW7700-Vlan-interface1]ospf authentication-mode md5 15 3Com
ospf cost Syntax
ospf cost value
undo ospf cost