Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches
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
Follow these steps to configure the cost for sending packets on an OSPF interface:
To do...
Enter system view
Enter interface view
Configure the cost
for sending packets
on an OSPF
interface
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.
Follow these steps to set OSPF route priority:
To do...
Enter system view
Enter OSPF view
Set OSPF route
priority
Use the command...
system-view
interface interface-type
interface-number
ospf cost value
Use the command...
system-view
ospf [ process-id [ router-id
router-id ] ]
preference [ ase ] value
4-17
Chapter 4 OSPF Configuration
Remarks
—
—
Required
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 1.
Remarks
—
—
Required
By default, the OSPF route
priority is 10 and the priority
of OSPF ASE is 150.