vpn ip route—Configure an IPv4 static route in a VPN.
vManage Feature Template
For all Viptela devices:
Configuration ► Templates ► VPN
vpn vpn-id ip route prefix/length next-hop [administrative-distance]
- Address of Static Route
IP address or prefix, in decimal four-part-dotted notation, and prefix length of the static route.
- Administrative Distance of Route
Assign an administrative distance to the route. This value is used to determine the best route when multiple paths exist to the same destination.
Range: 1 through 255
- Next Hop towards the Destination
IP address of the next hop to reach the static route. The next hop can be one of the following:
• ip-address—IP address of the next-hop router.
• null0—Next hop is the null interface. All packets sent to this interface are dropped without sending any ICMP messages.
• vpn 0—Direct packets to the transport VPN. If NAT is enabled on the WAN interface, the packets can be forwarded to an Internet destination or other destination outside of the overlay network, effectively converting the vEdge router into a local Internet exit point. You must also enable NAT on a transport interface in VPN 0.
Configure a static route to the prefix 10.0.0.1/24 via the next hop at 10.10.0.1:
vpn 0 ip route 10.0.0.1/24 10.10.0.1
Command introduced in Viptela Software Release 14.1.