H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 2 RIP Configuration Commands
2-8
2.1.8 import-route
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost value | route-policy
route-policy-name ]*
undo import-route protocol [ process-id ]
View
RIP view
Parameters
protocol: Source routing protocol whose routes will be redistributed by RIP. At present,
RIP can redistribute the following types of routes: direct, ospf, ospf-ase, ospf-nssa,
static, isis and bgp.
process-id: Routing protocol process ID, in the range of 1 to 65535. This argument is
valid only when the protocol is ospf.
allow-ibgp: Allows the redistribution of IBGP routes when redistributing routes from
BGP.
value: Cost value of the routes to be redistributed, in the range of 1 to 16.
route-policy route-policy-name: Specifies a routing policy, which contains 1 to 19
characters. Only the routes matching the conditions of the specified routing policy will
be redistributed.
Description
Use the import-route command to redistribute the routes of another protocol into RIP.
Use the undo import-route command to cancel the routes redistributed from another
protocol.
By default, RIP does not redistribute routes from other protocols.
The import-route command is used to redistribute the routes of another protocol with a
specified cost. RIP regards the redistributed routes as its own routes and transmits
them with the specified cost. This command can greatly enhance the capability of RIP
to obtain routes, thereby improving RIP performance.
If the cost value is not specified, routes will be redistributed with the default routing cost
(set by the default cost command, ranging from 1 to 16). If the cost of an redistributed
route is 16, RIP marks the route as HOLD DOWN (however, the route can still be used
to forward packets), and continues to announce the route with this cost to other routers
running RIP until the garbage collection timer times out (the timeout time defaults to
120 seconds).
Related commands: default cost.