4-6
You must use the
stub
command on all the routers connected to a Stub area to configure the area with
the stub attribute.
Use the
default-cost
command to configure the cost of the default route advertised by an ABR to a
Stub area or NSSA.
OSPF advertises a default route in the following cases:
z
When a (totally) stub area is configured, the ABR of the area automatically generates a default
route.
z
After the
nssa no-summary
command is used on the ABR of an NSSA area, the NSSA ABR
advertises a default route into the area.
z
After the
nssa default-route-advertise
command is configured on an NSSA ABR, the ABR
generates a default route into the NSSA regardless of whether the default route is available. If the
nssa default-route-advertise
command is configured on an NSSA ASBR, only when a default
route is available on the ASBR can the router generate the default route into the attached area.
Related commands:
stub
,
nssa
.
Examples
# Set area 1 to a Stub area and the cost of the default route advertised to this Stub area to 60.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] area 1
[Sysname-ospf-1-area-0.0.0.1] network 20.0.0.0 0.255.255.255
[Sysname-ospf-1-area-0.0.0.1] stub
[Sysname-ospf-1-area-0.0.0.1] default-cost 60
default-route-advertise
Syntax
default-route-advertise
[
always
|
cost
value
|
type type-value
|
route-policy
route-policy-name
]*
undo default-route-advertise
[
always
|
cost
|
type
|
route-policy
]*
View
OSPF view
Parameters
always
: Generates a default external route in an ASE LSA into the OSPF routing domain in the case
that the router has no default route configured. Without this keyword, you have to configure a default
route to redistribute an ASE LSA into the OSPF routing domain.
Summary of Contents for 5500-EI Series
Page 43: ...2 6 ...
Page 76: ...1 17 ...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Page 519: ...iii ...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Page 1111: ...ii xmodem get 3 18 ...
Page 1314: ...A 44 Z ...