Cisco Cisco IOS Software Release 12.2(33)SRE
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
MPLS VPN—VRF CLI for IPv4 and IPv6 VPNs
Configuration Examples for MPLS VPN—VRF CLI for IPv4 and IPv6 VPNs
14
Cisco IOS Release 12.2(33)SRB
Configuration Examples for MPLS VPN—VRF CLI for IPv4 and
IPv6 VPNs
IPv6 VPNs
The following examples show how to use the VRF CLI provided by the MPLS VPN—VRF CLI for IPv4
and IPv6 VPNs feature to migrate from a single-protocol VRF to a multiprotocol VRF configuration:
and IPv6 VPNs feature to migrate from a single-protocol VRF to a multiprotocol VRF configuration:
•
•
•
Step 3
vrf upgrade-cli
multi-af-mode {common-policies
| non-common-policies} [vrf vrf-name]
Example:
Router(config)# vrf upgrade-cli multi-af-mode
common-policies vrf vpn4
Upgrades a VRF instance or all VRFs configured on the
router to support multiple address families under the same
VRF.
router to support multiple address families under the same
VRF.
•
The multi-af-mode keyword specifies an upgrade of a
single-protocol VRF or all VRFs to a multiprotocol
VRF that supports multi-AFs configuration.
single-protocol VRF or all VRFs to a multiprotocol
VRF that supports multi-AFs configuration.
•
The common-policies keyword specifies to copy the
route-target policies to the common part of the VRF
configuration so that the policies apply to all address
families configured in the multi-AF VRF.
route-target policies to the common part of the VRF
configuration so that the policies apply to all address
families configured in the multi-AF VRF.
•
The non-common-policies keyword specifies to copy
the route-target policies to the IPv4 address family part
of the VRF configuration so that the policies apply only
to IPv4.
the route-target policies to the IPv4 address family part
of the VRF configuration so that the policies apply only
to IPv4.
•
The vrf keyword specifies a VRF for the upgrade to a
multi-AF VRF configuration.
multi-AF VRF configuration.
•
The vrf-name argument is the name of the
single-protocol VRF to upgrade to a multi-AF VRF
configuration.
single-protocol VRF to upgrade to a multi-AF VRF
configuration.
Step 4
exit
Example:
Router(config)# exit
Exits to privileged EXEC mode.
Step 5
show running-config vrf
[vrf-name]
Example:
Router# show running-config vrf vpn4
Displays the subset of the running configuration of a router
that is linked to a specific VRF instance or to all VRFs
configured on the router.
that is linked to a specific VRF instance or to all VRFs
configured on the router.
•
The vrf-name argument is the name of the VRF of
which you want to display the configuration.
which you want to display the configuration.
Note
The Cisco IOS image that supports the
multiprotocol VRF commands might not support
the show running-config vrf command. You can
use the show running-config command instead.
multiprotocol VRF commands might not support
the show running-config vrf command. You can
use the show running-config command instead.
Command or Action
Purpose