3Com Switch 7750 Configuration Guide
RIP Route Control 295
Configuring RIP to filter or advertise the received routes
The route filtering function provided by a router enables you to configure
inbound/outbound filter policy by specifying an ACL or address prefix list to make
RIP filter incoming/outgoing routes. Besides, you can configure RIP to receive only
the RIP packets from a specific neighbor.
n
■ The filter-policy import command filters the RIP routes received from
neighbors, and the routes being filtered out will neither be added to the
routing table nor be advertised to any neighbors.
■ The filter-policy export command filters all the routes to be advertised,
including the routes imported by using the import-route command as well as
RIP routes learned from neighbors.
■ The filter-policy export command without the routing-protocol argument
filters all the routes to be advertised, including the routes imported by the
import-route command.
Setting RIP preference
Enabling RIP traffic sharing across interfaces
Table 220 Configure RIP to filter incoming/outgoing routes
Operation Command Description
Enter system view system-view -
Enter RIP view rip -
Configure RIP to filter
incoming routes
filter-policy { acl-number |
ip-prefix ip-prefix-name [ gateway
ip-prefix-name ] | gateway
ip-prefix-name } import [ interface
interface-type interface-number ]
Required
By default, RIP does not
filter any incoming routes.
The gateway keyword is
used to filter the incoming
routes advertised from a
specified address.
filter-policy route-policy
route-policy-name import
Configure RIP to filter
outgoing routes
filter-policy { acl-number |
ip-prefix ip-prefix-name } export
[ protocol [ process-id ] | interface
interface-type interface-number ]
Required
By default, RIP does not
filter any outgoing routes.
filter-policy route-policy
route-policy-name export
Table 221 Set RIP preference
Operation Command Description
Enter system view system-view -
Enter RIP view rip -
Set the RIP preference preference value Optional
The default RIP preference is 100.
Table 222 Enable RIP traffic sharing across interfaces
Operation Command Description
Enter system view system-view -
Enter RIP view rip -