Chinaunix

标题: BGP Cease Subcode definition [打印本页]

作者: wangguan    时间: 2009-09-18 13:03
标题: BGP Cease Subcode definition

BGP Cease Subcode definition
When you deal with Cisco and BGP, you probably know syslog messages like this:
Apr 11 16:34:38 ROUTER 1026843: Apr 11 16:34:38.010 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/2 (cease) 0 bytes
Apr 17 14:13:41 ROUTER 30082: Apr 17 14:13:41.126 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/0 (cease) 0 bytes
Apr 27 05:30:39 ROUTER 1028828: Apr 27 05:30:39.833 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/3 (cease) 0 bytes
May  5 08:12:03 ROUTER 38467: May  5 08:12:03.644 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/4 (cease) 0 bytes
May  7 06:06:04 ROUTER 38956: May  7 06:06:04.092 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/6 (cease) 0 bytes
May 10 13:28:39 ROUTER 4366: May 10 13:28:38.919 CET: %BGP-3-NOTIFICATION: received from neighbor 80.x.x.x 6/7 (cease) 0 bytes
I think in backbone environments, your BGP should be stable and you don’t want to see lots of these messages. But at a big peering point, it’s the normal “noise”….
According to
RFC4486
, Cisco reports the Subcode of Cease Notification Message (blue) in the log message.
Here’s an overview of subcode definition:
Subcode
Meaning
1
Maximum Number of Prefixes Reached
2
Administrative Shutdown
3
Peer De-configured
4
Administrative Reset
5
Connection Rejected
6
Other Configuration Change
7
Connection Collision Resolution
8
Out of Resources
and here comes a deeper explanation (also taken from the RFC):


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/88305/showart_2055204.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2