< Home

Configuring the OSPF Priority

When multiple routing protocols are used to select routes, you can set the OSPF priority to maneuver route selection.

Context

Multiple dynamic routing protocols may run on a router at the same time. Thus, there is the problem of routing information sharing and routing selection among routing protocols. The system sets the priority for each routing protocol. When different protocols detect the same route, the route with a higher priority is selected.

Procedure

  1. Access the system view.

    system-view

  2. Access the OSPF process view.

    ospf [ process-id ]

  3. Configure a protocol preference of OSPF.

    preference [ ase ] { preference | route-policy route-policy-name } *

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