User manual

CLI Reference Guide 31
add ip defaultroute gateway <
IP_address
>
{ metric [
1
] }
Defines a default gateway IP router, which acts as the default route for IP
packets destined for remote hosts.
Parameters 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. Values are 1 - 15.
add ip network <
network_name
>
address [
ip_net_address
]
frame [
ETHERNET_II | SNAP
]
{ interface [
eth:1
] }
{ enabled [
yes
] }
Adds an IP network to the list of IP networks available over the specified
interface.
Parameters Description
<network_name> Name of IP network, consisting of up to 32 unique
ASCII characters; white space must be surrounded by
double quotes.
address IP address of the network, in the format
nnn.nnn.nnn.nnn, with or without a mask specifier. The
Mask Specifier can be ‘A’, ‘B’, ‘C’, or ‘H’, or a
numeric value from 8 to 30 that describes the number
of one bits in the mask. You can also specify the
netmask in the xxx.xxx.xxx.xxx format. If you do not
specify a mask, the system will generate it for you from
the network address.
frame Frame encapsulation to be used on this IP network.
The options are: ETHERNET_II or SNAP.
interface Name of the interface which this IP network will
communicate over. The default is the first LAN
interface (
eth:1
).
enabled This optional parameter indicates whether the network
is enabled (YES) or disabled (NO). Default:
YES