summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Certain <certain@amazon.com>2012-11-08 00:50:09 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2012-11-30 21:10:51 +0100
commit5aebb9c77fc2257c9d9df72db66668fabb24fc52 (patch)
treeeb6964198f32c3196710ba1812902c43ef87f1b4 /doc
parentbgpd: Fixed out-of-date comment (diff)
downloadfrr-5aebb9c77fc2257c9d9df72db66668fabb24fc52.tar.xz
frr-5aebb9c77fc2257c9d9df72db66668fabb24fc52.zip
bgpd: document bgp neighbor local-as peer command
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/bgpd.texi21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/bgpd.texi b/doc/bgpd.texi
index 63834600a..dd37d3ecd 100644
--- a/doc/bgpd.texi
+++ b/doc/bgpd.texi
@@ -339,6 +339,27 @@ routes.
@deffnx {BGP} {no neighbor @var{peer} maximum-prefix @var{number}} {}
@end deffn
+@deffn {BGP} {neighbor @var{peer} local-as @var{as-number}} {}
+@deffnx {BGP} {neighbor @var{peer} local-as @var{as-number} no-prepend} {}
+@deffnx {BGP} {neighbor @var{peer} local-as @var{as-number} no-prepend replace-as} {}
+@deffnx {BGP} {no neighbor @var{peer} local-as} {}
+Specify an alternate AS for this BGP process when interacting with the
+specified peer. With no modifiers, the specified local-as is prepended to
+the received AS_PATH when receiving routing updates from the peer, and
+prepended to the outgoing AS_PATH (after the process local AS) when
+transmitting local routes to the peer.
+
+If the no-prepend attribute is specified, then the supplied local-as is not
+prepended to the received AS_PATH.
+
+If the replace-as attribute is specified, then only the supplied local-as is
+prepended to the AS_PATH when transmitting local-route updates to this peer.
+
+Note that replace-as can only be specified if no-prepend is.
+
+This command is only allowed for eBGP peers.
+@end deffn
+
@node Peer filtering
@subsection Peer filtering