diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-17 20:48:07 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-17 20:48:07 +0100 |
commit | 2510f177ac4a1652d01fbefb8cd75c1d81d00156 (patch) | |
tree | 98a6d95616ca58b68c579f7ae513443d6504b470 /docs/vrf.rst | |
parent | 0d1468ef72265a1e643abae867a53a18facfcf04 (diff) | |
download | vyos-documentation-2510f177ac4a1652d01fbefb8cd75c1d81d00156.tar.gz vyos-documentation-2510f177ac4a1652d01fbefb8cd75c1d81d00156.zip |
vrf: add interface route description
Diffstat (limited to 'docs/vrf.rst')
-rw-r--r-- | docs/vrf.rst | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/docs/vrf.rst b/docs/vrf.rst index 3cf7e6ad..75075be6 100644 --- a/docs/vrf.rst +++ b/docs/vrf.rst @@ -106,8 +106,9 @@ Static Routes Range is 1 to 255, default is 1. -.. note:: Routes with a distance of 255 are effectively disabled and not - installed into the kernel. + .. note:: Routes with a distance of 255 are effectively disabled and not + installed into the kernel. + Leaking """"""" @@ -126,6 +127,44 @@ Leaking routing table to reach a `<subnet>` via a next-hop gatewys `<address>` in a different VRF or leak it into the default VRF. + +Interface Routes +"""""""""""""""" + +.. cfgcmd:: set protocols vrf <name> 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 vrf <name> static interface-route <subnet> next-hop-interface <interface> disable + + Disables interface-based IPv4 static route. + +.. cfgcmd:: set protocols vrf <name> 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 vrf <name> 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 vrf <name> static interface-route6 <subnet> next-hop-interface <interface> disable + + Disables interface-based IPv6 static route. + +.. cfgcmd:: set protocols vrf <name> 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. + + Range is 1 to 255, default is 1. + Blackhole """"""""" |