3Com Switch 7750 Configuration Guide Guide

OSPF Route Control 301
Configuring the
Maximum Number of
OSPF Equal-Cost Routes
Configuring OSPF to
Import External Routes
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 222 Set OSPF route priority
Operation Command Description
Table 223 Configure the maximum number of OSPF equal-cost routes
Operation Command Description
Enter system view system-view -
Enter OSPF view
ospf [ process-id [ router-id
router-id ] ]
-
Configure the maximum
number of OSPF equal-cost
routes
multi-path-number value Optional
Table 224 Configure OSPF to import external routes
Operation Command Description
Enter system view system-view -
Enter OSPF view
ospf [ process-id [ router-id
router-id ] ]
-
Enable OSPF to import routes
of other protocols
import-route protocol [ 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 [ routing-protocol ]
Optional
By default, OSPF does not
filter advertised routes.
Enable OSPF to import the
default route
default-route-advertise [
always | cost value | type
type-value | route-policy
route-policy-name ]*
Optional
By default, OSPF does not
import the default route.
Configure the default cost for
OSPF to import external
routes
default cost value
Optional
By default, the cost for OSPF
to import external routes is 1.
Configure the default
maximum number of external
routes imported by OSPF per
unit time.
default limit routes
Optional
By default, a maximum of
1000 routes can be imported.
Configure the default tag for
OSPF to import external
routes
default tag tag
Optional
The default tag is 1 if it is not
set by using this command.
Configure the default type of
external routes that OSPF will
import
default type { 1 | 2 }
Optional
By default, the type of
imported external routes is
Type-2.