ip route
Adds a static route.
Syntax
[no] ip route <network-prefix> <netmask> <netmask-length> <next-hop-ip-address>
Parameters
<network-prefix> | Network prefix. |
<netmask> | Netmask, for example: 255.255.255.0. |
<netmask-length> | Netmask length: for example, /24. |
<next-hop-ip-address> | Next-hop IP address. |
Usage
The no command option disables the static route. If no ip route is run with only a network prefix and mask, it deletes all routes for that prefix.
Example
amnesiac (config) # ip route 192 193.166.0/24 10.10.10.1
Product
SCC, Interceptor, Client Accelerator, SteelHead CX, SteelHead-c, SteelHead-v, SteelHead-c
Related Commands