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

Options

Address of Static Route
prefix/length
IP address or prefix, in decimal four-part-dotted notation, and prefix length of the static route.
Administrative Distance of Route
administrative-distance
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
next-hop
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

Example

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

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
​nat

  • Was this article helpful?