Automation

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  event-policy question

    Posted 04-07-2021 23:36
    set event-options policy bgp_up events rpd_bgp_neighbor_state_changed
    set event-options policy bgp_up attributes-match rpd_bgp_neighbor_state_changed.old-state matches Established
    set event-options policy bgp_up attributes-match rpd_bgp_neighbor_state_changed.peer-name matches 10.1.1.1
    set event-options policy bgp_up then change-configuration commands "activate protocols bgp group ToISP2"

    If I removed the red lines, another bgp group ToISP2 is activated. but not work with the red lines.

    The log has the following:
    Apr 7 07:32:34 Branch1 rpd[2310]: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer 10.1.1.1 (External AS 1111) changed state from Established to Idle (event HoldTime) (instance master)

    thanks a lot !!