Skip to content

Commit

Permalink
doc: add 'mpls label dynamic-block' information
Browse files Browse the repository at this point in the history
Add information on the 'mpls label dynamic-block'
command.

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed Oct 3, 2023
1 parent d225cdc commit 853d042
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/user/zebra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,18 @@ presence of the entry.
21 Static 10.125.0.2 IPv4 Explicit Null


MPLS label chunks
-----------------

MPLS label chunks are handled in the zebra label manager service,
which ensures a same label value or label chunk can not be used by
multiple CP routing daemons at the same time.

Label requests originate from CP routing daemons, and are resolved
over the default MPLS range (16-1048575). Hardset label requests
are label requests that request an exact label value, whereas
dynamic label requests only need a range of label values.

Allocated label chunks table can be dumped using the command

.. clicmd:: show debugging label-table
Expand All @@ -796,6 +808,13 @@ Allocated label chunks table can be dumped using the command
Proto ospf: [20000/21000]
Proto isis: [22000/23000]

.. clicmd:: mpls label dynamic-block (16-1048575)

Define a range of labels where dynamic label requests will
allocate label chunks from. This command guarantees that
hardset label values outside that range will not conflict
with the dynamic label requests.

.. _zebra-srv6:

Segment-Routing IPv6
Expand Down

0 comments on commit 853d042

Please sign in to comment.