From 9e42e462b4b9b9011f977a3bfeedffe348afc051 Mon Sep 17 00:00:00 2001 From: dmitrytc Date: Thu, 19 Oct 2023 16:32:12 +0300 Subject: [PATCH] Added vwan BGP configuration file --- azure/misc/nva_bgp_config.conf | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 azure/misc/nva_bgp_config.conf diff --git a/azure/misc/nva_bgp_config.conf b/azure/misc/nva_bgp_config.conf new file mode 100644 index 00000000..8338a780 --- /dev/null +++ b/azure/misc/nva_bgp_config.conf @@ -0,0 +1,38 @@ +set as +set routemap ex_azure id 110 on +set routemap ex_azure id 110 restrict +set routemap ex_azure id 110 match neighbor on +set routemap ex_azure id 110 match protocol bgp +set routemap ex_azure id 120 on +set routemap ex_azure id 120 allow +set routemap ex_azure id 120 action nexthop ip +set routemap im_azure id 100 on +set routemap im_azure id 100 allow +set bgp external remote-as on +set bgp external remote-as export-routemap "ex_azure" preference 10 on +set bgp external remote-as import-routemap "im_azure" preference 10 on +set bgp external remote-as peer on +set bgp external remote-as peer multihop on +set bgp external remote-as peer graceful-restart on + +# For example +# set as 64512 +# set routemap ex_azure id 110 on +# set routemap ex_azure id 110 restrict +# set routemap ex_azure id 110 match neighbor 10.1.32.4 on +# set routemap ex_azure id 110 match neighbor 10.1.32.5 on +# set routemap ex_azure id 110 match protocol bgp +# set routemap ex_azure id 120 on +# set routemap ex_azure id 120 allow +# set routemap ex_azure id 120 action nexthop ip 10.1.112.7 +# set routemap im_azure id 100 on +# set routemap im_azure id 100 allow +# set bgp external remote-as 65515 on +# set bgp external remote-as 65515 export-routemap "ex_azure" preference 10 on +# set bgp external remote-as 65515 import-routemap "im_azure" preference 10 on +# set bgp external remote-as 65515 peer 10.1.32.4 on +# set bgp external remote-as 65515 peer 10.1.32.4 multihop on +# set bgp external remote-as 65515 peer 10.1.32.4 graceful-restart on +# set bgp external remote-as 65515 peer 10.1.32.5 on +# set bgp external remote-as 65515 peer 10.1.32.5 multihop on +# set bgp external remote-as 65515 peer 10.1.32.5 graceful-restart on \ No newline at end of file