62
C
HAPTER
4: R
OUTER
C
OMMAND
R
EFERENCE
initialization script to a switched interface, that string is sent to the serial
line driver whenever a connection terminates, to ready the modem for
the next connection. You need not assign init scripts to modems. The
maximum is
32
initialization scripts.
add ip defaultroute
gateway <IP_address
or name>
metric [hop count]
Allows a default route to be configured. The command adds a default
route with a gateway on the IP network configured on the RAS 1500 LAN
interface (rm0/eth:1). This allows a default route to be configured.
add ip network
<network_name>
address [IP_network_address]
frame [ethernet_ii | snap]
interface [rm0/eth:1 | internal]
enabled [yes | no]
Adds an IP network to the list of IP networks available over the specified
interface. When the system starts ups, the RAS 1500 can be configured
to automatically create an IP network for default route and minimal
SNMP settings.
Internal networks do not support SNAP encapsulation. Also, do not set
the same internal IP address for more than one RAS 1500 on the same
LAN. (see
set ip unnumbered_link local_address
for more.)
Parameter
Description
<script_name>
Designation of the init script. Limit: 7 ASCII characters.
command
Initialization string (AT commands). It must include
double
quotes
and be less than
56 ASCII
characters. The CLI appends
a
/R
and
/N
to it.
Parameter
Description
<IP_address >
IP address of the gateway router.
metric
An integer representing how far away the default router is, in
hops through other routers. Range: 1-15. Default: 1.