From 799b7f511248d68bbbe05e0dfd2aa4849fc32387 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 5 May 2022 18:44:01 +0200 Subject: policy: T4414: add support for route-map "as-path prepend last-as x" --- interface-definitions/policy.xml.in | 57 ++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 16 deletions(-) (limited to 'interface-definitions/policy.xml.in') diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index ddb0159d5..1d5d7dd55 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -948,24 +948,49 @@ - + - Remove ASN(s) from a Border Gateway Protocol (BGP) AS-path attribute - - txt - BGP AS path exclude string (ex: "456 64500 45001") - - - - - - Prepend string for a Border Gateway Protocol (BGP) AS-path attribute - - txt - BGP AS path prepend string (ex: "64501 64501") - + Transform BGP AS_PATH attribute - + + + + Remove/exclude from the as-path attribute + + u32 + AS number + + + + + + + + + Prepend to the as-path + + u32 + AS number + + + + + + + + + Use the last AS-number in the as-path + + u32:1-10 + Number of times to insert + + + + + + + + BGP atomic aggregate attribute -- cgit v1.2.3