3Com 5500-SI Switch User Manual


 
232 CHAPTER 16: IP ROUTING PROTOCOL OPERATION
Perform the following configurations in RIP View.
Configuring RIP to Filter the Received Routes
Configuring RIP to Filter the Distributed Routes
By default, RIP will not filter the received and distributed routing information.
The filter-policy import command filters the RIP routes received from its
neighbors, and the routes that cannot pass the filter will not be added to the
routing table, and will not be advertised to the neighbors.
The filter-policy export command filters all the advertised routes, including
routes imported by using the
import-route command, and RIP routes learned
from the neighbors.
If the filter-policy export command does not specify which route is to be
filtered, then all the routes imported by the
import-route command and the
transmitted RIP routes will be filtered.
Table 217 Configuring RIP to Filter the Received Routes
Operation Command
Filter the received routing information
distributed by the specified address
filter-policy gateway ip_prefix_name
import
Cancel filtering of the received routing
information distributed by the specified
address
undo filter-policy gateway
ip_prefix_name [ gateway
ip-prefix-name ] | route-policy
route-policy-name } import
Filter the received global routing information filter-policy {acl_number |
ip-prefix ip_prefix_name [ gateway
ip-prefix-name ] | route-policy
route-policy-name } import
Cancel filtering of the received global routing
information
undo filter-policy { acl_number |
ip-prefix ip_prefix_name } import
Table 218 Configuring RIP to Filter the Distributed Routes
Operation Command
Configure RIP to filter the
distributed routing
information
filter-policy { acl_number | ip-prefix
ip_prefix_name | route-policy route_policy_name }
export [ routing_protocol ]
Cancel the filtering of the
routing information
undo filter-policy { acl_number | ip-prefix
ip_prefix-name | route-policy route_policy_name }
export [ routing_protocol ]