1170 CHAPTER 77: RIP CONFIGURATION COMMANDS

Examples # Disable RIP from receiving host routes.

<Sysname> system-view [Sysname] rip 1 [Sysname-rip-1] undo host-route

import-route (RIP view)

Syntax

import-route protocol [ process-id] [ allow-jbgp ] [ cost cost route-policy

 

route-policy-name tag tag ]*

 

undo import-routeprotocol [ process-id ]

View

RIP view

Parameters

protocol: Specify a routing protocol from which to redistribute routes, currently

 

including bgp, direct, isis, ospf, rip, rip and static.

 

process-id: Process number of the routing protocol, in the range of 1 to 65535,

 

used for isis, rip, and ospf.

 

cost: Cost for redistributed routes, in the range of 0 to 16. If cost is not specified,

 

the default cost specified by the default cost command applies.

 

tag: Tag marking redistributed routes, in the range of 0 to 65,535. The default is 0.

 

route-policyroute-policy-name: Specifies a routing policy with 1 to 19

 

characters.

 

allow-ibgp: When the protocol argument is set to bgp, allow-ibgpis an

 

optional keyword. The import-route bgp command only redistributes EBGP

 

routes, while the import-route bgp allow-ibgpcommand additionally

 

redistributes IBGP routes, which may cause routing loops. Be cautious when using

 

it.

Description

Use the import-routecommand to redistribute routes from other routing

 

protocols.

 

Use the undo import-routecommand to cancel route redistribution.

 

By default, RIP does not redistribute routes from other routing protocols.

 

You can specify a routing policy using keyword route-policyto redistribute

 

only the specified routes.

 

You can configure a cost for redistributed routes using keyword cost.

 

You can configure a tag value for redistributed routes using keyword tag.

Related commands:

default cost (RIP view).

Examples # Redistribute static routes, and set the cost to 4.

Page 1170
Image 1170
3Com MSR 30 Import-route RIP view, Including bgp , direct , isis , ospf , rip , rip and static, Default cost RIP view