Information About GRE Tunnel IP Source and Destination VRF
Membership
This feature allows you to configure the source and destination of a tunnel to belong to any Virtual Private
Network (VPN) routing and forwarding (VRF) table. A VRF table stores routing data for each VPN. The
VRF table defines the VPN membership of a customer site attached to the network access server (NAS). Each
VRF table comprises an IP routing table, a derived Cisco Express Forwarding (CEF) table, and guidelines
and routing protocol parameters that control the information that is included in the routing table.
Previously, GRE IP tunnels required the IP tunnel destination to be in the global routing table. The
implementation of this feature allows you to configure a tunnel source and destination to belong to any VRF.
As with existing GRE tunnels, the tunnel becomes disabled if no route to the tunnel destination is defined.
How to Configure GRE Tunnel IP Source and Destination VRF
Membership
Follow these steps to configure GRE Tunnel IP Source and Destination VRF Membership:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Step 2
Example:
Device# configure terminal
Enters interface configuration mode for the specified
interface.
interface tunnelnumber
Example:
Device(config)# interface tunnel
0
Step 3
•
number is the number associated with the tunnel
interface.
Associates a virtual private network (VPN) routing and
forwarding (VRF) instance with an interface or
subinterface.
ip vrf forwardingvrf-name
Example:
Device(config-if)# ip vrf
forwarding green
Step 4
•
vrf-name is the name assigned to a VRF.
Specifies the interface IP address and subnet mask.
ip addressip-address subnet-mask
Step 5
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
206
Configuring Generic Routing Encapsulation(GRE) Tunnel IP Source and Destination VRF Membership
Information About GRE Tunnel IP Source and Destination VRF Membership