3Com Switch 7750 Configuration Guide Guide
300 CHAPTER 34: OSPF CONFIGURATION
Configuring OSPF to
Filter Received Routes
n
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.
Configuring the Cost for
Sending Packets on an
OSPF Interface
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.
Enable ASBR route summary
asbr-summary ip-address
mask [ not-advertise | tag
value ]
Required
This command takes effect
only when it is configured on
an ASBR. By default, summary
of imported routes is disabled.
Table 219 Configure ASBR route summary
Operation Command Description
Tabl e 220 Configure OSPF to filter received routes
Operation Command Description
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.
Tabl e 221 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.
Tabl e 222 Set OSPF route priority
Operation Command Description
Enter system view system-view -