ip rtadd
Add a route to the routing table.
SYNTAX:
ip rtadd
where:
dst
dstmsk
label
gateway
intf
srcintf
metric
450
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)]>
[label = <{None|DSCP|Interactive|Management|
Video|VoIP-RTP|VoIP-Signal|default}]>
[gateway = <ip-address]>
[intf = <{loop|Internet|LocalNetwork}]>
[srcintf = <{loop|Internet|LocalNetwork}]>
[metric = <number{0-255}]>
The destination IP address(es) using this route.
Supports ip/mask notation.
The destination IP address mask.
The name of a label.
The IP address of the next hop (direct connected
gateway or extended route)
Only for special interface routes : the outgoing IP
interface name.
Use this interface for source address selection.
The metric for this route (weight factor).
ip Commands
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
E-DOC-CTC-20071119-0014 v1.0