BGP_SESSION_NOT_CONFIGURED

This error tag corresponds to syslog messages notifying that this router sent a BGP notification code 6 subcode 5 to another router, which idicates that the peer is trying to esablish a session, but this router does not have the session configured.

Maps to the openconfig-bgp YANG model.

Implemented for

  • junos

Syslog message example

<28>Nov 20 16:58:04 re0-gw2.fin1 rpd[3167]: bgp_listen_accept:4984: NOTIFICATION sent to 2001:e8:124::f1:12:1+51528 (proto): code 6 (Cease) subcode 5 (Connection Rejected), Reason: Connection attempt from unconfigured neighbor: 2001:e8:124::f1:12:1+51528

Structured message example

{
  "error": "BGP_SESSION_NOT_CONFIGURED",
  "facility": 3,
  "host": "gw2.fin1",
  "ip": "127.0.0.1",
  "message_details": {
      "date": "Nov 20",
      "facility": 3,
      "host": "gw2.fin1",
      "hostPrefix": "re0-",
      "message": "4984: NOTIFICATION sent to 2001:e8:124::f1:12:1+51528 (proto): code 6 (Cease) subcode 5 (Connection Rejected), Reason: Connection attempt from unconfigured neighbor: 2001:e8:124::f1:12:1+51528",
      "pri": "28",
      "processId": "3167",
      "processName": "rpd",
      "severity": 4,
      "tag": "bgp_listen_accept",
      "time": "16:58:04"
  },
  "os": "junos",
  "severity": 4,
  "timestamp": 1511197084,
  "yang_message": {
      "bgp": {
          "neighbors": {
              "neighbor": {
                  "2001:e8:124::f1:12:1": {
                      "state": {
                          "session_state": "IDLE"
                      }
                  }
              }
          }
      }
  },
  "yang_model": "openconfig-bgp"
}