Specifications

Table Of Contents
vrf upgrade-cli
MP-895
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
After the upgrade to a multiprotocol VRF is complete, you can edit the VRF only with multiprotocol
VRF configuration commands.
Examples The following example shows how to upgrade a single-protocol VRF configuration named vrf1 to a
multi-AF VRF configuration and apply the common policies of vrf1 to all address families defined for
the VRF:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
!
Router(config)# vrf upgrade-cli multi-af-mode common-policies vr
f vrf1
You are about to upgrade to the multi-AF VRF syntax commands.
You will loose any IPv6 address configured on interfaces
belonging to upgraded VRFs.
Are you sure ? [yes]: yes
Number of VRFs upgraded: 1
Router(config)# exit
The following is an example of the single-protocol VRF configuration for VRF vrf1 before you enter the
vrf upgrade-cli command to upgrade to a multi-AF multiprotocol VRF configuration:
!
ip vrf vrf1
rd 1:1
route-target export 1:1
route-target import 1:1
interface Loopback1
ip vrf forwarding vrf1
ip address 10.3.3.3 255.255.255.255
This is an example of the multi-AF multiprotocol VRF configuration for VRF vrf1 after you enter the
vrf upgrade-cli command with the common-policies keyword:
!
vrf definition vrf1
rd 1:1
route-target export 1:1
route-target import 1:1
!
address-family ipv4
exit-address-family
!
interface Loopback1
vrf forwarding vrf1
ip address 10.3.3.3 255.255.255.255
Related Commands Command Description
show vrf Displays the defined VRF instances.
vrf definition Configures a VRF routing table instance and enters VRF configuration
mod
e.
vrf forwarding Associates a VRF instance with an interface or subinterface.