Configuring HMAC-SHA-1 or HMAC-SHA-256 authentication on an OSPFv2 interface
To configure HMAC-SHA-1 or HMAC-SHA-256 authentication on an OSPFv2 interface, complete
the following steps.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
interfacecommand and specify an interface. - Enter the
ip ospf authenticationcommand with the required authentication option and parameters. The following example enables HMAC-SHA-1 authentication with key ID 10 and key string "mypasswordkey".