Linksys DES-3028/DES-3028P/DES-3052/DES-3052P 用户手册

下载
页码 250
DES-3028 DES-3028P DES-3052 DES-3052P  Layer 2 Fast Ethernet Switch CLI Reference Manual 
28 
R
OUTING 
T
ABLE 
C
OMMANDS
 
The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the 
following table. 
Command Parameters 
create iproute  
[default] <ipaddr> {<metric 1-65535>} 
delete iproute  
[default] 
{<network_address> | static} 
show iproute 
Each command is listed, in detail, in the following sections. 
create iproute default 
Purpose 
Used to create IP route entries to the Switch’s IP routing table. 
Syntax 
create iproute [default] <ipaddr> {<metric 1-65535>} 
Description 
This command is used to create a default static IP route entry to the 
Switch’s IP routing table. 
Parameters 
<ipaddr> 
− The gateway IP address for the next hop router. 
<metric 1-65535> 
− Allows the entry of a routing protocol metric entry 
representing the number of routers between the Switch and the IP 
address above. The default setting is 1. 
Restrictions Only 
administrator-level users can issue this command. 
Example usage: 
To add the default static address 10.48.74.121, with a metric setting of 1, to the routing table: 
DES-3028P:4#create iproute default 10.48.74.121 1 
Command: create iproute default 10.48.74.121 1 
 
Success. 
 
DES-3028P:4# 
 
delete iproute default 
Purpose 
Used to delete a default IP route entry from the Switch’s IP routing table.
Syntax 
delete iproute [default]  
Description 
This command will delete an existing default entry from the Switch’s IP 
routing table. 
Parameters None. 
Restrictions Only 
administrator-level users can issue this command. 
Example usage:  
To delete the default IP route 10.53.13.254: 
 
180