BGP RFC https://www.ietf.org/rfc/rfc4271.txt 说从空闲节点可以进入活动状态。维基百科说不能

网络工程 BGP 协议论 射频
2022-02-14 16:51:51

我信任哪一个?:-) RFC:空闲状态:

      Initially, the BGP peer FSM is in the Idle state.  Hereafter, the
      BGP peer FSM will be shortened to BGP FSM.

      In this state, BGP FSM refuses all incoming BGP connections for
      this peer.  No resources are allocated to the peer.  In response
      to a ManualStart event (Event 1) or an AutomaticStart event (Event
      3), the local system:

        - initializes all BGP resources for the peer connection,

        - sets ConnectRetryCounter to zero,

        - starts the ConnectRetryTimer with the initial value,

        - initiates a TCP connection to the other BGP peer,

        - listens for a connection that may be initiated by the remote
          BGP peer, and

        - changes its state to Connect.

      The ManualStop event (Event 2) and AutomaticStop (Event 8) event
      are ignored in the Idle state.




Rekhter, et al.             Standards Track                    [Page 53]

RFC 4271                         BGP-4                      January 2006


      In response to a ManualStart_with_PassiveTcpEstablishment event
      (Event 4) or AutomaticStart_with_PassiveTcpEstablishment event
      (Event 5), the local system:

        - initializes all BGP resources,

        - sets the ConnectRetryCounter to zero,

        - starts the ConnectRetryTimer with the initial value,

        - listens for a connection that may be initiated by the remote
          peer, and

        **- changes its state to Active.**

维基百科https://en.wikipedia.org/wiki/Border_Gateway_Protocol在此处输入图像描述

2个回答

RFC是标准,我会去的

Hy MiniMe,好问题。

一般来说,作为网络参考的 RFC,我肯定相信 RFC 所说的。

无论如何,RFC 在第 54 页中声明,在响应被动手动/自动启动事件的情况下,路由器开始侦听来自其对等方的任何传入请求,并将其自身置于活动状态,从而跳过连接状态。

这可能是由于路由器必须与对等方执行被动连接,因此它等待来自对等方的传入请求跳过连接状态(在该状态下它尝试建立 tcp 连接)。