Operation Manual – Routing Protocol
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 4
OSPF Configuration
4-18
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
Required
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 Configuring 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 Configure OSPF route priority
Operation Command Description
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Required
Configure OSPF
route priority
preference [ ase ] value
Optional
By default, the OSPF route
priority is 10 and the priority of
OSPF ASE is 150.
4.6.6 Configuring the Maximum Number of OSPF Equal-Cost Routes
Table 4-12 Configure the maximum number of OSPF equal-cost routes
Operation Command Description
Enter system view
system-view
—