Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
3-21
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
6. (Optional) ip ospf authentication-key [0 | 3] key
7. (Optional) ip ospf message-digest-key key-id md5 [0 | 3] key
8. (Optional) show ip ospf instance-tag interface interface-type slot/port
9. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Enters interface configuration mode.
Step 3
no switchport
Example:
switch(config-if)# no switchport
Configures the interface as a Layer 3 routed interface.
Step 4
ip ospf authentication [message-digest]
Example:
switch(config-if)# ip ospf
authentication
Enables interface authentication mode for OSPFv2 for
either cleartext or message-digest type. Overrides
area-based authentication for this interface. All
neighbors must share this authentication type.
Step 5
ip ospf authentication key-chain
key-name
Example:
switch(config-if)# ip ospf
authentication key-chain Test1
(Optional) Configures interface authentication to use
key chains for OSPFv2. See the Cisco Nexus 7000
Series NX-OS Security Configuration Guide, Release
5.x, for details on key chains.
Step 6
ip ospf authentication-key [0 | 3 | 7]
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.
The options are as follows:
0—configures the password in clear text.
3—configures the pass key as 3DES encrypted.
7—configures the key as Cisco type 7 encrypted.
Step 7
ip ospf message-digest-key key-id md5 [0
| 3 | 7] 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 options are as
follows:
0—configures the password in clear text.
3—configures the pass key as 3DES encrypted.
7—configures the key as Cisco type 7 encrypted.