4.3.5 (Optional) Setting the OSPF Priority
When multiple routing protocols are used to select routes, you can set the OSPF priority to
maneuver route selection.
Context
The routing protocols may share and select the routing information because the switch may run
multiple dynamic routing protocols at the same time. The system sets a priority for each routing
protocol. When multiple routing protocols are used to select routes, the route selected by the
routing protocol with a higher priority takes effect.
Perform the following steps on the switch running OSPF.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ospf
[
process-id
]
The OSPF process view is displayed.
Step 3
Run:
preference
[
ase
] {
preference
|
route-policy
route-policy-name
}
*
The OSPF priority is set.
l
ase
: sets the priority of the AS-External route.
l
preference
: sets the priority for OSPF. The smaller the value, the higher the priority.
l
route-policy-name
: sets the priority for specified routes in the routing policy.
The default OSPF priority value is 10. When an ASE is specified, the default OSPF priority
value is 150.
----End
4.3.6 (Optional) Restricting the Flooding of LSA Update Packets
When a large number of LSA update packets are flooded, the neighboring switch may be busy
processing LSA update packets and has to discard the Hello packets that are used to maintain
neighbor relationships. This causes neighbor relationships to be interrupted. To resolve this
problem, you can restrict the flooding of LSA update packets to maintain neighbor relationships.
Context
When multiple neighboring switches are configured or a large number of LSA update packets
are flooded, the neighboring switch may receive a large number of LSA update packets in a short
period. This keeps the neighboring switch busy processing a burst of LSA update packets and
causes the neighboring switch to unexpectedly discard Hello packets that are used to maintain
the OSPF neighbor relationships. As a result, the neighbor relationships are interrupted. After
the neighbor relationships are reestablished, more packets are to be exchanged. This intensifies
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4 OSPF Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
94