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
Adding the Interface MTU into DD Packets
Generally, when an interface sends a DD packet, it adds 0 into the Interface MTU field of the DD packet
rather than the interface MTU.
Follow these steps to add the interface MTU into DD packets:
To do...
Enter system view
Enter interface view
Enable OSPF to add the
interface MTU into DD packets
Configuring the Maximum Number of External LSAs in LSDB
Follow these steps to configure the maximum number of external LSAs in the Link State Database:
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
Use the command...
system-view
interface interface-type
interface-number
ospf mtu-enable
1-41
Remarks
—
—
—
Required
Not configured by
default.
—
—
—
Either is required.
Not configured by
default.
Remarks
—
—
Optional
Not enabled by default; that is,
the interface fills in a value of 0.