From b969f4e5446205dca1ce3baab968f52972083ba4 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 25 Sep 2024 15:28:40 +0300 Subject: [PATCH] doc: Add `match src-peer ...` command Signed-off-by: Donatas Abraitis --- doc/user/routemap.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index 1d2f4e352f..9e9f8c9a8b 100644 --- a/doc/user/routemap.rst +++ b/doc/user/routemap.rst @@ -190,6 +190,12 @@ Route Map Match Command do the exact matching of the communities, while ``any`` - can match any community specified in COMMUNITY_LIST. +.. clicmd:: match src-peer [IPV4_ADDR|IPV6_ADDR|INTERFACE_NAME|PEER_GROUP_NAME] + + This is a BGP specific match command. Matches the source peer if the neighbor + was specified in this manner. Useful to announce the routes that was originated + by the source peer. + .. clicmd:: match peer IPV4_ADDR This is a BGP specific match command. Matches the peer ip address