]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Update route-map match section
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Oct 2017 14:02:03 +0000 (10:02 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 25 Oct 2017 14:02:03 +0000 (10:02 -0400)
The 'match peer ...' command for bgp did
not exist.  Add this into the code.

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

index 33062a7f61cd5cf90c4d3eae94a9c304f50599d7..69c07357e731588268efc0fcafb4753a780a6027 100644 (file)
@@ -5,8 +5,8 @@ Route maps provide a means to both filter and/or apply actions to
 route, hence allowing policy to be applied to routes.
 
 @menu
-* Route Map Command::           
-* Route Map Match Command::     
+* Route Map Command::
+* Route Map Match Command::
 * Route Map Set Command::
 * Route Map Call Command::
 * Route Map Exit Action Command::
@@ -159,6 +159,22 @@ Matches the specified @var{local-preference}.
 Matches the specified  @var{community_list}
 @end deffn
 
+@deffn {Route-map Command} {match peer @var{ipv4_addr}} {}
+This is a BGP specific match command.  Matches the peer ip address
+if the neighbor was specified in this manner.
+@end deffn
+
+@deffn {Route-map Command} {match peer @var{ipv6_addr}} {}
+This is a BGP specific match command.  Matches the peer ipv6
+address if the neighbor was specified in this manner.
+@end deffn
+
+@deffn {Route-map Command} {match peer @var{interface_name}} {}
+This is a BGP specific match command.  Matches the peer
+interface name specified if the neighbor was specified
+in this manner.
+@end deffn
+
 @node Route Map Set Command
 @section Route Map Set Command