![Huawei Quidway S5600 Operation Manual Download Page 330](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841330.webp)
Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 4 OSPF Configuration
Huawei Technologies Proprietary
4-17
Note:
OSPF is a dynamic routing protocol based on link state, with routing information hidden
in LSAs. Therefore, OSPF cannot filter any advertised or received LSA. In fact, the
filter-policy import
command filters the routes calculated by OSPF; only the routes
passing the filter can be added to the routing table.
4.6.4 Configuring the Cost for Sending Packets on an OSPF Interface
Table 4-10
Configure the cost for sending packets on an OSPF interface
Operation
Command
Description
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Configure the cost for sending
packets on an OSPF interface
ospf cost value
Optional
By default, OSPF
calculates the cost for
sending packets on an
interface according to
the current baud rate
on the interface. For a
VLAN interface on the
switch, this value is
fixed at 10.
4.6.5 Setting OSPF Route Priority
Since multiple dynamic routing protocols may be running on one router, the problem of
route sharing and selection between various routing protocols arises. The system sets
a priority for each routing protocol (which you can change manually), and when more
than one route to the same destination is discovered by different protocols, the route
with the highest priority will take preference over other routes.
Table 4-11
Set OSPF route priority
Operation
Command
Description
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
[
router-id
router-id
] ]
—