Add Commands
12-5
add ip route
<host_name
or IP_network_address>
Adds an IP static route entry to the IP Routing Table. IP packets destined for
networks that match this network will be routed to this address. The command
list ip routes
displays all currently defined routes including the static route you
create with this command but only if you have specified a
gateway
. Also see the
add ip defaultroute
command.
This command has the following parameters:
gateway
<IP_name or gateway_address>
metric
<hop_count>
Static routes are installed but not visible via the
list ip routes
command until the
interface to the gateway is active (entered in the Forwarding Table).
add framed_route user
<name>
Adds a framed (static) network to the user profile for dialup connections. This
method of creating a static route does not run RIP to learn routes, so you must
specify IP route and gateway addresses. For comparison, see the
add ip route
<host_name or IP_network_address>
command
.
This command has the following parameters:
gateway
<IP_address or name>
ip_route
<IP_name or network_address>
wan_type
For use in defining an IP network over a Frame Relay connection.
Configures WAN connection as:
UNPTP
- Unnumbered Point-to-Point type of IP WAN connection. In
this mode you must configure an IP address for the remote site only.
You do not need to configure separate IP networks for the Frame
Relay connection. The optional remote IP address should match the
address defined in the remote router.
NPTP
- Numbered Point-to-Point type of IP WAN connection. In this
mode you must configure an IP address for both the local and remote
sites.
Network
- Network type of IP WAN connection. In this mode you
must configure an IP address for the local site only. This will emulate a
broadcast network on the PVC.
enabled
Optional parameter indicates whether network is enabled (YES) or
disabled (NO). The default is
YES
.
Parameters
Description
Parameters
Description
<network_
address>
IP address or host name of the remote destination, in the format
nnn.nnn.nnn.nnn, entered
with
or
without
a mask specifier. The mask
specifier can be ‘A’, ‘B’, ‘C’, or ‘H’ (host), or a numeric value from 8 to 30 (32
if a host) 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 self-generate it (based on the network address) for all
routes (
ip network address
) except
host
routes, for which you
must
specify a
mask.
gateway
IP name or address of gateway used to reach this remote network.
metric
An integer for how distant the route is, in “hops”, from the destination to the
OfficeConnect Gateway. The range is
1-15
. The default is
1
.
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......