Operation Manual – Routing Protocol
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 4
OSPF Configuration
4-19
Operation Command Description
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Required
Configure the maximum
number of OSPF equal-cost
routes
multi-path-number value
Optional
4.6.7 Configuring OSPF to Import External Routes
Table 4-13 Configure OSPF to import external routes
Operation Command Description
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Required
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.