tunnel vrf
To specify the virtual routing and forwarding (VRF) instance of the interfaces of the tunnel endpoints, use
the tunnel vrf command in tunnel interface configuration mode. To disassociate a VRF from the tunnel
endpoints, use the no form of this command.
tunnel vrf vrf-name
Syntax Description
The name of the VRF instance.
vrf-name
Command Default
The tunnel addresses are looked up in the default VRF instance, that is, the global routing table.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Release 5.2.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationTask ID
read, writetunnel
read, writeinterface
Examples
The following example shows the tunnel "tunnel-ip1" endpoints associated with the VRF instance "blue".
RP/0/RSP0/CPU0:router(config)# interface tunnel-ip1
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.3.3.3 255.255.255.0
RP/0/RSP0/CPU0:router(config-if)# keepalive 5 3
RP/0/RSP0/CPU0:router(config-if)# tunnel mode gre ipv4
RP/0/RSP0/CPU0:router(config-if)# tunnel source Loopback0
RP/0/RSP0/CPU0:router(config-if)# tunnel destination 10.5.5.5
RP/0/RSP0/CPU0:router(config-if)# tunnel vrf blue
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
59
Generic Routing Encapsulation Commands
tunnel vrf