From 3afc419634ab8aea2fc2458c8d74e7af839fe9e0 Mon Sep 17 00:00:00 2001 From: rebortg Date: Fri, 11 Dec 2020 15:23:15 +0100 Subject: vrf: fix lint errors --- docs/configuration/vrf/index.rst | 59 +++++++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 22 deletions(-) (limited to 'docs/configuration/vrf/index.rst') diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst index a47175f2..a311fcc0 100644 --- a/docs/configuration/vrf/index.rst +++ b/docs/configuration/vrf/index.rst @@ -23,8 +23,8 @@ then enslaved to a VRF device. .. cfgcmd:: set vrf name - Create new VRF instance with ``. The name is used when placing individual - interfaces into the VRF. + Create new VRF instance with ``. The name is used when placing + individual interfaces into the VRF. .. cfgcmd:: set vrf name table @@ -50,7 +50,8 @@ Interfaces When VRFs are used it is not only mandatory to create a VRF but also the VRF itself needs to be assigned to an interface. -.. cfgcmd:: set interfaces vrf +.. cfgcmd:: set interfaces + vrf Assign interface identified by `` to VRF named ``. @@ -79,11 +80,13 @@ Static Routes Configure next-hop `
` for an IPv4 static route in the VRF identified by ``. Multiple static routes can be created. -.. cfgcmd:: set protocols vrf static route next-hop
disable +.. cfgcmd:: set protocols vrf static route next-hop
+ disable Disable IPv4 static route entry in the VRF identified by `` -.. cfgcmd:: set protocols vrf static route next-hop
distance +.. cfgcmd:: set protocols vrf static route next-hop
+ distance Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -95,11 +98,13 @@ Static Routes Configure next-hop `
` for an IPv6 static route in the VRF identified by ``. Multiple IPv6 static routes can be created. -.. cfgcmd:: set protocols vrf static route6 next-hop
disable +.. cfgcmd:: set protocols vrf static route6 next-hop
+ disable Disable IPv6 static route entry in the VRF identified by ``. -.. cfgcmd:: set protocols vrf static route6 next-hop
distance +.. cfgcmd:: set protocols vrf static route6 next-hop
+ distance Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -113,14 +118,16 @@ Static Routes Leaking """"""" -.. cfgcmd:: set protocols vrf static route next-hop
next-hop-vrf +.. cfgcmd:: set protocols vrf static route next-hop
+ next-hop-vrf 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 `` routing table to reach a `` via a next-hop gatewys `
` in a different VRF or leak it into the default VRF. -.. cfgcmd:: set protocols vrf static route6 next-hop
next-hop-vrf +.. cfgcmd:: set protocols vrf static route6 next-hop
+ next-hop-vrf 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 `` @@ -131,34 +138,40 @@ Leaking Interface Routes """""""""""""""" -.. cfgcmd:: set protocols vrf static interface-route next-hop-interface +.. cfgcmd:: set protocols vrf static interface-route + next-hop-interface Allows you to configure the next-hop interface for an interface-based IPv4 static route. `` will be the next-hop interface where trafic is routed for the given ``. -.. cfgcmd:: set protocols vrf static interface-route next-hop-interface disable +.. cfgcmd:: set protocols vrf static interface-route + next-hop-interface disable Disables interface-based IPv4 static route. -.. cfgcmd:: set protocols vrf static interface-route next-hop-interface distance +.. cfgcmd:: set protocols vrf static interface-route + next-hop-interface 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 static interface-route6 next-hop-interface +.. cfgcmd:: set protocols vrf static interface-route6 + next-hop-interface Allows you to configure the next-hop interface for an interface-based IPv6 static route. `` will be the next-hop interface where trafic is routed for the given ``. -.. cfgcmd:: set protocols vrf static interface-route6 next-hop-interface disable +.. cfgcmd:: set protocols vrf static interface-route6 + next-hop-interface disable Disables interface-based IPv6 static route. -.. cfgcmd:: set protocols vrf static interface-route6 next-hop-interface distance +.. cfgcmd:: set protocols vrf static interface-route6 + next-hop-interface distance Defines next-hop distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -176,7 +189,8 @@ Blackhole it does not prevent them from being used as a more specific route inside your network. -.. cfgcmd:: set protocols vrf static route blackhole distance +.. cfgcmd:: set protocols vrf static route blackhole distance + Defines blackhole distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -189,7 +203,8 @@ Blackhole it does not prevent them from being used as a more specific route inside your network. -.. cfgcmd:: set protocols vrf static route6 blackhole distance +.. cfgcmd:: set protocols vrf static route6 blackhole distance + Defines blackhole distance for this route, routes with smaller administrative distance are elected prior those with a higher distance. @@ -210,11 +225,11 @@ For VR Fmaintenance the followin operational commands are in place. vyos@vyos:~$ show vrf VRF name state mac address flags interfaces -------- ----- ----------- ----- ---------- - blue up de:c4:83:d8:74:24 noarp,master,up,lower_up dum200,eth0.302 - red up be:36:ce:02:df:aa noarp,master,up,lower_up dum100,eth0.300,bond0.100,peth0 + blue up 00:53:12:d8:74:24 noarp,master,up,lower_up dum200,eth0.302 + red up 00:53:de:02:df:aa noarp,master,up,lower_up dum100,eth0.300,bond0.100,peth0 - .. note:: Command should probably be extended to list also the real interfaces - assigned to this one VRF to get a better overview. + .. note:: Command should probably be extended to list also the real + interfaces assigned to this one VRF to get a better overview. .. opcmd:: show vrf @@ -223,7 +238,7 @@ For VR Fmaintenance the followin operational commands are in place. vyos@vyos:~$ show vrf name blue VRF name state mac address flags interfaces -------- ----- ----------- ----- ---------- - blue up de:c4:83:d8:74:24 noarp,master,up,lower_up dum200,eth0.302 + blue up 00:53:12:d8:74:24 noarp,master,up,lower_up dum200,eth0.302 .. opcmd:: show ip route vrf -- cgit v1.2.3