Creates an OSPF interface profile for an L3Out interface and configures an interface policy, OSPFv2 authentication, or an OSPFv3 IPsec policy.
An OSPF interface profile enables OSPF on an L3Out interface. You can associate the profile with an OSPF interface policy to control additional interface properties.
The following configuration errors generate faults and bring down the OSPF session:
-
The key-chain policy does not contain a preshared key.
-
The key-chain policy does not contain a key string.
-
The key-chain policy specifies an unsupported encryption algorithm, such as 3DES or AES.
If the send or accept lifetime expires and no key is active, the OSPF session goes down without generating a fault. The key-chain state under the OSPF interface changes to not-ready.
Before you begin
-
Install the Cisco ACI fabric. Ensure that the Cisco APIC controllers are online and that the cluster is formed and healthy.
-
Obtain a Cisco APIC fabric-administrator account that can create the required fabric infrastructure configuration.
-
Register the target leaf switches in the Cisco ACI fabric, and verify that they are available.
-
If the L3Out interfaces use port channels, configure the port channels.
Procedure
-
From the menu bar, choose .
-
In the Work pane, double-click the tenant name.
-
In the Navigation pane, expand .
-
In the Name field, enter a profile name that contains 1 through 64 alphanumeric characters.
Note
You cannot change the name after you save the profile.
-
In the Description field, enter a description that contains up to 128 alphanumeric characters.
-
In the Target Interface Policy Name field, enter a policy name that contains 1 through 64 alphanumeric characters.
Note
You cannot change the policy name after you save the profile.
-
To use simple or MD5 authentication for OSPFv2, configure the authentication fields:
- In the OSPFv2 Authentication Key field, enter an authentication key of up to eight characters.
The key must match on every router that connects to the interface.
Note
To use simple authentication, configure the OSPF authentication type for the entire area as Simple. The default is None.
- In the Confirm OSPFv2 Authentication Key field, reenter the authentication key.
- In the OSPFv2 Authentication Key ID field, enter the authentication key ID.
- From the OSPFv2 Authentication Type field, select an authentication type.
-
None: Does not authenticate OSPF neighbors. This value is the default.
-
Simple: Uses the value in the OSPFv2 Authentication Key field. Configure the same authentication type and key on every router in the OSPF area.
-
MD5: Uses the MD5 message-digest algorithm so that the password does not traverse the network. Configure MD5 authentication throughout the OSPF area.
-
To use key-chain authentication for OSPFv2, select a policy from the OSPFv2 KeyChain Policy field.
An OSPFv2 key-chain policy supports HMAC-SHA, simple, and MD5 authentication and can contain multiple keys. To rotate keys, configure a lifetime for each key. When a key lifetime expires, OSPF uses the next active key.
If you do not specify an algorithm, OSPF uses MD5 as the default cryptographic authentication algorithm.
Note
A new key is preferred over existing keys.
An OSPFv2 key-chain policy overrides the value in the OSPFv2 Authentication Type field.
-
For OSPFv3, select an IPsec policy from the OSPFv3 IPsec Policy field. To create a policy, see Create an OSPF IPsec policy .
-
Click Submit.
The OSPF interface profile is created and associated with the selected authentication or IPsec policy.
What to do next
To configure rotating keys for the OSPFv2 key-chain policy, see Create a key policy .