Configuring a Preference Value for IS-IS
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 preference is selected.
To prefer a route discovered by IS-IS, configure a higher preference value for IS-IS. In addition, a routing policy can be configured to increase the preferences of specified IS-IS routes, without affecting route selection.
Procedure
- Run system-view
The system view is displayed.
- Run isis [ process-id ]
The IS-IS view is displayed.
- Run preference { preference | route-policy route-policy-name } *
The IS-IS preference value is configured.
The default IS-IS preference value is 15. A smaller preference value indicates a higher preference.
- Run commit
The configuration is committed.