BGP_NEIGHBOR_STATE_CHANGED

Dec 14 12:08:59 HOSTNAME Bgp: %BGP-5-ADJCHANGE: peer 192.0.2.2 (VRF default AS 12345) old state Established event AdminReset new state Idle Dec 14 12:09:00 HOSTNAME Bgp: %BGP-5-ADJCHANGE: peer 192.0.2.2 (VRF default AS 12345) old state OpenConfirm event Established new state Established 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

  • netiron
  • sonic
  • junos
  • eos

Syslog message example

<166>1 2019-02-20T15:10:35.073589+00:00 ss12.00.lab bgpd 83 - -  %ADJCHANGE: neighbor 100.67.0.142(sp01.02.lab) in vrf Default Down Interface down

Structured message example

{
  "error": "BGP_NEIGHBOR_STATE_CHANGED",
  "facility": 20,
  "host": "ss12.00.lab",
  "ip": "127.0.0.1",
  "message_details": {
      "date": "2019-02-20",
      "facility": 20,
      "host": "ss12.00.lab",
      "message": "%ADJCHANGE: neighbor 100.67.0.142(sp01.02.lab) in vrf Default Down Interface down",
      "messageId": "-",
      "pri": "166",
      "processId": "83",
      "severity": 6,
      "structedData": "-",
      "tag": "bgpd",
      "time": "15:10:35",
      "timeOffset": "+00:00",
      "timeSecfrac": "073589",
      "version": "1"
  },
  "os": "sonic",
  "severity": 6,
  "timestamp": 1498053792,
  "yang_message": {
      "bgp": {
          "neighbors": {
              "neighbor": {
                  "100.67.0.142": {
                      "state": {
                          "session-state": "ACTIVE"
                      }
                  }
              }
          }
      }
  },
  "yang_model": "openconfig-bgp"
}