3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
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-route protocol [ 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-policy route-policy-name: Specifies a routing policy with 1 to 19
characters.
allow-ibgp: When the protocol argument is set to bgp, allow-ibgp is an
optional keyword. The import-route bgp command only redistributes EBGP
routes, while the import-route bgp allow-ibgp command additionally
redistributes IBGP routes, which may cause routing loops. Be cautious when using
it.
Description Use the
import-route command to redistribute routes from other routing
protocols.
Use the
undo import-route command to cancel route redistribution.
By default, RIP does not redistribute routes from other routing protocols.
You can specify a routing policy using keyword route-policy to 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.