Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
3-30
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 3 Configuring OSPFv2
Configuring Advanced OSPFv2
This example shows how to create a simple virtual link between two ABRs.
The configuration for ABR 1 (router ID 27.0.0.55) is as follows:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# area 0.0.0.10 virtual-link 10.1.2.3
switch(config-router-vlink)# copy running-config startup-config
The configuration for ABR 2 (Router ID 10.1.2.3) is as follows:
switch# configure terminal
switch(config)# router ospf 101
switch(config-router)# area 0.0.0.10 virtual-link 27.0.0.55
switch(config-router-vlink)# copy running-config startup-config
Configuring Redistribution
You can redistribute routes learned from other routing protocols into an OSPFv2 autonomous system
through the ASBR.
You can configure the following optional parameters for route redistribution in OSPF:
Default information originate—Generates an AS External (type 5) LSA for a default route to the
external autonomous system.
Note Default information originate ignores match statements in the optional route map.
Default metric—Sets all redistributed routes to the same cost metric.
Note If you redistribute static routes, Cisco NX-OS also redistributes the default static route.
BEFORE YOU BEGIN
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv2 Feature” section on
page 3-13).
message-digest-key key-id md5 [0 | 3]
key
Example:
switch(config-router-vlink)#
message-digest-key 21 md5 0 mypass
(Optional) Configures message digest authentication for
this virtual link. Use this command if the authentication
is set to message-digest. 0 configures the password in
cleartext. 3 configures the pass key as 3DES encrypted.
retransmit-interval seconds
Example:
switch(config-router-vlink)#
retransmit-interval 50
(Optional) Configures the OSPFv2 retransmit interval, in
seconds. The range is from 1 to 65535. The default is 5.
transmit-delay seconds
Example:
switch(config-router-vlink)#
transmit-delay 2
(Optional) Configures the OSPFv2 transmit-delay, in
seconds. The range is from 1 to 450. The default is 1.
Command or Action Purpose