Configuring a Priority Value for IPv6 IS-IS

If multiple routes to the same destination are discovered by different routing protocols, configure the highest priority value for IS-IS so that a route discovered by IS-IS can be selected preferentially.

Context

If multiple routes to the same destination are discovered by different routing protocols running on the same device, the route discovered by the protocol with the highest priority is selected.

For example, if both OSPFv3 and IS-IS are configured on a network, the route discovered by OSPFv3 is used because OSPFv3 has a higher priority than IS-IS by default.

To prefer a route discovered by IS-IS, configure a higher priority value for IS-IS. In addition, you can configure a routing policy to increase the priority of specified IS-IS routes, without affecting route selection.

Procedure

  • Configure the IS-IS preference value.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Run ipv6 preference preference

      The IS-IS preference value is configured.

      This command configures an IS-IS preference value. A smaller preference value indicates a higher preference.

    4. Run commit

      The configuration is committed.

  • Configure a preference value for specified IS-IS routes.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Run ipv6 preference { { route-policy route-policy-name | route-filter route-filter-name } | preference } *

      A preference is configured for the IS-IS routes that match the specified route-policy.

      preference takes effect only on IS-IS routes that match the specified routing policy.

    4. Run commit

      The configuration is committed.

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