summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/examples.rst
diff options
context:
space:
mode:
authorNicolas Fort <yocasquito@gmail.com>2021-07-26 16:13:24 -0300
committerNicolas Fort <yocasquito@gmail.com>2021-07-26 16:13:24 -0300
commitfb2225147ee1cb822bafda1f4da7e2969c3a6379 (patch)
tree59fa0bd2b56408a013c439d7545617820ea56ce2 /docs/configuration/policy/examples.rst
parentdbddfe85adaa70552607b38706b39238b465ac4e (diff)
downloadvyos-documentation-fb2225147ee1cb822bafda1f4da7e2969c3a6379.tar.gz
vyos-documentation-fb2225147ee1cb822bafda1f4da7e2969c3a6379.zip
bgp-policies.rst deletted, and its content was divided in as-path-list.rst, community-list.rst, extcommunity-list.rst and larg-community-list.rst; Examples sections on every files removed; examples-rst changed, ir order to have the list of example on left menu
Diffstat (limited to 'docs/configuration/policy/examples.rst')
-rw-r--r--docs/configuration/policy/examples.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/configuration/policy/examples.rst b/docs/configuration/policy/examples.rst
index 88715a0a..a1d40db4 100644
--- a/docs/configuration/policy/examples.rst
+++ b/docs/configuration/policy/examples.rst
@@ -1,5 +1,6 @@
+###########
BGP Example
-===========
+###########
**Policy definition:**
@@ -50,9 +51,9 @@ neighbor.
You now see the longer AS path.
-
+#################
Transparent Proxy
-=================
+#################
The following example will show how VyOS can be used to redirect web
traffic to an external transparent proxy:
@@ -84,9 +85,9 @@ interface, we use:
set interfaces ethernet eth1 policy route FILTER-WEB
-
+################
Multiple Uplinks
-================
+################
VyOS Policy-Based Routing (PBR) works by matching source IP address
ranges and forwarding the traffic using different routing tables.
@@ -146,7 +147,7 @@ These commands allow the VLAN10 and VLAN20 hosts to communicate with
each other using the main routing table.
Local route
------------
+===========
The following example allows VyOS to use :abbr:`PBR (Policy-Based Routing)`
for traffic, which originated from the router itself. That solution for multiple