Specifying a preference for IS-IS

If multiple routing protocols find routes to the same destination, the route found by the routing protocol that has the highest preference is selected as the optimal route.

Perform this task to assign a preference to IS-IS directly or by using a routing policy. For more information about the routing policy, see "Configuring routing policies."

To configure a preference for IS-IS:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter IS-IS IPv4 unicast address family view.

  • isis [ process-id ] [ vpn-instance vpn-instance-name ]

  • cost-style { wide | wide-compatible }

  • address-family ipv4 [ unicast ]

  • N/A

    3. Configure a preference for IS-IS.

    preference { preference | route-policy route-policy-name } *

    The default setting is 15.