H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-4
3.1.4 authentication-mode
Syntax
authentication-mode { simple | md5 }
undo authentication-mode
View
OSPF area view
Parameters
simple: Uses plain text authentication mode.
md5: Uses MD5 cipher text authentication mode.
Description
Use the authentication-mode command to configure an OSPF area to support the
authentication attribute.
Use the undo authentication-mode command to cancel the authentication attribute of
this area.
By default, an area does not support authentication attribute.
Routers in one area must use the same authentication mode (no authentication, plain
text authentication, or MD5 cipher text authentication). And routers on the same
segment must use the same authentication key.
Use the ospf authentication-mode simple command to configure a plain text
authentication key.
Use the ospf authentication-mode md5 command to configure the MD5 cipher text
authentication key if the area is configured to support MD5 cipher text authentication
mode.
Related commands: ospf authentication-mode.
Examples
# Enter area 0 view.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ospf 1
[H3C-ospf-1] area 0
# Specify the OSPF area 0 to support MD5 cipher text authentication.
[H3C-ospf-1-area-0.0.0.0] authentication-mode md5