Huawei Quidway S8500 Series Command Manual page 330

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
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
Huawei Technologies Proprietary
3-10
Chapter 3 OSPF Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents