3Com OfficeConnect 3C100XF Cli User's Manual - page 93
Add Commands
12-5
add ip route
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 metric 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 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 command . This command has the following parameters: gateway ip_route 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 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 .