Specifications
SSR Command Line Interface Reference Manual 267
ip add route
ip add route
Purpose
Configure a static route.
Format
ip add route <ipAddr-mask>|default gateway <hostname-or-IPaddr> [host] [interface
<hostname-or-IPaddr>] [preference <num>] [retain] [reject] [no-install] [blackhole] [gate-
list <gateway list>]
Mode
Configure
Description
The ip add route command creates a static route entry in the route table. The static route
can be a default route, a route to a network, or a route to a specific host.
Parameters
<ipAddr-mask> IP address and netmask of the destination. You can specify the address
and mask information using the traditional format (example:
10.1.2.3/255.255.0.0) or the CIDR format (example: 10.1.2.3/16). If you
specify an address without mask information, the SSR uses the natural
mask for the address ( /8 for Class A, /16 for Class B or /24 for Class C).
gateway <hostname-or-IPaddr>
IP address or hostname of the next hop router for this route.
host Specifies that this route is a route to a host.
interface The next hop interface associated with this route. When this option is
specified, gateways are only considered valid when they are on one of
these interfaces
preference The preference of this static route. The preference controls how this route
competes with routes from other protocols. The parameter takes a value
between 0-255. The default preference is 60.










