3Com OfficeConnect 3C100XF Cli User's Manual - Ip R
12
IP R
OUTING
C
OMMANDS
Overview
This chapter describes the IP related commands accessible from the CLI of the
OfficeConnect Gateway.
To configure IP over the LAN, you need to assign an IP network to the LAN port, or
PVC interface, with the
add ip network
network has a
network name
. Use the
network
name
when entering commands
related to the network.
The
network address
includes a local station address and subnet mask using the
format:
nnn.nnn.nnn.nnn/A B C
or
8-30
. The first 4 octets describe the IP address,
followed by the subnet mask (contiguous) designator.
You can specify the subnet in one of two ways: a class or numerical designation. If
you specify a Class C subnet mask, for instance, this command generates a
255.255.255.0 subnet value for you. If you specify the number of bits (to be set to
1), the acceptable range is 8-30. The network address is invalid if the portion of
the station address not covered by the mask is 0.
Defining a numerical subnet is useful when your value falls between classes. You
can also
omit
the mask altogether; it will automatically be calculated from the
address.
The following table identifies the IP commands described in this chapter:
Command Type
Command Name
Add
add ip defaultroute gateway
metric
add ip network
add ip route
add framed_route user
add ip pool
add ip source route
gateway
metric
Delete
delete ip source route
delete ip defaultroute gateway
delete ip network
delete ip pool
delete iproute
all_learned_routes
delete ip source route