diff options
author | rebortg <github@ghlr.de> | 2020-12-11 22:41:24 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2020-12-11 22:41:24 +0100 |
commit | 7b04596343a1894a638ff1de030fb0a179980194 (patch) | |
tree | 49b21999320823f55f5a6aeab37d387039073863 /docs/configuration/protocols/static.rst | |
parent | 71c8077efb486f3d13c610bfe038f206f932e48c (diff) | |
download | vyos-documentation-7b04596343a1894a638ff1de030fb0a179980194.tar.gz vyos-documentation-7b04596343a1894a638ff1de030fb0a179980194.zip |
protocols: fix lint errors
Diffstat (limited to 'docs/configuration/protocols/static.rst')
-rw-r--r-- | docs/configuration/protocols/static.rst | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst index 43b77c41..42c0c4b7 100644 --- a/docs/configuration/protocols/static.rst +++ b/docs/configuration/protocols/static.rst @@ -28,7 +28,8 @@ Static Routes Disable this IPv4 static route entry. -.. cfgcmd:: set protocols static route <subnet> next-hop <address> distance <distance> +.. cfgcmd:: set protocols static route <subnet> next-hop <address> + distance <distance> Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -47,7 +48,8 @@ Static Routes Disable this IPv6 static route entry. -.. cfgcmd:: set protocols static route6 <subnet> next-hop <address> distance <distance> +.. cfgcmd:: set protocols static route6 <subnet> next-hop <address> + distance <distance> Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -61,34 +63,40 @@ Static Routes Interface Routes ================ -.. cfgcmd:: set protocols static interface-route <subnet> next-hop-interface <interface> +.. cfgcmd:: set protocols static interface-route <subnet> next-hop-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 <interface> disable +.. cfgcmd:: set protocols static interface-route <subnet> next-hop-interface + <interface> disable Disables interface-based IPv4 static route. -.. cfgcmd:: set protocols static interface-route <subnet> next-hop-interface <interface> distance <distance> +.. cfgcmd:: set protocols static interface-route <subnet> next-hop-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 static interface-route6 <subnet> next-hop-interface <interface> +.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-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 <interface> disable +.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-interface + <interface> disable Disables interface-based IPv6 static route. -.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-interface <interface> distance <distance> +.. cfgcmd:: set protocols static interface-route6 <subnet> next-hop-interface + <interface> distance <distance> Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. |