
www.raisecom.com
User Manual
42
Set successfully
5.4 ip route
[Command Format]
ip route A.B.C.D
A.B.C.D
A.B.C.D
[Function]
Add a route, use no command to delete one.
no ip route A.B.C.D
[Parameter]
A.B.C.D
:the first parameter is the IP address of the destination subnet or host in decimal with
dot.
A.B.C.D
:the second parameter is the IP address subnet mask of the destination subnet or host in
decimal with dot.
A.B.C.D
:the third parameter is the IP address of the gateway.
[Default]
N/A
[Command mode]
Global configuration mode
[Instructions]
The static routing is suitable in the simple network environment where routing protocol is not essential
or the routing must be configured by hand. The subnet mask is required to be continuous 1s from the
most important bit when it is in dot format such as 255.255.0.0 or 255.255.128.0 but not 255.0.255.0 or
255.1.0.0. If the priority is already configured in the routing, then the static routing will be replaced by
the dynamic routing in the case that the routing priority is higher than the Default priority of the static
routing. The Default static routing priority is 1 and is higher than that of any other dynamic routing. The
first parameter should be 0.0.0.0 when configure the Default routing of the system.
[Command Execute Echo]
Successfully add a route!
Information showed when adding a route is successfully.
Unsuccessfully add a route!
Information showed when adding a route is unsuccessfully.
[Application Example]
Add a route.
RC953-GESTM1(config)#
ip route
192.168.6.0 255.255.255.0 192.168.4.250
Successfully add a route
Delete a route.
RC953-GESTM1(config)#
no ip route
192.168.6.0 255.255.255.0