summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-27 15:50:25 -0800
committerhagbard <vyosdev@derith.de>2019-02-27 15:50:25 -0800
commit56b851b9fd9e9637545adedc85342f2a65f922c5 (patch)
treeab1bb16dffc364fc9173755f8fef7b1b4d99c12c
parent39be522874db60ed575267a8b7866e5c519cb51b (diff)
downloadvyos-documentation-56b851b9fd9e9637545adedc85342f2a65f922c5.tar.gz
vyos-documentation-56b851b9fd9e9637545adedc85342f2a65f922c5.zip
bgpv4 command updated
-rw-r--r--docs/routing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/routing.rst b/docs/routing.rst
index e570671d..d5fd5c8e 100644
--- a/docs/routing.rst
+++ b/docs/routing.rst
@@ -134,7 +134,7 @@ A simple eBGP configuration:
set protocols bgp 65534 neighbor 192.168.0.2 ebgp-multihop '2'
set protocols bgp 65534 neighbor 192.168.0.2 remote-as '65535'
set protocols bgp 65534 neighbor 192.168.0.2 update-source '192.168.0.1'
- set protocols bgp 65534 network '172.16.0.0/16'
+ set protocols bgp 65534 address-family ipv4-unicast network '172.16.0.0/16'
set protocols bgp 65534 parameters router-id '192.168.0.1'
**Node 2:**
@@ -144,7 +144,7 @@ A simple eBGP configuration:
set protocols bgp 65535 neighbor 192.168.0.1 ebgp-multihop '2'
set protocols bgp 65535 neighbor 192.168.0.1 remote-as '65534'
set protocols bgp 65535 neighbor 192.168.0.1 update-source '192.168.0.2'
- set protocols bgp 65535 network '172.17.0.0/16'
+ set protocols bgp 65535 address-family ipv4-unicast network '172.17.0.0/16'
set protocols bgp 65535 parameters router-id '192.168.0.2'