3Com ADSL Modem Ethernet Modem User Manual


 
A-2 APPENDIX A: CLI COMMAND DESCRIPTION
TFTP to export the updated file to the system’s FLASH file system, and use the
verify filter command to check the filter’s syntax.
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.
add ip network
<network_name>
address [ip_net_address]
frame [ETHERNET_II | SNAP | LOOPBACK]
{ interface [eth:1] }
{ enabled [yes] }
Adds an IP network to the list of IP networks available over the specified interface.
add ip route
<ip_net_address>
gateway [gateway_addr]
metric [hop_count]
Adds an 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
your currently defined routes.
Parameters Description
<filter_name> Designation of a filter file, up to twenty ASCII characters.
Parameters Description
<IP_address > IP Address of the gateway router.
metric Integer representing how far away the default router is, in “hops” through
other routers. Values: 1-15.
Parameters Description
<network_name> Name of IP network, consisting of up to 32 unique ASCII characters; 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. If you do not specify a mask, the system will gener ate it for you
from the network address.
frame Frame encapsulation to be used on this IP network. The options are:
ETHERNET_II, LOOPBACK (for diagnostics), 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). YES is the default.
Parameters Description
<net_address> IP address of the remote 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. If you do not specify a mask, the system will generate it from the
network address.
gateway IP address of gateway used to reach this remote network.
metric An integer representing how far away the route is, in “hops” through other
routers. Values are 1-15.