Send document comments to nexus7k-docfeedback@cisco.com.
7-29
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 7      Configuring OSPFv3
Configuring Advanced OSPFv3
BEFORE YOU BEGIN 
Create the necessary route maps used for redistribution.
Ensure that you have enabled the OSPF feature (see the “Enabling the OSPFv3 Feature” section on 
page 7-13).
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router ospfv3 instance-tag
3. address-family ipv6 unicast
4. redistribute {bgp id | direct | isis id | rip id | static} route-map map-name 
5. default-information originate [always] [route-map map-name] 
6. default-metric cost
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 ospfv3 
instance-tag
Example:
switch(config)# router ospfv3 201
switch(config-router)#
Creates a new OSPFv3 instance with the configured 
instance tag.
Step 3
address-family ipv6 unicast
Example:
switch(config-router)# address-family 
ipv6 unicast
switch(config-router-af)#
Enters IPv6 unicast address family mode. 
Step 4
redistribute {bgp 
id
 | direct | isis 
id
 
| rip 
id
 | static} route-map 
map-name
Example:
switch(config-router-af)# redistribute 
bgp route-map FilterExternalBGP
Redistributes the selected protocol into OSPFv3, 
through the configured route map. 
Note If you redistribute static routes, Cisco NX-OS 
also redistributes the default static route.