How do I configure OSPF area authentication on the AR router

3

Run the system-view command to enter the OSPF view.
Run the ospf [ process-id ] command to enter the OSPF process view.
Run the area area-id command to enter the OSPF area view.
Run the authentication-mode simple [ plain plain-text | [ cipher ] cipher-text ] command to configure an authentication mode in the OSPF area.
plain specifies the plain-text password.
cipher specifies the cipher-text password. In MD5/HMAC-MD5 mode, the default value is cipher.
Run the authentication-mode { md5 | hmac-md5 | hmac-sha256 } [ key-id { plainplain-text | [ cipher ] cipher-text } ] command to configure an authentication mode in the OSPF area.
md5 indicates MD5 cipher-text authentication.
hmac-md5 indicates HMAC-MD5 cipher text authentication.
hmac-sha256 indicates HMAC-SHA256 cipher text authentication.
key-id specifies the ID in cipher text authentication.
Run the authentication-mode keychain keychain-name command to configure Keychain authentication in an OSPF area.
Notes:
To use the Keychain verification mode, configure the Keychain information in the system view. Ensure that the values of key-id, algorithm, and key-string in ActiveSendKey of the local and remote ends are the same so that OSPF neighbor relationships can be established.

Other related questions:
What is the relationship between OSPF interface authentication and area authentication
The basic principles of OSPF authentication are as follows: If authentication is configured on the interface, use the authentication on the interface. If null is configured on the interface, no authentication is performed on the interface. If no authentication is performed on the interface (Null does not mean that no authentication is configured), the authentication configured on the area is used. If no authentication is configured on the area, either, no authentication will be performed.

Configure OSPF special areas on S series switches
1. Configure a stub area. A stub area is a special area where ABRs do not flood received AS external routes, significantly reducing the routing table size and transmitted routing information of routers. A border area on an OSPF network is often configured as a stub area. For example, configure Area1 as a stub area. [SwitchA] ospf 1 [SwitchA-ospf-1] area 1 [SwitchA-ospf-1-area-0.0.0.1] stub [SwitchA-ospf-1-area-0.0.0.1] quit [SwitchA-ospf-1] quit Precautions: 1. To configure an area as a stub area, you must run the stub command on all the devices in this area. 2. To configure an area as a totally stub area, run the stub no-summary command on the ABR in this area and run the stub command on other devices in this area. This prevents the ABR from transmitting Type 3 LSAs to the stub area, making the area a totally stub area. 2. Configure an NSSA area. In an NSSA, an ABR does not flood AS external routes received from other areas, similar to the situation in a stub area. The difference is that an ABR can import and flood AS external routes to the entire OSPF domain. A border area connected to another AS on an OSPF network is often configured as an NSSA. For example, configure Area2 as an NSSA. [SwitchB] ospf 1 [SwitchB-ospf-1] area 2 [SwitchB-ospf-1-area-0.0.0.2] nssa [SwitchB-ospf-1-area-0.0.0.2] quit [SwitchB-ospf-1] quit Precautions: 1. To configure an area as an NSSA, you must run the nssa command on all the devices in this area. 2. To configure an area as a totally NSSA, run the nssa no-summary command on the ABR in this area and run the nssa command on other devices in this area. This prevents the ABR from transmitting Type 3 LSAs to the NSSA, making the area a totally NSSA.

What is the default management and authentication domain of the AR router
By default, the global administrative domain (authentication domain of the administrator) on the AR router is default_admin. You can run the domain domain-name admin command in the system view to modify the global default administrative domain.

How do I view the OSPF cost and Preference on the AR router
The display ospf lsdb command displays OSPF LSDB information. The display ospf brief command displays brieft OSPF information.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top