From be6c3c1624174c5762a1349e31111d34db642767 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 10 Nov 2020 20:26:15 +0100 Subject: interfaces: add common description include file --- docs/interfaces/geneve.rst | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'docs/interfaces/geneve.rst') diff --git a/docs/interfaces/geneve.rst b/docs/interfaces/geneve.rst index a4bc22aa..acd22c84 100644 --- a/docs/interfaces/geneve.rst +++ b/docs/interfaces/geneve.rst @@ -35,21 +35,16 @@ Geneve Header: Configuration ============= -.. cfgcmd:: set interfaces geneve gnv0 address
+Common interface configuration +------------------------------ - Configure interface `` with one or more interface addresses. +.. cmdinclude:: ../_include/interface-address.txt + :var0: geneve + :var1: gnv0 - **address** can be specified multiple times as IPv4 and/or IPv6 address, - e.g. 192.0.2.1/24 and/or 2001:db8::1/64 - - Example: - - .. code-block:: none - - set interfaces geneve gnv0 address 192.0.2.1/24 - set interfaces geneve gnv0 address 192.0.2.2/24 - set interfaces geneve gnv0 address 2001:db8::ffff/64 - set interfaces geneve gnv0 address 2001:db8:100::ffff/64 +.. cmdinclude:: ../_include/interface-description.txt + :var0: geneve + :var1: gnv0 .. cfgcmd:: set interfaces geneve gnv0 remote
-- cgit v1.2.3