3Com Switch 8800 Family Configuration Guide

Configuring RIP 295
By default, the additional routing metric added to the route when RIP sends a
packet is 1. The additional routing metric when RIP receives the packet is 0 by
default.
n
The metricout configuration takes effect only on the RIP routes learnt by the
router and RIP routes generated by the router itself. That is, it has no effect on the
routes imported to RIP by other routing protocols.
Configuring RIP to
Import Routes of Other
Protocols
RIP allows users to import the route information of other protocols into the RIP
routing table.
RIP can import the routes of Direct, Static, OSPF, IS-IS and BGP, etc.
Perform the following configuration in RIP view.
By default, RIP does not import the route information of other protocols.
If you do not specify the routing metric when importing a route, the default
routing metric 1 is used.
Configuring Route
Filtering
The router provides the route filtering function. You can configure the filter policy
rules through specifying the ACL and IP-prefix for route import and advertisement.
Besides, to import a route, the RIP packet of a specific router can also be received
by designating a neighbor router.
Perform the following configuration in RIP view.
Configuring RIP to filter the received routes
Disable the additional routing metric of the route when the interface
sends an RIP packet
undo rip metricout
Table 257 Set additional routing metric
Operation Command
Tab le 258 Configure RIP to import routes of other protocols
Operation Command
Configure RIP to import routes of other
protocols
import-route protocol [ cost value |
route-policy route-policy-name ]*
Cancel the imported routing information of
other protocols
undo import-route protocol
Set the default routing metric default cost value
Restore the default routing metric undo default cost
Tab le 259 Configure RIP to filter the received routes
Operation Command
Configure RIP to filter the received routing
information advertised by the specified
address
filter-policy gateway ip-prefix-name import
Cancel filtering the received routing
information advertised by the specified
address
undo filter-policy gateway ip-prefix-name
import