summaryrefslogtreecommitdiff
path: root/doc/user/ripd.rst
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-09 17:26:32 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-09 17:30:57 -0400
commit9eb95b3b0aa3c9c38d9334bf5c34f8d4eea1cb16 (patch)
tree674f58311191b8bca565679c82cdfe7902c16be9 /doc/user/ripd.rst
parentd5403d4f400db4b4d040460b3c95bdf804350344 (diff)
doc: use frr syntax highlighting
* Use highlighter added in previous commit * Correct indentation where I came across it Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc/user/ripd.rst')
-rw-r--r--doc/user/ripd.rst32
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/user/ripd.rst b/doc/user/ripd.rst
index 0609c8d616..d2686d2eae 100644
--- a/doc/user/ripd.rst
+++ b/doc/user/ripd.rst
@@ -146,7 +146,7 @@ RIP Configuration
Below is very simple RIP configuration. Interface `eth0` and interface which
address match to `10.0.0.0/8` are RIP enabled.
- ::
+ .. code-block:: frr
!
router rip
@@ -354,7 +354,7 @@ RIP routes can be filtered by a distribute-list.
the distribute-list command. For example, in the following configuration
``eth0`` will permit only the paths that match the route 10.0.0.0/8
- ::
+ .. code-block:: frr
!
router rip
@@ -446,11 +446,11 @@ Usage of *ripd*'s route-map support.
Optional argument route-map MAP_NAME can be added to each `redistribute`
statement.
-::
+.. code-block:: frr
- redistribute static [route-map MAP_NAME]
- redistribute connected [route-map MAP_NAME]
- .....
+ redistribute static [route-map MAP_NAME]
+ redistribute connected [route-map MAP_NAME]
+ .....
Cisco applies route-map _before_ routes will exported to rip route table. In
@@ -572,17 +572,17 @@ To prevent such unauthenticated querying of routes disable RIPv1,
Specifiy Keyed MD5 chain.
-::
+ .. code-block:: frr
- !
- key chain test
- key 1
- key-string test
- !
- interface eth1
- ip rip authentication mode md5
- ip rip authentication key-chain test
- !
+ !
+ key chain test
+ key 1
+ key-string test
+ !
+ interface eth1
+ ip rip authentication mode md5
+ ip rip authentication key-chain test
+ !
.. _rip-timers: