
96
Function:
Set the area to Not-So-Stubby-Area (NSSA ) area.
Parameter: <id>
is the area number which could be digits ranging between 0
~
4294967295,
and also as an IP address.
TRANLATOR = translator-role {candidate|never|always}
, specifies the LSA translation mode
for routes:
candidate
means if the router is elected translator, Type 7 LSA can be translated to
Type-5 LSA, the default is
candidate.
never
means the router will never translate Type 7 LSA to Type 5 LSA.
always
means the route always translate Type 7 LSA to Type 5 LSA.
no-redistribution
means never distribute external-LSA to NSSA.
DEFAULT-ORIGINATE=default-information-originate [metric <0-16777214>] [metric-type
<1-2>]
, generate the Type-7 LSA.
metric
<0-16777214>
specify the metric value.
metric-type <1-2>
specifies the metric value type of external-LSA , default value is 2.
no-summary
shows not injecting area route to the NSSA.
Default:
No NSSA area defined by default.
Command Mode:
OSPF protocol mode.
Usage Guide:
The same area can not be both NSSA and stub at the same time.
Example:
Set area 3 to NSSA.
Switch#config terminal
Switch(config)#router ospf 100
Switch(config-router)#area 0.0.0.51 nssa
Switch(config-router)#area 3 nssa default-information-originate metric 34 metric-type 2
translator-role candidate no-redistribution
1.6.3.5 area range
Command: area <id> range <address> [advertise| not-advertise| substitute]
no area <id> range <address>
Function:
Aggregate OSPF route on the area border. The “
no area <id> range
<address>
“ cancels this function.
Parameter: <id>
is the area number which could be digits ranging between 0
~
4294967295,
and also as an IP address.
<address>=<A.B.C.D/M>
specifies the area network prefix and its length.
advertise:
Advertise this area, which is the default.
not-advertise :
Not advertise this area.
substitute= substitute <A.B.C.D/M>
: advertise this area as another prefix.
<A.B.C.D/M>
: Replace the network prefix to be advertised in this area.
Default:
Not set.
Command Mode:
OSPF protocol mode.