Vigor2860 Series User’s Guide
588
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
i
i
p
p
r
r
o
o
u
u
t
t
e
e
This command allows users to set static route.
ip route add [dst] [netmask][gateway][ifno][rtype]
ip route del [dst] [netmask][rtype]
ip route status
ip route cnc
ip route default [wan1/wan2/off/?]
ip route clean [1/0]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
add
It means to add an IP address as static route.
del
It means to delete specified IP address.
status
It means current status of static route.
dst
It means the IP address of the destination.
netmask
It means the netmask of the specified IP address.
gateway
It means the gateway of the connected router.
ifno
It means the connection interface.
3=WAN1 5=WAN3,6=WAN4,7=WAN5
However,
WAN3, WAN4, WAN5 are router-borne WANs
rtype
It means the type of the route.
default : default route;
static: static route.
cnc It means current IP range for CNC Network.
default Set WAN1/WAN2/off as current default route.
clean Clean all of the route settings.
1: Enable the function.
0: Disable the function.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> ip route add 172.16.2.0 255.255.255.0 172.16.2.4 3 static
> ip route status
Codes: C - connected, S - static, R - RIP, * - default, ~ - private
C~ 192.168.1.0/ 255.255.255.0 is directly connected, LAN1
S 172.16.2.0/ 255.255.255.0 via 172.16.2.4, WAN1