]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Add documentation for the tag/realm commands
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 8 Dec 2017 19:55:58 +0000 (14:55 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 Dec 2017 14:44:44 +0000 (09:44 -0500)
Add some documentation for the tag and realm commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
doc/install.texi
doc/routemap.texi

index 19d9614420f8788377855898eeaf5445fe5028b7..d0d56804b059ffb54dc92c9c553ff83a29c907fe 100644 (file)
@@ -85,6 +85,10 @@ Enable Traffic Engineering Extension for ISIS (RFC5305)
 @item --enable-multipath=@var{ARG}
 Enable support for Equal Cost Multipath. @var{ARG} is the maximum number
 of ECMP paths to allow, set to 0 to allow unlimited number of paths.
+@item --enable-realms
+Enable the support of linux Realms.  Convert tag values from 1-255
+into a realm value when inserting into the linux kernel.  Then
+routing policy can be assigned to the realm.  See the tc man page.
 @item --disable-rtadv
 Disable support IPV6 router advertisement in zebra.
 @item --enable-gcc-rdynamic
index b72f539c466604ebe7452e9884e2f5c5a577cd18..3e683f44d19841f3e438acd67379fb1dd4f757ae 100644 (file)
@@ -171,6 +171,11 @@ Matches the specified @var{as_path}.
 Matches the specified @var{metric}.
 @end deffn
 
+@deffn {Route-map Command} {match tag @var{tag}} {}
+Matches the specified tag value associated with the route.
+This tag value can be in the range of (1-4294967295).
+@end deffn
+
 @deffn {Route-map Command} {match local-preference @var{metric}} {}
 Matches the specified @var{local-preference}.
 @end deffn
@@ -198,6 +203,14 @@ in this manner.
 @node Route Map Set Command
 @section Route Map Set Command
 
+@deffn {Route-map Command} {set tag @var{tag}} {}
+Set a tag on the matched route.  This tag value can be from
+(1-4294967295).  Additionally if you have compiled with
+the --enable-realms configure option.  Tag values from (1-255)
+are sent to the linux kernel as a realm value.  Then route
+policy can be applied.  See the tc man page.
+@end deffn
+
 @deffn {Route-map Command} {set ip next-hop @var{ipv4_address}} {}
 Set the BGP nexthop address.
 @end deffn