Release 1.0 | IP Commands |
|
|
ip route
The ip route command is used to configure a static route when the router cannot dynamically build a route to the specific destination or if the route must be in place permanently. The no ip route command remove a static route.
Group Access
ISP
Command Mode
Global Configuration
Command Line Usage
ip route <A.B.C.D> <A.B.C.D> {<A.B.C.D> null
no ip route <A.B.C.D> <A.B.C.D> {<A.B.C.D> null
Command Syntax
A.B.C.D | static route destination prefix |
A.B.C.D | static route destination prefix mask |
A.B.C.D | the forwarding router's IP address |
null | null slot and port, valid values 0 and 0 |
administrative distance, default value 1 | |
tag | match value to control |
| redistribution, valid values 1 to 4294967295 |
Command Default
Administrative distance = 1
MGBI |