IP COMMANDS
596
E-DOC-CTC-20100729-0006 v3.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
ip rtadd
Add a route to the routing table.
SYNTAX:
ip rtadd dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <{None|DSCP|Interactive|Management|
SIPS_RTP|SIPS_SIG|Video|VoIP-RTP|VoIP-Signal|
default}>]
[gateway = <ip-address>]
[intf = <{loop|ipsec0|Internet|lan1|wan1|dmz1|
guest1}>]
[srcintf = <{loop|ipsec0|Internet|lan1|wan1|
dmz1|guest1}>]
[static = <{enabled|disabled}>]
[status = <{up|down}>]
[metric = <number{0-255}>]
where:
dst The destination IP address(es) using this route. Supports ip/
mask notation.
REQUIRED
dstmsk The destination IP address mask. OPTIONAL
label The name of a label. OPTIONAL
gateway The IP address of the next hop (direct connected gateway
or extended route)
OPTIONAL
intf Only for special interface routes : the outgoing IP interface
name.
OPTIONAL
srcintf Use this interface for source address selection. OPTIONAL
static Route persistency: static or dynamic (note that not all routes
can be changed).
OPTIONAL
status The administrative state of the route. OPTIONAL
metric The metric for this route (weight factor). OPTIONAL