BGP_INCORRECT_AS_NUMBER¶
Maps to the openconfig-bgp YANG model.
Implemented for¶
- junos
Syslog message example¶
<172>2020-03-31T08:41:59+00:00 some-switch rpd[4936]: bgp_pp_recv:4609: NOTIFICATION sent to 10.37.96.6+44759 (proto): code 2 (Open Message Error) subcode 2 (bad peer AS number), Reason: no group for 10.37.96.6+44759 (proto) from AS 4292019902 found (peer as mismatch) in master(ae1.0), dropping him
Structured message example¶
{
"error": "BGP_INCORRECT_AS_NUMBER",
"facility": 21,
"host": "some-switch",
"ip": "127.0.0.1",
"message_details": {
"date": "2020-03-31",
"facility": 21,
"host": "some-switch",
"hostPrefix": null,
"message": "4609: NOTIFICATION sent to 10.37.96.6+44759 (proto): code 2 (Open Message Error) subcode 2 (bad peer AS number), Reason: no group for 10.37.96.6+44759 (proto) from AS 4292019902 found (peer as mismatch) in master(ae1.0), dropping him",
"pri": "172",
"processId": "4936",
"processName": "rpd",
"severity": 4,
"tag": "bgp_pp_recv",
"time": "08:41:59+00:00"
},
"os": "junos",
"severity": 4,
"timestamp": 1585644119,
"yang_message": {
"bgp": {
"neighbors": {
"neighbor": {
"10.37.96.6": {
"state": {
"peer_as": "10.37.96.6",
"session_state": "OPENSENT"
}
}
}
}
}
},
"yang_model": "openconfig-bgp"
}