Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-10
undo default-route-advertise
[
always
|
cost
|
type
|
route-policy
]*
View
OSPF view
Parameter
always
: The parameter will generate an ASE LSA which describes the default route
and will advertise it if the local router is not configured with the default route. If this
parameter is not set, the local router cannot import the ASE LSA, which generates the
default route only when it is configured with the default route.
cost
value
: The cost value of this ASE LSA. The metric-value ranges from 0 to
16,777,214. If the parameter is not configured, the default value is 1.
type type-value:
Cost type of this ASE LSA. It ranges from 1 to 2. If the parameter is not
configured, the default value is 2.
route-policy
route-policy-name:
If the default route match the route-policy specified by
route-policy-name
, route-policy will affect the value in ASE LSA. The length of
route-policy-name
argument is a character string of 1 to 19 characters.
Description
Use the
default-route-advertise
command to import default route to OSPF route area.
Use the
undo default-route-advertise
command to cancel the redistribution of default
route.
By default, OSPF does not import default route.
The
import-route
command cannot import the default route. To import the default route
to the route area, this command must be used. When local router is not configured with
default route, the keyword
always
should be used by ASE LSA to generate default
route.
Related command:
import-route
.
Example
# If local route has no default route, the ASE LSA of default route will be generated.
Otherwise, it will not be generated.
[Quidway-ospf-1] default-route-advertise
# The ASE LSA of default route will be generated and advertised to OSPF route area
even the local router has no default route.
[Quidway-ospf-1] default-route-advertise always
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...