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_name> command. Each
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
<IP_address or name>
metric
<hop count>
add ip network
<network_name>
add ip route
<host_name or IP_network_address>
add framed_route user
<name>
add ip pool
<pool_name>
add ip source route
<ip_name_or_net_addr>
gateway
<ip_name_or_addr>
metric
<metric>
Delete
delete ip source route
<ip_name_or_net_addr>
delete ip defaultroute gateway
<IP_address or name>
delete ip network
<network_name>
delete ip pool
<pool name>
delete iproute
<network_name or IP_address/subnet_mask>
all_learned_routes
delete ip source route
<ip_name_or_net_addr>
Содержание OfficeConnect 3C100XF
Страница 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Страница 14: ...xiv ...
Страница 18: ...iv ABOUT THIS GUIDE ...
Страница 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Страница 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Страница 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Страница 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Страница 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Страница 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Страница 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Страница 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Страница 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Страница 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Страница 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Страница 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Страница 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Страница 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Страница 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Страница 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Страница 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Страница 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Страница 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Страница 256: ...xvi ...
Страница 260: ......