diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2017-05-09 07:47:09 +0000 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-05-09 11:10:45 -0400 |
commit | 0f62519cd77f1cf38dee5b58377d0c347fe619bc (patch) | |
tree | 836c0fc65d09a6129c4edc16f04267ccd584075a /docs/sources/cli-command-syntax.md | |
parent | 485b88244076b76a4bc1cef7b0630b3e70703fda (diff) |
server: ignore routes when local AS is in AS_PATH
RFC4271 9.1.2 Phase 2: Route Selection
If the AS_PATH attribute of a BGP route contains an AS loop, the BGP
route should be excluded from the Phase 2 decision function. AS loop
detection is done by scanning the full AS path (as specified in the
AS_PATH attribute), and checking that the autonomous system number of
the local system does not appear in the AS path. Operations of a BGP
speaker that is configured to accept routes with its own autonomous
system number in the AS path are outside the scope of this document.
Also this commit adds support for allow-own-as option to relax this.
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources/cli-command-syntax.md')
-rw-r--r-- | docs/sources/cli-command-syntax.md | 2 |
1 files changed, 1 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>] |