summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-02-16 13:01:23 +0100
committerGitHub <noreply@github.com>2026-02-16 12:01:23 +0000
commit605191198048466d079c6c4f4c64592d58615a1c (patch)
tree59342a2c4a7193ee477b7b7ed7429a8c3703f312 /docs
parentc4afb8513116da17d68605d85442f04f2289c33a (diff)
downloadvyos-documentation-605191198048466d079c6c4f4c64592d58615a1c.tar.gz
vyos-documentation-605191198048466d079c6c4f4c64592d58615a1c.zip
bgp: T7984: add CLI support for "neighbor <N> remote-as auto" (#1769)
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/protocols/bgp.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/configuration/protocols/bgp.rst b/docs/configuration/protocols/bgp.rst
index fe6e93e7..736cb4cc 100644
--- a/docs/configuration/protocols/bgp.rst
+++ b/docs/configuration/protocols/bgp.rst
@@ -186,9 +186,9 @@ Defining Peers
^^^^^^^^^^^^^^
.. cfgcmd:: set protocols bgp neighbor <address|interface> remote-as
- <nasn>
+ <asn>
- This command creates a new neighbor whose remote-as is <nasn>. The neighbor
+ This command creates a new neighbor whose remote-as is <asn>. The neighbor
address can be an IPv4 address or an IPv6 address or an interface to use
for the connection. The command is applicable for peer and peer group.
@@ -206,6 +206,12 @@ Defining Peers
peers ASN is the same as mine as specified under the :cfgcmd:`protocols
bgp <asn>` command the connection will be denied.
+.. cfgcmd:: set protocols bgp neighbor <address|interface> remote-as
+ auto
+
+ Create a peer as you would when you specify an ASN, except that the peers
+ remote ASN is detected automatically from the OPEN message.
+
.. cfgcmd:: set protocols bgp neighbor <address|interface> local-role
<role> [strict]