Zhone sia2410r ユーザーガイド

ページ / 59
 
Net To Net Technologies SIA2410R User Manual 
 
Net To Net Technologies                                                                                                     23 
Deleting the static route : 
 
Command 
(conf)# ip route del default|all 
(conf)# ip route del <net> <mask> [<ifname>] [<gw>] 
Parameters 
default 
 
Removes the default route 
all 
 
Removes all static routes and RIP entries 
<net> <mask> 
Identifies the particular routing entry 
[<ifname>] 
Name of the interface through which a packet addressed to  
  this 
destination 
will 
be 
sent. 
<gw> 
 
The address of the gateway to use for that destination  
 
 
network.
 
 
Usage 
examples 
(conf)# ip route del all 
(conf)# ip route del 210.10.10.0 255.255.255.0 
(conf)# ip route del default 
 
 
Viewing the Routing Table 
To display information for the routing table, use the following 
command.  
 
Command 
show ip route [-a] 
Parameters  -a  
 
 Display all routes in the routing table. 
Usage 
Examples 
(conf)# show ip route 
destination      netmask          gateway             met  ifname    type 
--------------------------------------------------------------------- 
default           *                   0.0.0.0            1     wan      static 
210.10.11.0      255.255.255.0    168.126.188.100   1     lan      static 
168.126.188.0    255.255.255.0    168.126.188.130   0    lan      connected 
 
 
Note:  The SIA2410R dynamically adds a directly connected route. The value 
in the type column is “connected”.
 
 
Note: 
 
Routes pointing to local machines are labeled local, with a single route 
for each local IP address.