[quagga-dev 9972] [PATCH 0/1] bgpd: add replace-as modifier for BGP neighbor

Andrew Certain certain at amazon.com
Wed Nov 7 22:16:48 GMT 2012


This patch is a small addition to the BGP daemon to support the
replace-as modifier for BGP neighbors when local-as is used.  The
replace-as modifier instructs the BGP process to prepend only the AS
supplied in the local-as modifier to the AS_PATH.

See
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtbgpdas.html#wp1045321
for more information.

I have tested it running under RHEL5 interacting with Juniper QFX3500
neighbors to verify that the basic functionality works and that it
doesn't obviously break other BGP AS_PATH functionality.

Since the local-as modifier isn't documented, I did not update the
documentation to include this sub-modifer.

Andrew Certain (1):

 bgpd/bgp_attr.c |   11 +++++++++--
 bgpd/bgp_vty.c  |   45 +++++++++++++++++++++++++++++++++++++++++----
 bgpd/bgpd.c     |   29 +++++++++++++++++++++++++----
 bgpd/bgpd.h     |    4 +++-
 4 files changed, 78 insertions(+), 11 deletions(-)

-- 
1.7.5.4




More information about the Quagga-dev mailing list