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
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 220.127.116.11/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 18.104.22.168 no shutdown ! interface gre2 ip address 10.0.122.11/24 tunnel-source 10.0.5.11 tunnel-destination 22.214.171.124 no shutdown ! ! vpn 1 ip gre-route 126.96.36.199/24 vpn 0 interface gre1 gre2
Command introduced in Viptela Software Release 15.4.3.