3com 4500 26-PORT User Manual

Page of 466
RIP Configuration Commands
153
Use the 
filter-policy 
import
 command to configure the switch to filter global 
routing information.
Use the 
undo filter-policy 
import
 command to disable filtering of received 
global routing information.
By default, RIP does not filter the received routing information.
Related commands: 
acl, filter-policy export, ip ip-prefix.
Example
To configure the filtering of the global routing information using acl 2000, enter 
the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]rip
[4500-rip]filter-policy 2000 import
host-route
Syntax
host-route
undo host-route
View
RIP view
Parameter
None
Description
Use the 
host-route
 command to configure RIP to accept host routes. This is the 
default.
Use the 
undo host-route 
command to configure RIP to reject host routes. 
Example
To configure RIP to reject a host route, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]rip
[4500-rip]undo host-route
import-route
Syntax
import-route protocol [ cost value | route-policy route-policy-name 
undo import-route 
protocol
 
View
RIP view