summaryrefslogtreecommitdiffhomepage
path: root/docs/sources
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources')
-rw-r--r--docs/sources/cli-command-syntax.md2
-rw-r--r--docs/sources/configuration.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index cd5a4523..7c70248b 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -103,7 +103,7 @@ The following options can be specified in the global subcommand:
#### - syntax
```shell
# add neighbor
-% gobgp neighbor add { <neighbor address> | interface <ifname> } as <as number> [ vrf <vrf-name> | route-reflector-client [<cluster-id>] | route-server-client ]
+% gobgp neighbor add { <neighbor address> | interface <ifname> } as <as number> [ vrf <vrf-name> | route-reflector-client [<cluster-id>] | route-server-client | allow-own-as <num> ]
# delete neighbor
% gobgp neighbor delete { <neighbor address> | interface <ifname> }
% gobgp neighbor <neighbor address> softreset [-a <address family>]
diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md
index c6162db4..615e3462 100644
--- a/docs/sources/configuration.md
+++ b/docs/sources/configuration.md
@@ -49,6 +49,8 @@
neighbor-address = "192.168.10.2"
# override global.config.as value
local-as = 1000
+ [neighbors.as-path-options.config]
+ allow-own-as = 1
[neighbors.timers.config]
connect-retry = 5
hold-time = 9