1. Verify the underlay and the existing CORP VRF on each router.
show ip interface brief
show vrf
show ip route
show running-config interface Tunnel0
2. Configure R10. Create CORP with an IPv4 address family only if it is absent.
configure terminal
interface Tunnel0
vrf forwarding CORP
ip address 10.100.100.1 255.255.255.0
tunnel source Ethernet0/1
tunnel destination 10.10.2.1
tunnel mode gre ip
no shutdown
exit
ip route vrf CORP 10.101.2.0 255.255.255.0 10.100.100.2
end
copy running-config startup-config
3. Configure R20.
configure terminal
interface Tunnel0
vrf forwarding CORP
ip address 10.100.100.2 255.255.255.0
tunnel source Ethernet0/2
tunnel destination 10.10.1.1
tunnel mode gre ip
no shutdown
exit
ip route vrf CORP 10.100.1.0 255.255.255.0 10.100.100.1
end
copy running-config startup-config
4. For the IPsec variant only, attach the preconfigured profile on both routers.
configure terminal
interface Tunnel0
tunnel protection ipsec profile MyProfile
exit
end
copy running-config startup-config
5. Verify the VRF routes and encrypted traffic when applicable.
show interfaces Tunnel0
show ip route vrf CORP
ping vrf CORP 10.101.2.1
show crypto ipsec sa
The tunnel carries the CORP overlay, while the external Ethernet interfaces remain in the global transport routing table unless an explicit transport VRF is required. Tunnel source and destination addresses must be reachable independently of the tunnel; otherwise recursive routing can prevent operation. Assigning VRF forwarding removes an existing interface IP address, so configure the tunnel address afterward. Static routes within CORP direct each remote VLAN to the opposite tunnel endpoint and prevent leakage into the global table. The connected VLAN interfaces and their local forwarding state should already exist; verify them before changing unrelated configuration. In the alternative exhibit requiring encryption, attach the existing IPsec profile at both tunnel endpoints. GRE alone does not provide confidentiality. Successful VRF-aware end-to-end ping and, for the encrypted variant, incrementing IPsec counters validate the result.
Study Guide Reference: Cisco Press Portable Command Guide, Chapter 13 — Overlay Tunnels and VRF, GRE and VRF-Lite (pp. 325–330, 343–345).