From 6347ca161f94af4baa853bf09be7fff076e75491 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 8 Dec 2017 14:55:58 -0500 Subject: [PATCH] doc: Add documentation for the tag/realm commands Add some documentation for the tag and realm commands. Signed-off-by: Donald Sharp --- doc/install.texi | 4 ++++ doc/routemap.texi | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/doc/install.texi b/doc/install.texi index 19d9614420..d0d56804b0 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -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 diff --git a/doc/routemap.texi b/doc/routemap.texi index b72f539c46..3e683f44d1 100644 --- a/doc/routemap.texi +++ b/doc/routemap.texi @@ -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 -- 2.39.5