Chapter 3
Configuring OSPFv2
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
6.
7.
8.
9.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
no switchport
Example:
switch(config-if)# no switchport
Step 4
ip ospf authentication [message-digest]
Example:
switch(config-if)# ip ospf
authentication
Step 5
ip ospf authentication key-chain
key-name
Example:
switch(config-if)# ip ospf
authentication key-chain Test1
Step 6
ip ospf authentication-key [0 | 3 | 7]
key
Example:
switch(config-if)# ip ospf
authentication-key 0 mypass
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) ip ospf authentication-key [0 | 3] key
(Optional) ip ospf message-digest-key key-id md5 [0 | 3] key
(Optional) show ip ospf instance-tag interface interface-type slot/port
(Optional) copy running-config startup-config
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Purpose
Enters configuration mode.
Enters interface configuration mode.
Configures the interface as a Layer 3 routed interface.
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.
(Optional) Configures interface authentication to use
key chains for OSPFv2. See the Cisco Nexus 3000
Series NX-OS Security Configuration Guide, for
details on key chains.
(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.
•
(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.
•
Configuring Basic OSPFv2
3-21