43-22
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 43      Configuring VRF-lite
Configuring VRF-lite for IPv6
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   1::/64 [0/0]
     via GigabitEthernet7/1, directly connected
L   1::2/128 [0/0]
     via GigabitEthernet7/1, receive
L   FF00::/8 [0/0]
     via Null0, receive
Switch#
For further examples, refer to
http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_16.html 
Configuring IPv6 VRF-lite
Beginning with Release IOS XE 3.5.0E and IOS 15.2(1)E, to support IPv6 VRF-lite, we transition from 
the ip vrf command to the “new” vrf definition command.
Configure VRFs
To configure one or more VRFs, perform this task:
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# ipv6 routing
Enables IPv6 routing.
Step 3
Switch(config)# vrf definition 
vrf-name
Names the VRF and enters VRF configuration mode.
Step 4
Switch(config-vrf)# address-family 
ipv4 | ipv6
(Optional) IPv4 by default. Configuration MUST for ipv6.
Step 5
Switch(config-vrf)# rd 
route-distinguisher
(Optional) Creates a VRF table by specifying a route 
distinguisher. Enter either an Autonomous System number 
and an arbitrary number (xxx:y) or an IP address and 
arbitrary number (A.B.C.D:y).
Step 6
Switch(config-vrf)# route-target 
{export | import | both} 
route-target-ext-community
(Optional) Creates a list of import, export, or import and 
export route target communities for the specified VRF. 
Enter either an AS system number and an arbitrary number 
(xxx:y) or an IP address and an arbitrary number 
(A.B.C.D:y).
Note This command is effective only if BGP is running.
Step 7
Switch(config-vrf)# import map 
route-map
(Optional) Associates a route map with the VRF.
Step 8
Switch(config-vrf)# interface 
interface-id
Enters interface configuration mode and specify the Layer 
3 interface to be associated with the VRF. The interface 
can be a routed port or SVI. 
Step 9
Switch(config-if)# ip vrf forwarding 
vrf-name
Associates the VRF with the Layer 3 interface.
Step 10
Switch(config-if)# end
Returns to privileged EXEC mode.