Skip to main content
Cisco SD-WAN
Support
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]

Options

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
prefix/length
IP address or prefix, in decimal four-part-dotted notation, and prefix length of the GRE-specific static route.

Example

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

vEdge# show running-config
vpn 0
  interface gre1
    ip address 10.0.111.11/24
    keepalive 60 10
    tunnel-source 10.0.5.11
    tunnel-destination 172.168.1.1
    no shutdown
  !
  interface gre2
    ip address 10.0.122.11/24
    tunnel-source 10.0.5.11
    tunnel-destination 172.168.122.11
    no shutdown
  !
!
vpn 1
  ip gre-route 58.0.1.0/24 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
keepalive
nat

  • Was this article helpful?