Zhone 6300 사용자 설명서

다운로드
페이지 146
A. Command Line Interface
6300-A2-GB20-10
November 2003
A-7
IP Routing Commands
    
Table A-5.
IP Routing Commands (1 of 2)
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 
.
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.