From c54b1fd63d5a046befe58da299530de12798cf36 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 17 Mar 2024 08:41:22 +0100 Subject: policy: T6129: add route-map option "as-path exclude all" Remove all AS numbers from the AS_PATH of the BGP path's NLRI. set policy route-map rule set as-path exclude all (cherry picked from commit 16395c902ff79fcb34019a6d499467488ed45849) --- interface-definitions/policy.xml.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 0d82cd3f8..791fa1d87 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -1124,12 +1124,20 @@ Remove/exclude from the as-path attribute + + all + - u32 + u32:1-4294967295 AS number + + all + Exclude all AS numbers from the as-path + + (all) @@ -1137,7 +1145,7 @@ Prepend to the as-path - u32 + u32:1-4294967295 AS number -- cgit v1.2.3