Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
3-20
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 3 Configuring OSPFv2
Configuring Basic OSPFv2
Configuring Authentication for an Interface
You can configure authentication for individual interfaces in the area. Interface authentication
configuration overrides area authentication.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv2 Feature” section on
page 3-13).
Ensure that all neighbors on an interface share the same authentication configuration, including the
shared authentication key.
Create the key-chain for this authentication configuration. See the Cisco Nexus 7000 Series NX-OS
Security Configuration Guide, Release 5.x.
SUMMARY STEPS
1. configure terminal
2. interface interface-type slot/port
3. no switchport
4. ip ospf authentication [message-digest]
5. (Optional) ip ospf authentication key-chain key-id
Step 5
no switchport
Example:
switch(config-if)# no switchport
Configures the interface as a Layer 3 routed interface.
Step 6
ip ospf authentication-key [0 | 3] key
Example:
switch(config-if)# ip ospf
authentication-key 0 mypass
(Optional) Configures simple password authentication
for this interface. Use this command if the
authentication is not set to key-chain or
message-digest. 0 configures the password in clear
text. 3 configures the password as 3DES encrypted.
ip ospf message-digest-key key-id md5 [0
| 3] key
Example:
switch(config-if)# ip ospf
message-digest-key 21 md5 0 mypass
(Optional) Configures message digest authentication
for this interface. Use this command if the
authentication is set to message-digest. The key-id
range is from 1 to 255. The MD5 option 0 configures
the password in clear text and 3 configures the pass key
as 3DES encrypted.
Step 7
show ip ospf instance-tag interface
interface-type slot/port
Example:
switch(config-if)# show ip ospf 201
interface ethernet 1/2
(Optional) Displays OSPF information.
Step 8
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose