3com 5500-ei pwr Guia De Referência

Página de 1314
 
3-8 
By default, RIP is enabled to receive host routes. 
In some special cases, RIP receives a great number of host routes from the same network segment. 
These routes are of little help to addressing but occupy a lot of resources. In this case, the undo 
host-route
 command can be used to disable RIP from receiving host routes to save network 
resources. 
Examples 
# Disable RIP from receiving host routes. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z.  
[Sysname] rip 
[Sysname-rip] undo host-route 
import-route 
Syntax 
import-route protocol
 [process-id ] [ cost value route-policy route-policy-name ]* 
undo import-route protocol
 [ process-id ] 
View 
RIP view 
Parameters 
protocol
: Source routing protocol from which routes are redistributed by RIP. At present, RIP can 
redistribute routes from protocols: directospfospf-ase, ospf-nssa and static
process-id
: Process ID of a routing protocol from which routes are redistributed, in the range of 1 to 
65535. This argument is valid only for ospfospf-ase, and ospf-nssa
value
: Cost for redistributed routes, in the range of 0 16. If no cost is specified when redistributing 
routes, the default cost defined by the default cost command will be used. 
route-policy-name
: Name of a routing policy, a string of 1 to 19 characters. 
Description 
Use the import-route command to enable RIP to redistribute routes from other protocols. 
Use the undo import-route command to disable RIP from redistributing routes from other protocols. 
By default, RIP does not redistribute routes from other protocols. 
If the value is not specified, routes will be redistributed with the default cost defined by the default cost 
command. If the cost of a redistributed route is 16, RIP does not stop advertising the route to other 
routers until the Garbage Collection timer expires (the timer length defaults to 120 seconds). 
Related commands: default cost
Examples 
# Redistribute static routes with the cost of 4. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] rip