Routing
H3C Low-End Ethernet Switches Configuration Examples
Configure to filter the
received routes
VIII. Configuring the OSPF Cost on an Interface
Table 1-29 Configure the OSPF cost on an interface
Operation
Enter system view
Enter interface view
Configure the OSPF
cost on the interface
IX. Configuring OSPF Route Priority
Table 1-30 Configure OSPF route priority
Operation
Enter system view
Enter OSPF view
Configure OSPF route
priority
X. Configuring the Maximum Number of OSPF ECMP Routes
Table 1-31 Configure the maximum number of OSPF ECMP routes
Enter system view
Enter OSPF view
Operation
filter-policy { acl-number
| ip-prefix ip-prefix-name
| gateway
ip-prefix-name } import
system-view
interface interface-type
interface-number
ospf cost value
system-view
ospf [ process-id
[ router-id router-id ] ]
preference [ ase ] value
Operation
system-view
ospf [ process-id
[ router-id router-id ] ]
Command
Command
—
—
Optional
By default, the interface
calculates the OSPF cost
according to the current baud
rate on it. For a VLAN interface
on the switch, a fixed value of
10 is used.
Command
Command
1-13
Chapter 1 Routing Overview
Remarks
Required
By default, OSPF does
not filter received routing
information.
Remarks
Remarks
—
—
Optional
By default, the OSPF route
priority is 10 and the priority
of OSPF ASE is 150.
Remarks
—
—