< Home

Configuring RIPng to Import External Routes

RIPng can import external routes to enrich routing information.

Context

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

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

  • Run the apply cost command to set the cost of a route.
  • Run the import-route (RIPng) command to set the cost of the imported route.
  • Run the default-cost (RIPng) command to set the cost of the default route.

Procedure

  1. Access the system view.

    system-view

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

    ripng [ process-id ]

  3. (Optional) Set the default cost for the external routes imported by RIPng.

    default-cost cost

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

  4. Import external routes.

    import-route { { ripng | isis | ospfv3 } process-id | bgp [ permit-ibgp ] | unr | direct | static } [ [ cost cost | inherit-cost ] | route-policy route-policy-name ] *

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