Specifications

ip route
259
ip route
Sets a static route IPv4 address.
Syntax
To set or change information:
ip route <IP address> <Mask> <Next hop>
To delete information:
no ip route <IP address> <Mask> <Next hop>
Input mode
(config)
Parameters
<IP address>
Sets the destination IPv4 address for a static route.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
0.0.0.0 to 255.255.255.255
<Mask>
Sets the network mask for the destination IPv4 address for the static route.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
Subnet mask: 0.0.0.0 to 255.255.255.255 (bits must be contiguous)
<Next hop>
Sets the next hop address on the static route.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
Default behavior
None
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
None