H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples
Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 Routing Overview
1-13
VII. Configuring OSPF to Filter Received Routes
Table 1-27 Configure OSPF to filter received routes
Operation Command Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
—
Configure to filter the
received routes
filter-policy { acl-number
| ip-prefix ip-prefix-name |
gateway ip-prefix-name }
import
Required
By default, OSPF does
not filter received routing
information.
VIII. Configuring the OSPF Cost on an Interface
Table 1-28 Configure the OSPF cost on an interface
Operation Command Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure the OSPF
cost on the interface
ospf cost value
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.
IX. Configuring OSPF Route Priority
Table 1-29 Configure OSPF route priority
Operation Command Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
—
Configure OSPF route
priority
preference [ ase ] value
Optional
By default, the OSPF route
priority is 10 and the priority
of OSPF ASE is 150.