< Home

Configuring RIP to Import External Routes

RIP can import external routes to enrich routing information.

Prerequisites

Before configuring RIP to import external routes, complete the following tasks:

Context

To access a device running a non-RIP protocol, an RIP-capable device needs to import routes of the non-RIP protocol into the RIP network.

All the following commands can set the cost of the imported route. They are listed in descending order of priorities.

Procedure

  1. Access the system view.

    system-view

  2. Configure a RIP process and access the RIP process view.

    rip [ process-id ]

  3. Optional: Set the default cost of imported routes.

    default-cost cost

    If no cost is specified, this command can be used to set the default cost for the external routes imported by RIP from other routing protocols.

  4. Import IBGP routes.

    import-route bgp [ permit-ibgp  ] [ cost { cost | transparent } | route-policy route-policy-name ] * or import-route { { static | direct | unr } | { { rip | ospf | isis } [ process-id ] } } [ cost cost | route-policy route-policy-name ] *

    Import of IBGP routes in RIP process can lead to routing loops. Administrator should take care of routing loops before configuring permit-ibgp.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >