Changed definition of stub area.
This commit is contained in:
parent
85062e8a60
commit
b2bdb40656
2 changed files with 6 additions and 4 deletions
|
@ -1009,7 +1009,7 @@ on nonbroadcast networks.
|
||||||
protocol ospf <name> {
|
protocol ospf <name> {
|
||||||
rfc1583compat <switch>;
|
rfc1583compat <switch>;
|
||||||
area <id> {
|
area <id> {
|
||||||
stub <switch>;
|
stub cost <num>;
|
||||||
tick <num>;
|
tick <num>;
|
||||||
interface <interface pattern>
|
interface <interface pattern>
|
||||||
{
|
{
|
||||||
|
@ -1047,8 +1047,10 @@ protocol ospf <name> {
|
||||||
The most important area is
|
The most important area is
|
||||||
the backbone (ID 0) to which every other area must be connected.
|
the backbone (ID 0) to which every other area must be connected.
|
||||||
|
|
||||||
<tag>stub <M>switch</M></tag>
|
<tag>stub cost <M>num</M></tag>
|
||||||
No external routes are flooded into stub areas. Default value is no.
|
No external (except default) routes are flooded into stub areas.
|
||||||
|
Setting this value marks area stub with defined cost of default route.
|
||||||
|
Default value is no. (Area is not stub.)
|
||||||
|
|
||||||
<tag>tick <M>num</M></tag>
|
<tag>tick <M>num</M></tag>
|
||||||
The routing table calculation is not performed when a single link state
|
The routing table calculation is not performed when a single link state
|
||||||
|
|
|
@ -70,7 +70,7 @@ ospf_area_opts:
|
||||||
;
|
;
|
||||||
|
|
||||||
ospf_area_item:
|
ospf_area_item:
|
||||||
STUB bool { this_area->stub = $2 ; }
|
STUB COST expr { this_area->stub = $3 ; if($3<=0) cf_error("Stub cost must be greater than zero"); }
|
||||||
| TICK expr { this_area->tick = $2 ; if($2<=0) cf_error("Tick must be greater than zero"); }
|
| TICK expr { this_area->tick = $2 ; if($2<=0) cf_error("Tick must be greater than zero"); }
|
||||||
| INTERFACE ospf_iface_list
|
| INTERFACE ospf_iface_list
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue