Send document comments to nexus7k-docfeedback@cisco.com.
6-20
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 6 Configuring OSPFv2
Configuring Basic OSPFv2
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router ospf instance-tag
3. area area-id authentication [message-digest]
4. interface interface-type slot/port
5. ip ospf authentication-key [0 | 3] key
or
ip ospf message-digest-key key-id md5 [0 | 3] key
6. show ip ospf instance-tag interface interface-type slot/port
7. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router ospf instance-tag
Example:
switch(config)# router ospf 201
switch(config-router)#
Creates a new OSPFv2 instance with the configured
instance tag.
Step 3
area area-id authentication
[message-digest]
Example:
switch(config-router)# area 0.0.0.10
authentication
Configures the authentication mode for an area.
Step 4
interface interface-type slot/port
Example:
switch(config-router)# interface
ethernet 1/2
switch(config-if)#
Enters interface configuration mode.
Step 5
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.