diff options
author | Robert Göhler <github@ghlr.de> | 2021-07-26 21:32:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 21:32:29 +0200 |
commit | cb36772d25be42815a133d037a23899ca08f624a (patch) | |
tree | 6f3b3ebbee2269f49bb6dc61d4aafd2bc9b46bba /docs/configuration/policy/as-path-list.rst | |
parent | 9397b4fba4461a7a856a862d39f0dc7844888dd3 (diff) | |
parent | fb2225147ee1cb822bafda1f4da7e2969c3a6379 (diff) | |
download | vyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.tar.gz vyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.zip |
Merge pull request #578 from yocasquito/policy_docs_redo
Policy file updated/recreated. Added commands and descriptions. From …
Diffstat (limited to 'docs/configuration/policy/as-path-list.rst')
-rw-r--r-- | docs/configuration/policy/as-path-list.rst | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/configuration/policy/as-path-list.rst b/docs/configuration/policy/as-path-list.rst new file mode 100644 index 00000000..ceeb8e01 --- /dev/null +++ b/docs/configuration/policy/as-path-list.rst @@ -0,0 +1,33 @@ +#################### +BGP - AS Path Policy +#################### + +VyOS provides policies commands exclusively for BGP traffic filtering and +manipulation: **as-path-list** is one of them. + +************* +Configuration +************* + +policy as-path-list +=================== + +.. cfgcmd:: set policy as-path-list <text> + + Create as-path-policy identified by name <text>. + +.. cfgcmd:: set policy as-path-list <text> description <text> + + Set description for as-path-list policy. + +.. cfgcmd:: set policy as-path-list <text> rule <1-65535> action <permit|deny> + + Set action to take on entries matching this rule. + +.. cfgcmd:: set policy as-path-list <text> rule <1-65535> description <text> + + Set description for rule. + +.. cfgcmd:: set policy as-path-list <text> rule <1-65535> regex <text> + + Regular expression to match against an AS path. For example "64501 64502". |