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.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...