summaryrefslogtreecommitdiff
path: root/docs/routing/bgp.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:32 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:32 +0100
commit269023845a5dcd936d406fbe1edc2edd45262a24 (patch)
tree52787b010fff5e7090f9e4c9c36554851d7b3259 /docs/routing/bgp.rst
parent03eaf80e6fb39a3bf76ae996b0c12c041c11a6a3 (diff)
downloadvyos-documentation-269023845a5dcd936d406fbe1edc2edd45262a24.tar.gz
vyos-documentation-269023845a5dcd936d406fbe1edc2edd45262a24.zip
Refactor "code-block:: console" to "code-block:: none"
Diffstat (limited to 'docs/routing/bgp.rst')
-rw-r--r--docs/routing/bgp.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/routing/bgp.rst b/docs/routing/bgp.rst
index 6a2ce581..4fac4889 100644
--- a/docs/routing/bgp.rst
+++ b/docs/routing/bgp.rst
@@ -15,7 +15,7 @@ A simple eBGP configuration:
**Node 1:**
-.. code-block:: console
+.. code-block:: none
set protocols bgp 65534 neighbor 192.168.0.2 ebgp-multihop '2'
set protocols bgp 65534 neighbor 192.168.0.2 remote-as '65535'
@@ -25,7 +25,7 @@ A simple eBGP configuration:
**Node 2:**
-.. code-block:: console
+.. code-block:: none
set protocols bgp 65535 neighbor 192.168.0.1 ebgp-multihop '2'
set protocols bgp 65535 neighbor 192.168.0.1 remote-as '65534'
@@ -40,13 +40,13 @@ creating a static route:**
**Node 1:**
-.. code-block:: console
+.. code-block:: none
set protocols static route 172.16.0.0/16 blackhole distance '254'
**Node 2:**
-.. code-block:: console
+.. code-block:: none
set protocols static route 172.17.0.0/16 blackhole distance '254'
@@ -58,7 +58,7 @@ A simple BGP configuration via IPv6.
**Node 1:**
-.. code-block:: console
+.. code-block:: none
set protocols bgp 65534 neighbor 2001:db8::2 ebgp-multihop '2'
set protocols bgp 65534 neighbor 2001:db8::2 remote-as '65535'
@@ -69,7 +69,7 @@ A simple BGP configuration via IPv6.
**Node 2:**
-.. code-block:: console
+.. code-block:: none
set protocols bgp 65535 neighbor 2001:db8::1 ebgp-multihop '2'
set protocols bgp 65535 neighbor 2001:db8::1 remote-as '65534'
@@ -84,13 +84,13 @@ creating a static route:**
**Node 1:**
-.. code-block:: console
+.. code-block:: none
set protocols static route6 2001:db8:1::/48 blackhole distance '254'
**Node 2:**
-.. code-block:: console
+.. code-block:: none
set protocols static route6 2001:db8:2::/48 blackhole distance '254'
@@ -101,7 +101,7 @@ Route filter can be applied using a route-map:
**Node1:**
-.. code-block:: console
+.. code-block:: none
set policy prefix-list AS65535-IN rule 10 action 'permit'
set policy prefix-list AS65535-IN rule 10 prefix '172.16.0.0/16'
@@ -124,7 +124,7 @@ Route filter can be applied using a route-map:
**Node2:**
-.. code-block:: console
+.. code-block:: none
set policy prefix-list AS65534-IN rule 10 action 'permit'
set policy prefix-list AS65534-IN rule 10 prefix '172.17.0.0/16'