< Home

Configuring IS-IS to Import External Routes

Context

After IS-IS is configured to advertise a default route on a border device in an IS-IS routing domain, all the traffic destined outside the IS-IS routing domain is forwarded through the border device. This burdens the border device because other devices in the IS-IS routing domain do not have the routes destined outside the domain. If multiple border devices are deployed in the IS-IS routing domain, optimal routes to other routing domains need to be selected.

To ensure optimal routes are selected, all the other devices in the IS-IS routing domain must learn all or some external routes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run isis [ process-id ]

    The IS-IS view is displayed.

  3. Configure IS-IS to import external routes.

    • When you need to set a cost for imported routes, run the ipv6 import-route { static | direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } [ cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] * command.
    • When you need to retain the original cost of imported routes, run the ipv6 import-route { direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } inherit-cost [ tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] * command. In this case, the source routing protocol of imported routes cannot be static.

    IS-IS will advertise all imported external routes to the IS-IS routing domain by default.

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