A. Command Line Interface
6371-A2-GB20-20
May 2001
A-7
IP Routing Commands
ip route create
dest-ip
dest-mask
{
next-hop-ip
|
remote
}
ip route delete
dest-ip
dest-mask
Minimum Access Level: Administrator
Command Mode: Config
Configures the downstream static routes. Downstream routes cannot be created unless at
least one Ethernet interface has been configured. To configure upstream routers, refer to
the next set of entries.
Example: Refer to
Chapter 4, DSL Router Configuration Examples
.
create – Create a downstream IP route table entry. To configure a downstream default
gateway, enter a destination IP address and a subnet mask of 0.0.0.0. A maximum of
32 static routes can be created.
delete – Delete a downstream IP route table entry. This will delete an IP route placed in
the table by the DHCP server, the DHCP relay, or manually entered static entries.
NOTE: An interface route is created automatically when an IP address and subnet
mask are assigned to an Ethernet interface with the
ifn address
command. The
Ethernet interface route can be deleted with the
ip route purge
or the
ip route
delete
command. Once deleted, the interface route can be entered manually using
ip route create
or a new
ifn address
command.
dest-ip – IP address of the destination. The destination IP address must be within the
address range of a configured Ethernet interface or the next-hop-ip address must be
provided.
dest-mask – Subnet mask for the destination IP address.
next-hop-ip – IP address of the next hop downstream router used to reach the
destination. A next hop with an IP address of 0.0.0.0 specifies a directly reachable client.
A non-zero next-hop-ip address must be within the address range of an Ethernet
interface.
remote – Indicates that the device specified by the destination IP address and subnet
mask is logically within a local subnet route but is not on the physical Ethernet and resides
upstream from the DSL router. A remote route cannot be created unless at least one DSL
interface has previously been configured.
ip route create upstream eth1[
:
ifn
]
next-hop-ip
ip route delete upstream eth1[
:
ifn
]
Minimum Access Level: Administrator
Command Mode: Config
Enters or deletes upstream IP routing table entries. When the DSL interface is
unnumbered, an IP routing table entry is automatically created, with the next hop router as
remote. To configure downstream routers, refer to the previous set of entries.
Example: Refer to
Chapter 4, DSL Router Configuration Examples
.
create – Creates an upstream IP route table entry.
delete – Deletes an upstream IP route table entry.
eth1, eth1:1, eth1:2, eth1:3, eth1:4 – Specifies the logical Ethernet interface (eth1 is the
same as eth1:1).
next-hop-ip – IP address of the next hop upstream router used to reach the remote
destination.
NOTE: When the DSL interface is numbered, the next hop router IP address must fall
into one of the service domain IP subnets configured for the DSL interface.
Содержание Hotwire 6301
Страница 1: ...Hotwire DSL Routers User s Guide Document No 6371 A2 GB20 20 May 2001...
Страница 8: ...Contents vi May 2001 6371 A2 GB20 20...
Страница 36: ...3 Configuring the DSL Router 3 14 May 2001 6371 A2 GB20 20...
Страница 50: ...4 DSL Router Configuration Examples 4 14 May 2001 6371 A2 GB20 20...
Страница 58: ...5 Monitoring the DSL Router 5 8 May 2001 6371 A2 GB20 20...
Страница 92: ...A Command Line Interface A 26 May 2001 6371 A2 GB20 20...
Страница 98: ...B Configuration Defaults and Command Line Shortcuts B 6 May 2001 6371 A2 GB20 20...
Страница 126: ...Index IN 6 May 2001 6371 A2 GB20 20...