3Com Switch 7750 Configuration Guide
OSPF Route Control 315
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.
Configuring OSPF Route
Redistribution
Table 239 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 1.
Table 240 Set OSPF route priority
Operation Command Description
Enter system view system-view -
Enter OSPF view ospf [ process-id [ router-id
router-id ]]
-
Set OSPF route priority preference [ ase ] value Optional
By default, the OSPF route
priority is 10 and the priority
of OSPF ASE is 150.
Table 241 Configure OSPF route redistribution
Operation Command Description
Enter system view system-view -
Enter OSPF view ospf [ process-id [ router-id
router-id ]]
-
Enable OSPF to redistribute
routes from another routing
protocol
import-route protocol
[ process-id | allow-ibgp ]
[ cost value | type value | tag
value | route-policy
route-policy-name ]*
Required
By default, OSPF does not
import the routing
information of other
protocols.
Enable OSPF to filter advertised
routes
filter-policy { acl-number |
ip-prefix ip-prefix-name }
export [protocol ]
Optional
By default, OSPF does not
filter advertised routes.