!
event manager applet LogMessage
event routing network 2.2.2.2/32 type all
action 1.0 syslog msg "BGP route has been changed"
!
cisco_R5#show ip route 2.2.2.2
Routing entry for 2.2.2.2/32
Known via "bgp 5", distance 20, metric 0
Tag 3, type external
Last update from 192.168.255.22 00:21:19 ago
Routing Descriptor Blocks:
* 192.168.255.22, from 192.168.255.3, 00:21:19 ago
...
cisco_R5#clear ip bgp 3
cisco_R5#
*Dec 20 18:58:12.733: %BGP-3-NOTIFICATION: sent to neighbor 192.168.255.3 6/4 (Administrative Reset) 0 bytes
*Dec 20 18:58:12.738: %BGP-5-ADJCHANGE: neighbor 192.168.255.3 Down User reset
*Dec 20 18:58:12.738: %BGP_SESSION-5-ADJCHANGE: neighbor 192.168.255.3 IPv4 Unicast topology base removed from session User reset
cisco_R5#
*Dec 20 18:58:12.739: %HA_EM-6-LOG: LogMessage: BGP route has been changed
*Dec 20 18:58:13.419: %BGP-5-ADJCHANGE: neighbor 192.168.255.3 Up
cisco_R5#
*Dec 20 18:58:13.430: %HA_EM-6-LOG: LogMessage: BGP route has been changed
cisco_R5#