Assigning a VRF Routing Instance to a GRE Tunnel Interface

A GRE tunnel interface can be assigned to an existing user defined VRF. When the VRF is configured on a tunnel, all IPv4 and IPv6 addresses are removed. The tunnel loopback configuration is removed.

The following example assigns the VRF named VRF1 to tunnel 1.

device# configure terminal
device(config)# interface tunnel 1
device(config-tnif-l)# vrf forwarding VRF1