]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: add dst-src static route commands
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 28 Nov 2014 07:39:46 +0000 (08:39 +0100)
committerChristian Franke <chris@opensourcerouting.org>
Mon, 30 Jan 2017 12:54:47 +0000 (13:54 +0100)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
doc/main.texi

index 2e50457628d97923d30446f3c32ae60cfbf97ac6..dfe02e1b5da4bd2b382b5b2536f33431f3bbe8ed 100644 (file)
@@ -239,6 +239,16 @@ Routing entry for 10.0.0.0/8
 These behave similarly to their ipv4 counterparts.
 @end deffn
 
+@deffn Command {ipv6 route @var{network} from @var{srcprefix} @var{gateway}} {}
+@deffnx Command {ipv6 route @var{network} from @var{srcprefix} @var{gateway} @var{distance}} {}
+Install a static source-specific route.  These routes are currently supported
+on Linux operating systems only, and perform AND matching on packet's
+destination and source addresses in the kernel's forwarding path.  Note that
+destination longest-prefix match is "more important" than source LPM, e.g.
+@command{"2001:db8:1::/64 from 2001:db8::/48"} will win over
+@command{"2001:db8::/48 from 2001:db8:1::/64"} if both match.
+@end deffn
+
 
 @deffn Command {table @var{tableno}} {}
 Select the primary kernel routing table to be used.  This only works