Import-Route - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Syntax
host-route
undo host-route
Default
RIP receives host routes.
Views
RIP view
Predefined user roles
network-admin
Usage guidelines
A router might receive many host routes from the same subnet. These routes are not helpful for routing and
occupy many resources. To solve this problem, use the undo host-route command to disable RIP from
receiving host routes.
This command takes effect only for RIPv2.
Examples
# Disable RIP from receiving host routes.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] undo host-route

import-route

Use import-route to enable route redistribution from another routing protocol.
Use undo import-route to disable route redistribution.
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 ]
Default
RIP does not redistribute routes from any other routing protocol.
Views
RIP view
Predefined user roles
network-admin
Parameters
protocol: Specifies a routing protocol from which RIP redistributes routes. It can be bgp, direct, isis, ospf,
rip, or static.
process-id: Specifies a process by its ID in the range of 1 to 65535. The default is 1. This argument is
available only when the protocol is isis, rip, or ospf.
42

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents