I am trying to setup an alert email anytime BGP state changes. I'm using these two threads as guidelines: /">/ and
Basically I have two questions, 1) what is the numerical values of the states in the bgppeer table (I think 6 is established, but what is idle, active etc.) and 2) I have BGP peers that will be in active condition for weeks at a time due to not being turned up yet or provisioned on the other side. How can I differentiate these alerts versus bgp peers that do need to be monitored?