We have ASR9k's with multiple bgp neighbor groups.
I would like an EEM script to check which neighbor group a neighbor belongs to.
I have
Final result would be something like:
log message:
%ROUTING-BGP-5-ADJCHANGE_DETAIL : neighbor 1.1.1.1 Down (VRF: default; AFI/SAFI: 1/1)
router bgp 1111
neighbor-group A
neighbor-group B
neighbor-group C
EEM script:
if neighbor = neighbor-group A - Do not log
else - log
Thanks!