Skip to content

Commit

Permalink
doc: Add set metric aigp command
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Oct 8, 2024
1 parent 6c9f358 commit 07d48af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/user/routemap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Route Map Set Command

Set the route's weight.

.. clicmd:: set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt|igp>
.. clicmd:: set metric <[+|-](1-4294967295)|rtt|+rtt|-rtt|igp|aigp>

Set the route metric. When used with BGP, set the BGP attribute MED to a
specific value. Use `+`/`-` to add or subtract the specified value to/from
Expand All @@ -314,6 +314,9 @@ Route Map Set Command

If ``igp`` is specified, then the actual value from the IGP protocol is used.

If ``aigp`` is specified, then the actual value from the AIGP metric is used
(encoded as MED instead of AIGP attribute).

.. clicmd:: set min-metric <(0-4294967295)>

Set the minimum meric for the route.
Expand Down

0 comments on commit 07d48af

Please sign in to comment.