From 07d48afca600b4939bd4dc69959048369268f6a7 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 8 Oct 2024 21:53:19 +0300 Subject: [PATCH] doc: Add `set metric aigp` command Signed-off-by: Donatas Abraitis --- doc/user/routemap.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index 24d59e44db09..404089001a87 100644 --- a/doc/user/routemap.rst +++ b/doc/user/routemap.rst @@ -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 @@ -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.