Command Line Interface Reference 10-73
WS2000>admin(network.router)> add
Description:
Adds user-defined routes.
Syntax:
Example:
admin(network.router)>add 202.57.42.6 255.255.255.224 202.57.42.1 s2 3
admin(network.router)>list
------------------------------------------------------------------
index destination netmask gateway interface metric
------------------------------------------------------------------
1 202.57.42.6 255.255.255.224 202.57.42.1 subnet2 3
admin(network.router)>add 234.44.33.212 255.255.255.234 234.44.33.2 s3 5
admin(network.router)>list
------------------------------------------------------------------
index destination netmask gateway interface metric
------------------------------------------------------------------
1 202.57.42.6 255.255.255.224 202.57.42.1 subnet2 3
2 234.44.33.212 255.255.255.234 234.44.33.2 subnet3 5
add
<dest> <netmask> <gw> <iface> <metric>
Adds a route with destination IP address <dest>, IP netmask <netmask>,
gateway IP address <gw>, interface subnet or WAN set to <iface> (one of
s1 = subnet1, s2 = subnet2, s3 = subnet3, s4 = subnet4, or w = WAN), and
metric set to <metric> (1-15).