summaryrefslogtreecommitdiff
path: root/docs/routing/routing-policy.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-01 22:20:01 +0100
committerGitHub <noreply@github.com>2019-12-01 22:20:01 +0100
commitb3d9344a7e23fa3ffaa2204ff8e5bc370deb26f7 (patch)
tree60e88215d1066cc210d811a4171927cbe1f2324b /docs/routing/routing-policy.rst
parent1f417f7ba32d1f3a458871f987916545cfc43544 (diff)
parent3ba8224c1a7ec265a209d5035a6a1c910bebb7c6 (diff)
downloadvyos-documentation-b3d9344a7e23fa3ffaa2204ff8e5bc370deb26f7.tar.gz
vyos-documentation-b3d9344a7e23fa3ffaa2204ff8e5bc370deb26f7.zip
Merge pull request #157 from rebortg/addresspace
Addresspace
Diffstat (limited to 'docs/routing/routing-policy.rst')
-rw-r--r--docs/routing/routing-policy.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/routing/routing-policy.rst b/docs/routing/routing-policy.rst
index a5714bf7..f9f3e826 100644
--- a/docs/routing/routing-policy.rst
+++ b/docs/routing/routing-policy.rst
@@ -22,8 +22,8 @@ Routing Policy Example
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 203.0.113.2 address-family ipv4-unicast route-map import 'setmet'
+ set protocols bgp 1 neighbor 203.0.113.2 address-family ipv4-unicast soft-reconfiguration 'inbound' <<<< ***
*** get policy update without bouncing the neighbor
@@ -38,7 +38,7 @@ Routing Policy Example
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
+ *> 198.51.100.3/32 203.0.113.2 1 0 2 i < Path
Total number of prefixes 1
@@ -53,7 +53,7 @@ Routing Policy Example
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
+ *> 198.51.100.3/32 203.0.113.2 1 0 2 2 2 2 i < longer AS_path length
Total number of prefixes 1
vyos@vos1:~$