Configuring Ospf Authentication - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

Follow these steps to configure a router as a stub router:
To do...
Enter system view
Enter OSPF view
Configure the router as a
stub router
A stub router has nothing to do with a stub area.

Configuring OSPF Authentication

OSPF supports packet authentication to ensure the security of packet exchange.
After authentication is configured, OSPF only receives packets that pass authentication, so failed
packets cannot establish neighboring relationships.
To configure OSPF authentication, you need to configure the same area authentication mode on all the
routers in the area. In addition, the authentication mode and password for all interfaces attached to the
same area must be identical.
Follow these steps to configure OSPF authentication:
To do...
Enter system view
Enter OSPF view
Enter area view
Configure the authentication
mode
Exit to OSPF view
Exit to system view
Enter interface view
Configure the authentication
mode (simple authentication)
for the interface
Configure the authentication
mode (MD5 authentication) for
the interface
Use the command...
system-view
ospf [ process-id | router-id
router-id | vpn-instance
instance-name ] *
stub-router
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
area area-id
authentication-mode { md5 | simple }
quit
quit
interface interface-type
interface-number
ospf authentication-mode simple
[ cipher | plain ] password
ospf authentication-mode
{ hmac-md5 | md5 } key-id [ cipher |
plain ] password
1-37
Remarks
Required
Not configured by default.
Remarks
Required
Not configured by
default.
Either is required.
Not configured by
default.

Advertisement

Chapters

Table of Contents
loading

Table of Contents