doc: fix one command for isis

Correct one command for isis based on code. And better the web page.

Signed-off-by: anlan_cs <anlan_cs@tom.com>
This commit is contained in:
anlan_cs 2024-05-06 20:38:57 +08:00
parent 53820a5753
commit 8b815dd2ad

View file

@ -462,10 +462,14 @@ To do so, it defines a set of Flex-Algo Definitions (FAD) which
have the following characteristics: have the following characteristics:
- a numeric identifier (ID) between 128 and 255 inclusive - a numeric identifier (ID) between 128 and 255 inclusive
- a set of constraints (basically, include or exclude a certain given set of - a set of constraints (basically, include or exclude a certain given set of
links, designated by a admin-group) links, designated by a admin-group)
- the calculation type (only the `Shortest-Path-First` is currently supported) - the calculation type (only the `Shortest-Path-First` is currently supported)
- the metric type (only the IGP inherited metric type is currently supported) - the metric type (only the IGP inherited metric type is currently supported)
- some additional flags (not supported for the moment). - some additional flags (not supported for the moment).
A subset of routers advertises the Flex-Algo Definitions (FAD) to the other A subset of routers advertises the Flex-Algo Definitions (FAD) to the other
@ -475,13 +479,18 @@ rules:
- If a locally configured FAD is not advertised to the area, the router does not - If a locally configured FAD is not advertised to the area, the router does not
participate in the particular flex algorithm. participate in the particular flex algorithm.
- If a given flex algorithm is running, the participation in this particular - If a given flex algorithm is running, the participation in this particular
flex algorithm stops when its advertisements are over. flex algorithm stops when its advertisements are over.
- A router includes its own FAD in the election process if and only if it is - A router includes its own FAD in the election process if and only if it is
advertised to the other routers. advertised to the other routers.
- If only one router advertises the FAD, the FAD is elected. - If only one router advertises the FAD, the FAD is elected.
- If several FADs are advertised with different priorities, the one with the - If several FADs are advertised with different priorities, the one with the
highest priority value is selected. highest priority value is selected.
- If there are multiple advertisements of the FAD with the same highest - If there are multiple advertisements of the FAD with the same highest
priority, the FAD of the router with the highest IS-IS system-ID is priority, the FAD of the router with the highest IS-IS system-ID is
selected. selected.
@ -497,15 +506,11 @@ which flex algorithm they must use for a given packet.
The following commands configure Flex-Algo at the 'router isis' configuration The following commands configure Flex-Algo at the 'router isis' configuration
level. Segment-Routing prefixes must be configured for the Flex-Algo. level. Segment-Routing prefixes must be configured for the Flex-Algo.
.. clicmd:: flexible-algorithm (128-255) .. clicmd:: flex-algo (128-255)
Add a Flex-Algo Definition (FAD) and enter the FAD configuration Add a Flex-Algo Definition (FAD) and enter the FAD configuration
level. The algorithm ID value is in the range of 128 to 255 inclusive. level. The algorithm ID value is in the range of 128 to 255 inclusive.
.. clicmd:: no flexible-algorithm (128-255)
Unconfigure a Flex-Algo Definition.
.. clicmd:: affinity-map NAME bit-position (0-255) .. clicmd:: affinity-map NAME bit-position (0-255)
Add the specified 'affinity-map'. Affinity-map definitions are used in Add the specified 'affinity-map'. Affinity-map definitions are used in
@ -517,7 +522,7 @@ level. Segment-Routing prefixes must be configured for the Flex-Algo.
admin-group 'bit-position' is set 1, else it is set to 0. admin-group 'bit-position' is set 1, else it is set to 0.
The following commands configure Flex-Algo at the 'router isis' and The following commands configure Flex-Algo at the 'router isis' and
'flexible-algorithm (128-255)' configuration level. 'flex-algo (128-255)' configuration level.
.. clicmd:: advertise-definition .. clicmd:: advertise-definition