Skip to main content
Cisco SD-WAN
Product Documentation
Viptela Documentation

ip gre-route

vpn ip gre-route—Configure a GRE-specific static route in a service VPN (a VPN other than VPN 0 or VPN 512) to direct traffic from the service VPN to a GRE tunnel (on vEdge routers only).

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► VPN

Command Hierarchy

vpn vpn-id
  ip gre-route prefix/length vpn 0 interface grenumber [grenumber2]


GRE Interface Name
grenumber [grenumber2]
Name of the GRE tunnel used to reach the service. If you configure two interfaces, the first is the primary GRE tunnel, and the second is the backup. All packets are sent only to the primary tunnel. If that tunnel fails, all packets are then sent to the secondary tunnel. If the primary tunnel comes back up, all traffic is moved back to the primary GRE tunnel
Prefix of GRE Static Route
IP address or prefix, in decimal four-part-dotted notation, and prefix length of the GRE-specific static route.


Configure a GRE-specific static route so that traffic from the network can reach the GRE interfaces in VPN 0:

vEdge# show running-config
vpn 0
  interface gre1
    ip address
    keepalive 60 10
    no shutdown
  interface gre2
    ip address
    no shutdown
vpn 1
  ip gre-route vpn 0 interface gre1 gre2

Release Information

Command introduced in Viptela Software Release 15.4.3.​

Additional Information

See the Configuring Interfaces article and the Administrative Distance section in the Unicast Overlay Routing article for your software release.
ip route

  • Was this article helpful?