Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-6
Description
Use the
default cost
command to configure the default cost for OSPF to import
external routes.
Use the
undo default cost
command to restore the default value of the default routing
cost configured for OSPF to import external routes.
Since OSPF can import external routing information, whose routing cost can influence
routing selection and calculation, and propagate it to the entire autonomous system, it
is necessary to specify the default routing cost for the protocol to import external routes.
Example
# Specify the default routing cost for OSPF to import external routes as 10.
[Quidway-ospf-1] default cost 10
3.1.7 default interval
Syntax
default interval
seconds
undo default interval
View
OSPF view
Parameter
seconds
: Default interval in seconds for importing external routes. It ranges from 1 to
2,147,483,647 and defaults to 1.
Description
Use the
default interval
command to configure the default interval for OSPF to import
external routes.
Use the
undo default interval
command to restore the default value of the default
interval for importing external routes.
Because OSPF can import the external routing information and broadcast it to the
entire autonomous system, and importing routes too often will greatly affect the
performances of the device, it is necessary to specify the default interval for the
protocol to import external routes.
Example
# Specify the default interval for OSPF to import external routes as 10 seconds.
[Quidway-ospf-1] default interval 10