diff options
| author | Christian Poessinger <christian@poessinger.com> | 2021-02-05 22:53:53 +0100 | 
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2021-02-05 22:54:22 +0100 | 
| commit | 0ae01b4a1c6e6376b2db498618c65801a809e826 (patch) | |
| tree | b2dbe35025eed7b4e85d2b64b083e703ba0ed948 /docs/configuration | |
| parent | 0fa792f9365cc10c593bb672c32fff30bdbe437d (diff) | |
| download | vyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.tar.gz vyos-documentation-0ae01b4a1c6e6376b2db498618c65801a809e826.zip | |
vrf: static: T2450: adjust to new CLI syntax
Diffstat (limited to 'docs/configuration')
| -rw-r--r-- | docs/configuration/interfaces/openvpn.rst | 6 | ||||
| -rw-r--r-- | docs/configuration/interfaces/pppoe.rst | 4 | ||||
| -rw-r--r-- | docs/configuration/interfaces/wireguard.rst | 4 | ||||
| -rw-r--r-- | docs/configuration/protocols/static.rst | 12 | ||||
| -rw-r--r-- | docs/configuration/vrf/index.rst | 28 | 
5 files changed, 27 insertions, 27 deletions
| diff --git a/docs/configuration/interfaces/openvpn.rst b/docs/configuration/interfaces/openvpn.rst index 2c273b34..8b32743f 100644 --- a/docs/configuration/interfaces/openvpn.rst +++ b/docs/configuration/interfaces/openvpn.rst @@ -159,13 +159,13 @@ Local Configuration:  .. code-block:: none -  set protocols static interface-route 10.1.0.0/16 next-hop-interface vtun1 +  set protocols static route 10.1.0.0/16 interface vtun1  Remote Configuration:  .. code-block:: none -  set protocols static interface-route 10.0.0.0/16 next-hop-interface vtun1 +  set protocols static route 10.0.0.0/16 interface vtun1  Firewall policy can also be applied to the tunnel interface for `local`, `in`,  and `out` directions and function identically to ethernet interfaces. @@ -253,7 +253,7 @@ internally, so we need to create a route to the 10.23.0.0/20 network ourselves:  .. code-block:: none -  set protocols static interface-route 10.23.0.0/20 next-hop-interface vtun10 +  set protocols static route 10.23.0.0/20 interface vtun10  Generate X.509 Certificate and Keys  ----------------------------------- diff --git a/docs/configuration/interfaces/pppoe.rst b/docs/configuration/interfaces/pppoe.rst index 0fdbba42..1bbccc0c 100644 --- a/docs/configuration/interfaces/pppoe.rst +++ b/docs/configuration/interfaces/pppoe.rst @@ -130,7 +130,7 @@ PPPoE options  .. note:: In all modes except 'none', all default routes using this interface     will be removed when the interface is torn down - even manually installed -   static interface-routes. +   static routes.  .. cfgcmd:: set interfaces pppoe <interface> idle-timeout <time> @@ -251,7 +251,7 @@ Requirements:    default gateway you receive from your DSL ISP to the routing table if you    have no other WAN connections. If you wish to use a dual WAN connection,    change the ``default-route`` option to ``force``.  You could also install -  a static interface-route and set the ``default-route`` option to ``none``. +  a static route and set the ``default-route`` option to ``none``.  * With the ``name-server`` option set to ``none``, VyOS will ignore the    nameservers your ISP sens you and thus you can fully rely on the ones you    have configured statically. diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst index c4dfbee7..852ff520 100644 --- a/docs/configuration/interfaces/wireguard.rst +++ b/docs/configuration/interfaces/wireguard.rst @@ -78,7 +78,7 @@ one.    set interfaces wireguard wg01 peer to-wg02 port '12345'    set interfaces wireguard wg01 peer to-wg02 pubkey 'XMrlPykaxhdAAiSjhtPlvi30NVkvLQliQuKP7AI7CyI='    set interfaces wireguard wg01 port '12345' -  set protocols static interface-route 10.2.0.0/24 next-hop-interface wg01 +  set protocols static route 10.2.0.0/24 interface wg01  The last step is to define an interface route for 10.2.0.0/24 to get  through the WireGuard interface `wg01`. Multiple IPs or networks can be @@ -113,7 +113,7 @@ the public key, which needs to be shared with the peer.    set interfaces wireguard wg01 peer to-wg02 port '12345'    set interfaces wireguard wg01 peer to-wg02 pubkey 'u41jO3OF73Gq1WARMMFG7tOfk7+r8o8AzPxJ1FZRhzk='    set interfaces wireguard wg01 port '12345' -  set protocols static interface-route 10.1.0.0/24 next-hop-interface wg01 +  set protocols static route 10.1.0.0/24 interface wg01  Assure that your firewall rules allow the traffic, in which case you  have a working VPN using WireGuard diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst index 42c0c4b7..723db727 100644 --- a/docs/configuration/protocols/static.rst +++ b/docs/configuration/protocols/static.rst @@ -63,19 +63,19 @@ Static Routes  Interface Routes  ================ -.. cfgcmd:: set protocols static interface-route <subnet> next-hop-interface +.. cfgcmd:: set protocols 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 static interface-route <subnet> next-hop-interface +.. cfgcmd:: set protocols static route <subnet> interface     <interface> disable     Disables interface-based IPv4 static route. -.. cfgcmd:: set protocols static interface-route <subnet> next-hop-interface +.. cfgcmd:: set protocols static route <subnet> interface     <interface> distance <distance>     Defines next-hop distance for this route, routes with smaller administrative @@ -83,19 +83,19 @@ Interface Routes     Range is 1 to 255, default is 1. -.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-interface +.. cfgcmd:: set protocols 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 static interface-route6 <subnet> next-hop-interface +.. cfgcmd:: set protocols static route6 <subnet> interface     <interface> disable     Disables interface-based IPv6 static route. -.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-interface +.. cfgcmd:: set protocols static route6 <subnet> interface     <interface> distance <distance>     Defines next-hop distance for this route, routes with smaller administrative 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. | 
