Import-Route (Rip View) - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

import-route (RIP view)

Syntax
import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | route-policy
route-policy-name | tag tag ] *
undo import-route protocol [ process-id | all-processes ]
View
RIP view
Default level
2: System level
Parameters
protocol: Specifies a routing protocol from which to redistribute routes. It can be bgp, direct, ospf, rip, or
static.
process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol
is rip, or ospf.
all-processes: Enables route redistribution from all the processes of a protocol. This keyword takes effect
only when the protocol is rip, or ospf.
allow-ibgp: When the protocol argument is set to bgp, allow-ibgp is an optional keyword.
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 63 case-sensitive characters.
Description
Use import-route to enable route redistribution from another routing protocol.
Use undo import-route to disable route redistribution.
By default, RIP does not redistribute routes from other routing protocols.
The import-route bgp command only redistributes eBGP routes. The import-route bgp allow-ibgp
command additionally redistributes iBGP routes, which may cause routing loops.
Only active routes can be redistributed. Use the display ip routing-table protocol command to display
route state information.
The undo import-route protocol all-processes command cancels the configuration made by the
import-route protocol all-processes command, rather than the import-route protocol process-id
command.
Related commands: default cost.
Examples
# Redistribute static routes, and set the cost to 4.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] import-route static cost 4
# Configure the default cost for redistributed routes as 3.
40

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents