4-7
summary
: Advertises the Type-3 summary LSA of the specified default route.
Description
Use the
default-route-advertise
command to generate a default route into the OSPF routing domain.
Use the
undo default-route-advertise
command to disable OSPF from distributing a default external
route.
By default, no default route is distributed.
Using the
import-route
command cannot redistribute a default route. To do so, use the
default-route-advertise
command. If no default route exists in the router's routing table, use the
default-route-advertise always
command to generate a default route in a Type-5 LSA.
The
default-route-advertise
summary cost
command is applicable only to VPNs, and the default
route is redistributed in a Type-3 LSA. The PE router advertises the redistributed default route to the
CE router.
Related commands:
import-route
,
default
.
Examples
# Generate a default route in an ASE LSA into the OSPF routing domain (no default route configured
on the router), regardless of whether the default route is available in the routing table.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] default-route-advertise always
description (OSPF/OSPF area view)
Syntax
description
description
undo
description
View
OSPF view/OSPF area view
Default Level
2: System level
Parameters
description
: Configures a description for the OSPF process in OSPF view, or for the OSPF area in
OSPF area view.
description
is a string of up to 80 characters.
Description
Use the
description
command to configure a description for an OSPF process or area.
Use the
undo description
command to remove the description.
No description is configured by default.
Use of this command is only for the identification of an OSPF process or area. The description has no
special meaning.
Examples
# Describe OSPF process 100 as
abc
.
<Sysname> system-view