3-7
z
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.
z
The
filter-policy export
command filters all the routes to be advertised, including the routes
redistributed with the
import-route
command and routes learned from neighbors.
z
You can also use the
filter-policy export
command to filter outgoing routes redistributed from a
specified routing protocol.
Setting RIP preference
Follow these steps to set RIP preference:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter RIP view
rip
—
Set the RIP preference
preference
value
Required
100 by default
Enabling load sharing among RIP interfaces
Follow these steps to enable load sharing among RIP interfaces:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter RIP view
rip
—
Enable load sharing among
RIP interfaces
traffic-share-across-interf
ace
Required
Disabled by default
Configuring RIP to redistribute routes from another protocol
Follow these steps to configure RIP to import routes from another protocol:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter RIP view
rip
—
Configure a default cost for
an incoming route
default cost value
Optional
1 by default
Configure RIP to
redistribute routes from
another protocol
import-route protocol
[
cost
value
|
route-policy
route-policy-name
]*
Required
By default, RIP does not redistribute
any route from other protocols.