VRF to Global Internet Access (IOS-XE)
#IOS-XE
config replace flash:vpnv4.inet.access.init.cfg
#IOS-XR
configure
load bootflash:vpnv4.inet.access.init.cfg
commit replace
y
Answer
Explanation
Verification


Last updated
#IOS-XE
config replace flash:vpnv4.inet.access.init.cfg
#IOS-XR
configure
load bootflash:vpnv4.inet.access.init.cfg
commit replace
y


Last updated
#R3
router bgp 100
add vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 inherit peer-policy IBGP
#R2
vrf definition VPN_A
rd 100:1
route-target export 100:1
route-target import 100:1
!
address-family ipv4
exit-address-family
!
ip route vrf VPN_A 0.0.0.0 0.0.0.0 10.1.2.1 global
!
router bgp 100
add vpnv4
neighbor 3.3.3.3 activate
add ipv4 vrf VPN_A
network 0.0.0.0 mask 0.0.0.0
!
ip access-list ext SOURCES
permit ip host 7.7.7.7 any
permit ip host 8.8.8.8 any
!
ip nat inside source list SOURCES int gi2.12 vrf VPN_A overload
!
int gi2.12
ip nat outside
int gi2.23
ip nat inside
int gi2.24
ip nat insideip route vrf VPN_A 0.0.0.0 0.0.0.0 10.1.2.1 globalip access-list ext SOURCES
permit ip host 7.7.7.7 any
permit ip host 8.8.8.8 any
!
ip nat inside source list SOURCES int gi2.12 vrf VPN_A overload
!
int gi2.12
ip nat outside
int gi2.23
ip nat inside
int gi2.24
ip nat inside