diff options
| author | anlan_cs <vic.lan@pica8.com> | 2022-01-27 11:10:07 -0500 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2022-01-27 16:52:35 -0500 |
| commit | dea895320863f7c4fcfc03807c185b6bf9463f68 (patch) | |
| tree | e188b753dac25900cad079a3a3670163356f3dc1 | |
| parent | 70d79c359b321337c3791944ef068917b24748b6 (diff) | |
doc: add "cost" to ospfd "range" command
Add "cost" for "area A.B.C.D range A.B.C.D/M".
Signed-off-by: anlan_cs <vic.lan@pica8.com>
| -rw-r--r-- | doc/user/ospfd.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/user/ospfd.rst b/doc/user/ospfd.rst index ed4d02d89b..349b54098e 100644 --- a/doc/user/ospfd.rst +++ b/doc/user/ospfd.rst @@ -313,9 +313,9 @@ To start OSPF process you have to specify the OSPF router. Areas ----- -.. clicmd:: area A.B.C.D range A.B.C.D/M +.. clicmd:: area A.B.C.D range A.B.C.D/M [advertise [cost (0-16777215)]] -.. clicmd:: area (0-4294967295) range A.B.C.D/M +.. clicmd:: area (0-4294967295) range A.B.C.D/M [advertise [cost (0-16777215)]] @@ -346,9 +346,9 @@ Areas range are not advertised into other areas. This command makes sense in ABR only. -.. clicmd:: area A.B.C.D range A.B.C.D/M substitute A.B.C.D/M +.. clicmd:: area A.B.C.D range A.B.C.D/M {substitute A.B.C.D/M|cost (0-16777215)} -.. clicmd:: area (0-4294967295) range A.B.C.D/M substitute A.B.C.D/M +.. clicmd:: area (0-4294967295) range A.B.C.D/M {substitute A.B.C.D/M|cost (0-16777215)} Substitute summarized prefix with another prefix. @@ -364,6 +364,11 @@ Areas One Type-3 summary-LSA with routing info 11.0.0.0/8 is announced into backbone area if area 0.0.0.10 contains at least one intra-area network (i.e. described with router-LSA or network-LSA) from range 10.0.0.0/8. + + By default, the metric of the summary route is calculated as the highest + metric among the summarized routes. The `cost` option, however, can be used + to set an explicit metric. + This command makes sense in ABR only. .. clicmd:: area A.B.C.D virtual-link A.B.C.D |
