summaryrefslogtreecommitdiff
path: root/docs/configuration/vrf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 22:53:53 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:54:22 +0100
commit0ae01b4a1c6e6376b2db498618c65801a809e826 (patch)
treeb2dbe35025eed7b4e85d2b64b083e703ba0ed948 /docs/configuration/vrf
parent0fa792f9365cc10c593bb672c32fff30bdbe437d (diff)
downloadvyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.tar.gz
vyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.zip
vrf: static: T2450: adjust to new CLI syntax
Diffstat (limited to 'docs/configuration/vrf')
-rw-r--r--docs/configuration/vrf/index.rst28
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst
index a311fcc0..244784de 100644
--- a/docs/configuration/vrf/index.rst
+++ b/docs/configuration/vrf/index.rst
@@ -119,7 +119,7 @@ Leaking
"""""""
.. cfgcmd:: set protocols vrf <name> static route <subnet> next-hop <address>
- next-hop-vrf <default | vrf-name>
+ vrf <default | vrf-name>
Use this command if you have shared services or routes that should be shared
between multiple VRF instances. This will add an IPv4 route to VRF `<name>`
@@ -127,7 +127,7 @@ Leaking
a different VRF or leak it into the default VRF.
.. cfgcmd:: set protocols vrf <name> static route6 <subnet> next-hop <address>
- next-hop-vrf <default | vrf-name>
+ vrf <default | vrf-name>
Use this command if you have shared services or routes that should be shared
between multiple VRF instances. This will add an IPv6 route to VRF `<name>`
@@ -138,40 +138,40 @@ Leaking
Interface Routes
""""""""""""""""
-.. cfgcmd:: set protocols vrf <name> static interface-route <subnet>
- next-hop-interface <interface>
+.. cfgcmd:: set protocols vrf <name> static route <subnet>
+ interface <interface>
Allows you to configure the next-hop interface for an interface-based IPv4
static route. `<interface>` will be the next-hop interface where trafic is
routed for the given `<subnet>`.
-.. cfgcmd:: set protocols vrf <name> static interface-route <subnet>
- next-hop-interface <interface> disable
+.. cfgcmd:: set protocols vrf <name> static route <subnet>
+ interface <interface> disable
Disables interface-based IPv4 static route.
-.. cfgcmd:: set protocols vrf <name> static interface-route <subnet>
- next-hop-interface <interface> distance <distance>
+.. cfgcmd:: set protocols vrf <name> static route <subnet>
+ interface <interface> distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
distance are elected prior those with a higher distance.
Range is 1 to 255, default is 1.
-.. cfgcmd:: set protocols vrf <name> static interface-route6 <subnet>
- next-hop-interface <interface>
+.. cfgcmd:: set protocols vrf <name> static route6 <subnet>
+ interface <interface>
Allows you to configure the next-hop interface for an interface-based IPv6
static route. `<interface>` will be the next-hop interface where trafic is
routed for the given `<subnet>`.
-.. cfgcmd:: set protocols vrf <name> static interface-route6 <subnet>
- next-hop-interface <interface> disable
+.. cfgcmd:: set protocols vrf <name> static route6 <subnet>
+ interface <interface> disable
Disables interface-based IPv6 static route.
-.. cfgcmd:: set protocols vrf <name> static interface-route6 <subnet>
- next-hop-interface <interface> distance <distance>
+.. cfgcmd:: set protocols vrf <name> static route6 <subnet>
+ interface <interface> distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
distance are elected prior those with a higher distance.