Open Shortest Path First version 3 (OSPFv3) supports packet authentication, enabling routers to receive only the OSPFv3 packets that are authenticated. If packets fail to be authenticated, OSPFv3 neighbor relationships cannot be established. This section describes how to configure an authentication mode.
OSPFv3 supports keychain and HMAC-SHA256 authentications. The following procedure uses keychain authentication as an example.
Before you configure keychain authentication, run the keychain command to configure a keychain, the key-id command to configure a key ID, the key-string command to configure a password, and the algorithm command to configure an algorithm. If these commands are not run, OSPFv3 authentication fails.
By default, authentication is not configured for OSPF process, area or interface. Configuring authentication is recommended to ensure system security.