TCP/IP Configuration and Management Manual
SCF Reference
TCP/IP Configuration and Management Manual—427132-004
4-18
ADD ROUTE Command
ADD ROUTE Command
The ADD ROUTE command creates a route.
Command Syntax
OUT file-spec
causes any SCF output generated for this command to be directed to the specified
file.
ROUTE route-spec
specifies the path on which data is sent in order to reach a destination. The fully-
qualified route-spec has the form:
If you specify the SCF object type (ROUTE) or any portion of the object name
(route-spec) in prior ASSUME command, you can omit it in this command. For
information about the ASSUME command, see the SCF Reference Manual for G-
Series RVUs or the SCF Reference Manual for H-Series RVUs.
DESTINATION destination-ip-address
specifies the Internet address of a single host or an entire network which can be
reached through the system specified in GATEWAY. A zero in the local address
portion of the destination Internet address acts as a wildcard, representing all hosts
on the network specified in the network portion of the Internet address. If the
destination Internet address is 0 (0.0.0.0), this route specifies the default router or
gateway. All packets with addresses for which routes cannot be determined are
sent to the host specified in GATEWAY.
This parameter is required.
ADD [ / OUT file-spec / ] [ ROUTE route-spec]
, DESTINATION destination-ip-address
, GATEWAY gateway-ip-address
[ , DESTTYPE { HOST | BROADCAST } ]
[ , NETMASK mask-val ]
[ , METRIC metric-val ]
$process-name . #route-name
Default: If the route is added automatically when a SUBNET is added, the
default address is the IP address of the SUBNET's host (the value for
the SUBNET's IPADDRESS attribute) converted to broadcast form.