H3C LS-3100-52P-OVS-H3 Operation Manual - page 575
1-37
Follow these steps to configure a router as a stub router:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [process-id | router-id
router-id | vpn-instance
instance-name ] *
—
Configure the router as a
stub router
stub-router
Required
Not configured by default.
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [process-id | router-id router-id |
vpn-instance instance-name ] *
—
Enter area view
area area-id
—
Configure the authentication
mode
authentication-mode { md5 | simple }
Required
Not configured by
default.
Exit to OSPF view
quit
—
Exit to system view
quit
—
Enter interface view
interface interface-type
interface-number
—
Configure the authentication
mode (simple authentication)
for the interface
ospf authentication-mode simple
[ cipher | plain ] password
Configure the authentication
mode (MD5 authentication) for
the interface
ospf authentication-mode
{ hmac-md5 | md5 } key-id [ cipher |
plain ] password
Either is required.
Not configured by
default.