F3215-HP Load Balancing Module Network Management Command Reference-6PW101

184
a Type-5 LSA into the OSPF routing domain, the router calculates default routes from other routers
regardless of whether this keyword is specified.
cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If no cost is specified, the
default cost specified by the default cost command applies.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters. When a default route exists in the routing table and the specified routing policy is matched,
the command distributes a default route in a Type-5 LSA into the OSPF routing domain, and the routing
policy modifies some values in the Type-5 LSA. If the always keyword is specified at the same time, the
command can distribute a default route in a Type-5 LSA into the OSPF routing domain when the specified
routing policy is matched, regardless of whether a default route exists in the routing table, and the routing
policy modifies some values in the Type-5 LSA.
type type: Specifies a type for the Type-5 LSA: 1 or 2. If no type is specified, the default type for the
Type-5 LSA specified by the default type command applies.
summary: Advertises the specified default route in a Type-3 LSA.
Usage guidelines
The default-route-advertise summary cost command is applicable only to VPNs. It enables a PE router
to redistribute a default external route in a Type-3 LSA to CE routers.
This command redistributes a default route in Type-5 LSA, which cannot be redistributed with the
import-route command.
Examples
# Generate a default route into the OSPF routing domain, regardless of whether the default route exists
in the routing table.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] default-route-advertise always
Related commands
default
import-route
description (OSPF/OSPF area view)
Use description to configure a description for an OSPF process or area.
Use undo description to remove the description.
Syntax
description description
undo description
Default
No description is configured for an OSPF process or area.
Views
OSPF view, OSPF area view
Default command level
2: System level