You have probably already discovered the way to do it but just in case:
The Tunnel interfaces are VRF-aware. There are two points to consider: first, in which VRF does the tunnel interface appear as an interface, and second, in which VRF should be used to look up the source and destination of the tunnel. The first point is determined by the usual "ip vrf forwarding" command, while the other is configured using the "tunnel vrf" statement.
Quoting from the IOS Interface and Hardware Component Command Reference:
The following example shows how to associate a VRF with a tunnel destination. The tunnel endpoint, 10.5.5.5 will be looked up in the blue VRF.
ip vrf forwarding green
ip address 10.3.3.3 255.255.255.0
tunnel source loop 0
tunnel destination 10.5.5.5
tunnel vrf blue
If you want to look up the source and destination IP addresses of the tunnel in the global routing table, simply omit the "tunnel vrf" command.
This document is an early notification of a behaviour change that will be introduced in IOS XR release 6.5.
IOS XR configuration principles relevant for this article are:
On router platforms all interfaces must be by defaul...
With XR 4.2.0 the ASR9000 is releasing a new line of hardware models. This amongst others is the RSP440, the next generation RSP with faster switch fabric along with Typhoon based Linecards, the next generation network processor.
The Cisco EPN system incorporates a network architecture designed to consolidate multiples services on a single Multiprotocol Label Switching (MPLS) transport network. This network is designed primarily based on Application ...