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

ip route

vpn ip route—Configure an IPv4 static route in a VPN.

vManage Feature Template

For all Viptela devices:

Configuration ► Templates ► VPN

Command Hierarchy

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
Default: 1
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.

Operational Commands

show ip routes (for IPv4 routes)
show ipv6 routes


Configure a static route to the prefix via the next hop at

vpn 0
  ip route

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

See the Administrative Distance section in the Unicast Overlay Routing article for your software release.
ip gre route
ipv6 route

  • Was this article helpful?