Hide thumbs Also See for ST780 WL:
Table of Contents

Advertisement

IP Commands

ip rtadd

Add a route to the routing table.
SYNTAX:
ip rtadd
where:
dst
dstmsk
label
gateway
intf
srcintf
metric
E-DOC-CTC-20061027-0012 v2.0
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <string>]
[gateway = <ip-address>]
[intf = <string>]
[srcintf = <string>]
[metric = <number{0-255}>]
The destination IP address(es) for this route.
Note
Supports ip/mask notation.
The destination IP address mask.
The name of the label.
The IP address of the next hop (direct connected gateway or extended
route).
Note
The parameters
gateway
Only for special interface routes: the outgoing IP interface name.
Note
The parameters
gateway
Use this interface for source address selection.
The metric for this route (weight factor).
The lower the metric, the higher the weight.
The default is 0.
and
intf
are mutually exclusive.
and
intf
are mutually exclusive.
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
457

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents