summaryrefslogtreecommitdiff
path: root/docs/routing
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:26:03 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:26:14 +0100
commita71cdcec33caaeb9e9667d66e8248de1a47122a8 (patch)
tree337f7e40535f675f4319db39f3d3ca6ac31a8406 /docs/routing
parentc4eaab5a8a3785a84cdcb09ce56757344d1647d0 (diff)
downloadvyos-documentation-a71cdcec33caaeb9e9667d66e8248de1a47122a8.tar.gz
vyos-documentation-a71cdcec33caaeb9e9667d66e8248de1a47122a8.zip
docs: remove all trailing whitespaces
Done via: $ find . -name "*.rst" | xargs sed -i 's/[ \t]*$//'
Diffstat (limited to 'docs/routing')
-rw-r--r--docs/routing/igmp-proxy.rst2
-rw-r--r--docs/routing/routing-policy.rst20
2 files changed, 11 insertions, 11 deletions
diff --git a/docs/routing/igmp-proxy.rst b/docs/routing/igmp-proxy.rst
index 3a44ced6..6cf5187e 100644
--- a/docs/routing/igmp-proxy.rst
+++ b/docs/routing/igmp-proxy.rst
@@ -16,7 +16,7 @@ Interface eth1 LAN is behind NAT. In order to subscribe 10.0.0.0/23 subnet multi
.. code-block:: console
- # show protocols igmp-proxy
+ # show protocols igmp-proxy
interface eth0 {
alt-subnet 10.0.0.0/23
role upstream
diff --git a/docs/routing/routing-policy.rst b/docs/routing/routing-policy.rst
index 4c4a4707..408be955 100644
--- a/docs/routing/routing-policy.rst
+++ b/docs/routing/routing-policy.rst
@@ -19,12 +19,12 @@ Routing Policy Example
#Create policy
set policy route-map setmet rule 2 action 'permit'
- set policy route-map setmet rule 2 set as-path-prepend '2 2 2'
-
+ set policy route-map setmet rule 2 set as-path-prepend '2 2 2'
+
#Apply policy to BGP
set protocols bgp 1 neighbor 1.1.1.2 address-family ipv4-unicast route-map import 'setmet'
- set protocols bgp 1 neighbor 1.1.1.2 address-family ipv4-unicast soft-reconfiguration 'inbound' <<<< ***
-
+ set protocols bgp 1 neighbor 1.1.1.2 address-family ipv4-unicast soft-reconfiguration 'inbound' <<<< ***
+
*** get policy update without bouncing the neighbor
**Routes learned before routing policy applied:**
@@ -36,10 +36,10 @@ Routing Policy Example
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
-
+
Network Next Hop Metric LocPrf Weight Path
- *> 22.22.22.22/32 1.1.1.2 1 0 2 i < Path
-
+ *> 22.22.22.22/32 1.1.1.2 1 0 2 i < Path
+
Total number of prefixes 1
**Routes learned after routing policy applied:**
@@ -51,9 +51,9 @@ Routing Policy Example
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
-
+
Network Next Hop Metric LocPrf Weight Path
*> 22.22.22.22/32 1.1.1.2 1 0 2 2 2 2 i < longer AS_path length
-
+
Total number of prefixes 1
- vyos@vos1:~$
+ vyos@vos1:~$