43-27
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
VPN Co-existence Between IPv4 and IPv6
Switch(config-router-af)#
neighbor 4000::2 activate
Switch(config-router-af)#
exit-address-family
VPN Co-existence Between IPv4 and IPv6
With Release IOS XE 3.5.0E and IOS 15.2(1)E, we provide backward compatibility between the “older”
CLI for configuring IPv4 and the “new” CLI for IPv6. This means that a configuration might contain
both CLI. The IPv4 CLI retains the ability to have on the same interface, an IP address defined within a
VRF as well as an IPv6 address defined in the global routing table.
For example:
vrf definition red
rd 100:1
address family ipv6
route-target both 200:1
exit-address-family
!
ip vrf blue
rd 200:1
route-target both 200:1
!
interface Ethernet0/0
vrf forwarding red
ip address 50.1.1.2 255.255.255.0
ipv6 address 4000::72B/64
!
interface Ethernet0/1
ip vrf forwarding blue
ip address 60.1.1.2 255.255.255.0
ipv6 address 5000::72B/64
In this example, all addresses (v4 and v6) defined for Ethernet0/0 refer to VRF red whereas for
Ethernet0/1, the IP address refers to VRF blue but the ipv6 address refers to the global IPv6 routing table.
Migrating from the Old to New CLI Scheme
Prior to Release IOS XE 3.5.0E and IOS 15.2(1)E, you used the
ip vrf
command to configure vrf. With
Release IOS XE 3.5.0E and IOS 15.2(1)E, you use the new
vrf definition
command.
Henceforward, to incorporate IPv6 VRf configurations in addition to IPv4 configurations, you must
migrate
from the prior VRF CLI scheme using the following command:
Switch(config)#
vrf upgrade-cli multi-af-mode
{
common-policies
|
non-common-policies
} [
vrf
name
]
This command forces migration from
old
CLI for IPv4 VRF to the
new
VRF
multi-AF CLI. It is not
nvgen'd because the effect is “one-time” only (see BGP similar command " bgp upgrade-cli ").
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...