BGP_NEIGHBOR_STATE_CHANGED

This error tag corresponds to syslog messages notifying that the configured bgp neighbor has changed state

Maps to the openconfig-bgp YANG model.

Implemented for

  • junos

Syslog message example

<28>Jun 21 14:03:12  vmx01 rpd[2902]: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer 1.1.1.1 (External AS 2222) changed state from OpenConfirm to Idle (event TransportError) (instance master)

Structured message example

{
  "error": "BGP_NEIGHBOR_STATE_CHANGED",
  "facility": 3,
  "host": "vmx01",
  "ip": "127.0.0.1",
  "message_details": {
      "date": "Jun 21",
      "facility": 3,
      "host": "vmx01",
      "hostPrefix": null,
      "message": "BGP peer 1.1.1.1 (External AS 2222) changed state from OpenConfirm to Idle (event TransportError) (instance master)",
      "pri": "28",
      "processId": "2902",
      "processName": "rpd",
      "severity": 4,
      "tag": "RPD_BGP_NEIGHBOR_STATE_CHANGED",
      "time": "14:03:12"
  },
  "os": "junos",
  "severity": 4,
  "timestamp": 1498053792,
  "yang_message": {
      "bgp": {
          "neighbors": {
              "neighbor": {
                  "1.1.1.1": {
                      "state": {
                          "peer_as": "2222",
                          "session-state": "IDLE",
                          "session-state-change-event": "TransportError",
                          "session-state-old": "OPEN_CONFIRM"
                      }
                  }
              }
          }
      }
  },
  "yang_model": "openconfig-bgp"
}