summaryrefslogtreecommitdiff
path: root/docs/appendix
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-24 21:19:22 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-24 21:19:22 +0100
commit1992aededa71b3985a7e65d0eb7556adc4f10c57 (patch)
treec1f962fe65def07a950ed0d9a5c9e34d1346a587 /docs/appendix
parent88bfcb031aa9e0361733c89fe29ae02b12c9ed9a (diff)
downloadvyos-documentation-1992aededa71b3985a7e65d0eb7556adc4f10c57.tar.gz
vyos-documentation-1992aededa71b3985a7e65d0eb7556adc4f10c57.zip
router-advert: adjust to new CLI syntax
Diffstat (limited to 'docs/appendix')
-rw-r--r--docs/appendix/examples/tunnelbroker-ipv6.rst40
1 files changed, 20 insertions, 20 deletions
diff --git a/docs/appendix/examples/tunnelbroker-ipv6.rst b/docs/appendix/examples/tunnelbroker-ipv6.rst
index e66c09b9..72828292 100644
--- a/docs/appendix/examples/tunnelbroker-ipv6.rst
+++ b/docs/appendix/examples/tunnelbroker-ipv6.rst
@@ -106,11 +106,11 @@ should be replaced with the information from your `Routed /64` tunnel):
.. code-block:: none
set interfaces ethernet eth1 address '2001:470:xxxx:xxxx::1/64'
- set interfaces ethernet eth1 ipv6 router-advert name-server '2001:4860:4860::8888'
- set interfaces ethernet eth1 ipv6 router-advert name-server '2001:4860:4860::8844'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:xxxx::/64 autonomous-flag 'true'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:xxxx::/64 on-link-flag 'true'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:xxxx::/64 valid-lifetime '2592000'
+ set service router-advert interface eth1 name-server '2001:4860:4860::8888'
+ set service router-advert interface eth1 name-server '2001:4860:4860::8844'
+ set service router-advert interface eth1 prefix 2001:470:xxxx:xxxx::/64 autonomous-flag
+ set service router-advert interface eth1 prefix 2001:470:xxxx:xxxx::/64 on-link-flag
+ set service router-advert interface eth1 prefix 2001:470:xxxx:xxxx::/64 valid-lifetime '2592000'
This accomplishes a few things:
@@ -141,25 +141,25 @@ So, when your LAN is eth1, your DMZ is eth2, your cameras live on eth3, etc:
.. code-block:: none
set interfaces ethernet eth1 address '2001:470:xxxx:1::1/64'
- set interfaces ethernet eth1 ipv6 router-advert name-server '2001:4860:4860::8888'
- set interfaces ethernet eth1 ipv6 router-advert name-server '2001:4860:4860::8844'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:1::/64 autonomous-flag 'true'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:1::/64 on-link-flag 'true'
- set interfaces ethernet eth1 ipv6 router-advert prefix 2001:470:xxxx:1::/64 valid-lifetime '2592000'
+ set service router-advert interface eth1 name-server '2001:4860:4860::8888'
+ set service router-advert interface eth1 name-server '2001:4860:4860::8844'
+ set service router-advert interface eth1 prefix 2001:470:xxxx:1::/64 autonomous-flag 'true'
+ set service router-advert interface eth1 prefix 2001:470:xxxx:1::/64 on-link-flag 'true'
+ set service router-advert interface eth1 prefix 2001:470:xxxx:1::/64 valid-lifetime '2592000'
set interfaces ethernet eth2 address '2001:470:xxxx:2::1/64'
- set interfaces ethernet eth2 ipv6 router-advert name-server '2001:4860:4860::8888'
- set interfaces ethernet eth2 ipv6 router-advert name-server '2001:4860:4860::8844'
- set interfaces ethernet eth2 ipv6 router-advert prefix 2001:470:xxxx:2::/64 autonomous-flag 'true'
- set interfaces ethernet eth2 ipv6 router-advert prefix 2001:470:xxxx:2::/64 on-link-flag 'true'
- set interfaces ethernet eth2 ipv6 router-advert prefix 2001:470:xxxx:2::/64 valid-lifetime '2592000'
+ set service router-advert interface eth2 name-server '2001:4860:4860::8888'
+ set service router-advert interface eth2 name-server '2001:4860:4860::8844'
+ set service router-advert interface eth2 prefix 2001:470:xxxx:2::/64 autonomous-flag 'true'
+ set service router-advert interface eth2 prefix 2001:470:xxxx:2::/64 on-link-flag 'true'
+ set service router-advert interface eth2 prefix 2001:470:xxxx:2::/64 valid-lifetime '2592000'
set interfaces ethernet eth3 address '2001:470:xxxx:3::1/64'
- set interfaces ethernet eth3 ipv6 router-advert name-server '2001:4860:4860::8888'
- set interfaces ethernet eth3 ipv6 router-advert name-server '2001:4860:4860::8844'
- set interfaces ethernet eth3 ipv6 router-advert prefix 2001:470:xxxx:3::/64 autonomous-flag 'true'
- set interfaces ethernet eth3 ipv6 router-advert prefix 2001:470:xxxx:3::/64 on-link-flag 'true'
- set interfaces ethernet eth3 ipv6 router-advert prefix 2001:470:xxxx:3::/64 valid-lifetime '2592000'
+ set service router-advert interface eth3 name-server '2001:4860:4860::8888'
+ set service router-advert interface eth3 name-server '2001:4860:4860::8844'
+ set service router-advert interface eth3 prefix 2001:470:xxxx:3::/64 autonomous-flag 'true'
+ set service router-advert interface eth3 prefix 2001:470:xxxx:3::/64 on-link-flag 'true'
+ set service router-advert interface eth3 prefix 2001:470:xxxx:3::/64 valid-lifetime '2592000'
Firewall
========