diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-08-07 16:55:37 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-08-30 09:24:10 +0900 |
commit | 87b473ad4d7735774f4b74d4b651e0baa1bd1029 (patch) | |
tree | f2bf67eb3d16e352e3ed1a815609eb94d9a83d17 /docs | |
parent | b8a303815ef2b5741f517ae96816ff90ac193edd (diff) |
cli: Enable to specify AS_PATH
This patch enables to specify AS_PATH in "gobgp" client command.
The syntax is similar to the output of AS_PATH in "global rib" show
command.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/cli-command-syntax.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md index 7167d6c5..580eb323 100644 --- a/docs/sources/cli-command-syntax.md +++ b/docs/sources/cli-command-syntax.md @@ -59,6 +59,8 @@ If you want to remove routes with the address of the ipv6 from global rib: ```shell % gobgp global rib add -a ipv4 10.0.0.0/24 origin igp % gobgp global rib add -a ipv4 10.0.0.0/24 origin egp +% gobgp global rib add -a ipv4 10.0.0.0/24 aspath 10,20,100.100 +% gobgp global rib add -a ipv4 10.0.0.0/24 aspath "10 20 {30,40} 50" % gobgp global rib add -a ipv4 10.0.0.0/24 nexthop 20.20.20.20 % gobgp global rib add -a ipv4 10.0.0.0/24 med 10 % gobgp global rib add -a ipv4 10.0.0.0/24 local-pref 110 |