summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/cli-command-syntax.md
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-07-02 11:57:28 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-07-02 12:02:38 +0900
commit64f5846bc6e1a12b0a9bf3fb8d56d33ebe46b811 (patch)
treecf7b0fee29f7b35b3207dbd2258182d38104b955 /docs/sources/cli-command-syntax.md
parentd43b77e0ec0f3f51cff9317db312d97a98f1df8f (diff)
doc: add the description for distribute policy
Diffstat (limited to 'docs/sources/cli-command-syntax.md')
-rw-r--r--docs/sources/cli-command-syntax.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index 25e9ca1e..9be898ab 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -12,9 +12,6 @@ gobgp has three subcommands.
- neighbor
- policy
-Note: Currently gobgp supports only **global** and **neighbor** subcommand.
-
-
## global subcommand
@@ -74,10 +71,14 @@ Note: Currently gobgp supports only **global** and **neighbor** subcommand.
% gobgp neighbor <neighbor address> policy add import <import policy name> <default import policy>
# add policy to export-policy configuration
% gobgp neighbor <neighbor address> policy add export <export policy name> <default export policy>
+# add policy to distribute-policy configuration
+% gobgp neighbor <neighbor address> policy add distribute <distribute policy name> <default distribute policy>
# delete import-policy configuration from specific neighbor
% gobgp neighbor <neighbor address> policy del import
# delete export-policy configuration from specific neighbor
% gobgp neighbor <neighbor address> policy del export
+# delete distribute-policy configuration from specific neighbor
+% gobgp neighbor <neighbor address> policy del distribute
# show a specific policy information
% gobgp neighbor <neighbor address> policy
```