802.3-1000 Base-x

Clause 37:Auto-Negotiation function, type 1000BASE-X
37.1.1 Scope
The Auto-Negotiation function exchanges information between two devices that share a link segment and automatically configures both devices to take maximum advantage of their abilities. Auto-Negotiation is performed with /C/ and /I/ ordered_sets defined in Clause36, such that no packet or upper layer protocol overhead is added to the network devices. Auto-Negotiation does not test the link segment characteristics (see 37.1.4).
Auto-Negotiation是指共享一条链路段的两台设备之间交换信息,并自动对两台设备进行配置,使它们能够最大限度地利用各自的能力。自动协商使用在第36条中定义的/C/和/I/ ordered_sets执行,这样就不会向网络设备添加任何包或上层协议开销。自动协商不会测试链路段特征(见37.1.4)。

The function allows the devices at both ends of a link segment to advertise abilities, acknowledge receipt
and understanding of the common mode(s) of operation that both devices share, and to reject the use of operational modes that are not shared by both devices. Where more than one common mode exists between the two devices, a mechanism is provided to allow the devices to resolve to a single mode of operation using a predetermined priority resolution function (see 37.2.4.2). The Auto-Negotiation function allows the devices to switch between the various operational modes in an ordered fashion, permits management to disable or enable the Auto-Negotiation function, and allows management to select a specific operational mode.
该功能允许链路段两端的设备通告能力,承认接收和理解两个设备共享的操作的共同模式,并拒绝使用不被两个设备共享的操作模式。在两个设备之间存在不止一种通用模式的情况下,提供一种机制以允许设备使用预定的优先级解析功能解析到单一的操作模式(见37.2.4.2)。Auto-Negotiation功能允许设备以有序的方式在各种工作模式之间切换,允许管理层禁用或启用Auto-Negotiation功能,并允许管理层选择特定的工作模式。

The basic mechanism to achieve Auto-Negotiation is to pass information encapsulated within /C/
ordered_sets. /C/ ordered_sets are directly analogous to FLP Bursts as defined in Clause28 that accomplish the same function. Each device issues /C/ ordered_sets at power up, on command from management, upon detection of a PHY error, or due to user interaction.
实现自动协商的基本机制是传递封装在/C/ 有序码(后面简称C码)的信息。/C/码直接类似于Clause28中定义的FLP(快速连接脉冲) burst,它们实现了相同的功能。每个设备在上电时会发出/C/码,在管理命令,在检测到PHY错误或由于用户交互都会发送/C/码。

PCS, INCLUDING AUTO-NEGOTIATION

37.1.4.3 Interoperability between Auto-Negotiation compatible devices
An Auto-Negotiation compatible device decodes the base page from the received /C/ ordered_sets and examines the contents for the highest common ability that both devices share. Both devices acknowledge correct receipt of each other’s base page by responding with base pages containing the Acknowledge Bit set. After both devices complete acknowledgment, and any desired next page exchange, both devices enable the highest common mode negotiated. The highest common mode is resolved using the priority resolution hierarchy specified in 37.2.4.2.
37.1.4.3支持自协商的设备间交互能力
自动协商兼容设备从接收到的/C/ 码中解码出基本页面信息,并检查内容,以获得两个设备的最高通用能力。两个设备通过响应ACK,来确认正确接收了对方的基本页。在两个设备完成ACK确认,和下一页信息确认之后,两个设备都启用最高协商模式。使用37.2.4.2中指定的优先级解析层次结构解析最高通用模式。

37.1.4.4 User Configuration with Auto-Negotiation
Rather than disabling Auto-Negotiation, the following behavior is suggested in order to improve interoperability with other Auto-Negotiation devices. When a device is configured for one specific mode of operation (e.g. 1000BASE-X Full Duplex), it is recommended to continue using Auto-Negotiation but only advertise the specifically selected ability or abilities. This can be done by the Management agent only setting the bits in the advertisement registers that correspond to the selected abilities.
37.1.4.4配置自协商用户
为了提高与其他自动协商设备的互操作性,建议使用以下行为,而不是禁用自动协商。当设备(期望)配置为一种特定的操作模式(例如1000BASE-X全双工)时,建议继续使用自动协商(而不是禁用协商),但只公布特定模式的能力。这可以通过设置能力寄存器中与所选能力相对应的位来完成。
(就是说,你要配置force 1000-full,那么也不要关闭协商,而是通过设置协商能力只保留1000M,这样设备间也能协商到1000-full。但不同厂家不同设备可能不是如此实现,这就会出现auto和force1g不能link的情况)

37.2.1 Config_Reg encoding
The Config_Reg base page, transmitted by a local device or received from a link partner, is encapsulated within a /C/ ordered_set and shall convey the encoding shown in Figure37–2. Auto-Negotiation supports additional pages using the Next Page function. Encodings for the Config_Reg(s) used in next page exchange are defined in 37.2.4.3.1. Config_Reg bits labeled as “rsvd” are reserved and shall be set to a logic zero.
37.2.1 Config_Reg编码
Config_Reg基页,由本地设备传输或从链接伙伴接收,被封装在/C/ ordered_set中,并将传递如图37-2所示的编码。自动协商使用“下一页”功能支持附加页面。在下一页交换中使用的Config_Reg(s)编码在37.2.4.3.1中定义。标记为“rsvd”的Config_Reg位是保留的,应该设置为逻辑零。
在这里插入图片描述
37.2.1.6 Acknowledge
Acknowledge (Ack) is encoded in bit D14 of the base and next pages (see Figures 37–2, 37–3, and 37–4). The Ack bit is used by the Auto-Negotiation function to indicate that a device has successfully received its link partner’s base or next page.
This bit is set to logic one after the device has successfully received at least three consecutive and matching rx_Config_RegD15:D0 values (ignoring the Acknowledge bit value), and, for next page exchanges, remains set until the next page information has been loaded into the AN next page transmit register (register 7). After the Auto-Negotiation process COMPLETE_ACKNOWLEDGE state has been entered, the tx_Config_RegD15:D0 value is transmitted for the link_timer duration.
37.2.1.6 ACK
Acknowledge (Ack)编码在基址和下一页的D14位(参见图37-2、37-3和37-4)。自动协商功能使用Ack位来表明一个设备已经成功地接收到它的链接伙伴的基页或下一页。
当设备成功接收到至少三个连续且匹配的rx_Config_RegD15:D0值(忽略Acknowledge位值)后,该位设置为逻辑1,并且,对于下一页交换,保持设置,直到下一页信息加载到AN下一页发送寄存器(寄存器7)。在进入Auto-Negotiation进程COMPLETE_ACKNOWLEDGE状态后,在link_timer持续时间内传输tx_Config_RegD15:D0值。

37.2.2 Transmit function requirements
The Transmit function provides the ability to transmit /C/ ordered_sets. After Power-On, link restart, or
renegotiation, the Transmit function transmits /C/ ordered_sets containing zeros indicating the restart condition. After sending sufficient zeros, the /C/ ordered_sets contain the Config_Reg base page value defined in 37.2.1. The local device may modify the Config_Reg value to disable an ability it possesses, but shall not transmit an ability it does not possess. This makes possible the distinction between local abilities and advertised abilities so that devices capable of multiple modes may negotiate to a mode lower in priority than the highest common local ability.
The Transmit function shall utilize the PCS Transmit process specified in 36.2.5.2.1.
Transmit函数提供了传输/C/ ordered_sets的能力。在上电、链路重启或重新协商后,Transmit函数传输/C/ ordered_sets,其中包含表示重启条件的0。在发送足够的零之后,/C/ ordered_sets包含37.2.1中定义的Config_Reg基页值。本地设备可以修改Config_Reg值来禁用它拥有的能力,但不能传输它不拥有的能力。这使得本地能力和广告能力之间的区别成为可能,以便能够多种模式的设备可以协商到优先级低于最高通用本地能力的模式。

37.2.2.1 Transmit function to Auto-Negotiation process interface requirements
The variable tx_Config_RegD15:D0 is derived from mr_adv_abilities<16:1> or mr_np_tx<16:1>. This
variable is the management representation of the AN advertisement register during base page exchange and the AN next page transmit register during next page exchange.
变量tx_Config_RegD15:DO派生自mr_adv_abilities<16:1>或mr_np_tx<16:1>。该变量是基本页交换期间广告寄存器和下一页交换期间下一页传输寄存器的管理表示。

When the xmit variable is set to CONFIGURATION by the Auto-Negotiation process, the PCS Transmit
function encodes the contents of the tx_Config_RegD15:D0 into the appropriate /C/ ordered_set for
transmission onto the MDI. When the xmit variable is set to IDLE by the Auto-Negotiation process, the PCS Transmit function transmits /I/ ordered_sets onto the MDI. When the xmit variable is set to DATA by the Auto-Negotiation process, the PCS Transmit function transmits /I/ ordered_sets interspersed with packets onto the MDI.
当自动协商过程将xmit变量设置为CONFIGURATION时,PCS Transmit功能将tx_Config_RegD15:DO的内容编码到适当的/C/ ordered_set中,以便传输到MDI。当自动协商过程将xmit变量设置为IDLE时,PCS Transmit函数将/I/ ordered_sets传输到MDI上。当Auto-Negotiation过程将xmit变量设置为DATA时,PCS Transmit功能会将/I/ ordered_sets与数据包一起发送到MDI上。

37.2.3.1 Receive function to Auto-Negotiation process interface requirements
The PCS Receive function provides the Auto-Negotiation process and management function with the results of rx_Config_RegD15:D0. The PCS Auto-Negotiation function generates the ability_match,
acknowledge_match, consistency_match, and idle_match signals.
PCS Receive功能提供Auto-Negotiation进程和管理功能,其结果为rx_Config_RegD15:DO。PCS Auto-Negotiation功能生成ability_match、acknowledgement _match、consistency_match和idle_match信号。

The PCS Receive process sets the RX_UNITDATA.indicate(/C/) message when a /C/ ordered_set is
received.
The PCS Receive process sets the RX_UNITDATA.indicate(/I/) message when a /I/ ordered_set is received.
The PCS Receive process sets the RX_UNITDATA.indicate(INVALID) message when an error condition is detected while not in normal receive processing (when the xmit variable is set to CONFIGURATION). The error conditions are specified in the PCS Receive state diagram of Figure 36–7a.
当接收到一个/C/ ordered_set时,PCS Receive进程设置RX_UNITDATA.indicate(/C/)消息。
当接收到一个/l/ ordered_set时,PCS Receive进程设置RX UNITDATA.indicate(/I/)消息。
PCS Receive进程设置RX unitdata .指示(INVALID)消息,当检测到错误条件,而不是在正常的接收处理(当xmit变量设置为CONFIGURATION)。错误情况在图36-7a的PCS Receive状态图中说明。

37.2.4.2 Priority resolution function
在这里插入图片描述

36.1.4.1 Physical Coding Sublayer (PCS)
The PCS interface is the Gigabit Media Independent Interface (GMII) that provides a uniform interface to
the Reconciliation sublayer for all 1000 Mb/s PHY implementations (e.g., not only 1000BASE-X but also
other possible types of gigabit PHY entities). 1000BASE-X provides services to the GMII in a manner analogous to how 100BASE-X provides services to the 100 Mb/s MII.
PCS接口是千兆媒体独立接口(GMII),为所有1000mb /s PHY实现(例如,不仅是1000BASE-X,而且还有其他可能类型的千兆PHY实体)提供统一的和解子层接口。1000BASE-X向GMII提供服务的方式类似于100BASE-X如何向100mb /s MII提供服务。

The 1000BASE-X PCS provides all services required by the GMII, including
a) Encoding (decoding) of GMII data octets to (from) ten-bit code-groups (8B/10B) for communication with the underlying PMA
b) Generating Carrier Sense and Collision Detect indications for use by PHY’s half duplex clients
c) Managing the Auto-Negotiation process, and informing the management entity via the GMII when
the PHY is ready for use
1000BASE-X PCS提供GMII所需的所有服务,包括
a)将GMII数据字节编码(解码)到10位码组(8B/10B),用于与底层PMA通信
b)为PHY的半双工客户端生成载波感知和碰撞检测指示
c)管理自动协商过程,并在PHY准备使用时通过GMII通知管理实体

36.1.4.2 Physical Medium Attachment (PMA) sublayer
The PMA provides a medium-independent means for the PCS to support the use of a range of serial-bit-oriented physical media. The 1000BASE-X PMA performs the following functions:
PMA为pc机提供了一种与介质无关的手段,以支持使用一系列面向串行位的物理介质。1000BASE-XPMA的主要功能如下:

a) Mapping of transmit and receive code-groups between the PCS and PMA via the PMA Service
Interface
b) Serialization (deserialization) of code-groups for transmission (reception) on the underlying serial
PMD
c) Recovery of clock from the 8B/10B-coded data supplied by the PMD
d) Mapping of transmit and receive bits between the PMA and PMD via the PMD Service Interface
e) Data loopback at the PMD Service Interface
a) 通过PMA Service在pc和PMA之间映射发送和接收码组接口
b) 用于在底层串行上传输(接收)的代码组的序列化(反序列化)PMD
c) 从PMD提供的8B/ 10b编码数据恢复时钟通过PMD
d) 服务接口在PMA和PMD之间映射发送和接收位
e) PMD业务接口的数据环回
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

36.2.4.17 Encapsulation
The 1000BASE-X PCS accepts packets from the MAC through the Reconciliation sublayer and GMII. Due to the continuously signaled nature of the underlying PMA, and the encoding performed by the PCS, the 1000BASE-X PCS encapsulates MAC frames into a code-group stream. The PCS decodes the code-group stream received from the PMA, extracts packets from it, and passes the packets to the MAC via the Reconciliation sublayer and GMII.
1000BASE-X pc通过Reconciliation子层和GMII接收来自MAC的数据包。由于底层PMA的连续信号特性,以及由PCS执行的编码,1000BASE-X PCS将MAC帧封装到码组流中。pc解码从PMA接收到的码组流,从中提取数据包,并通过Reconciliation子层和GMII将数据包传递给MAC。
Figure 36–4 depicts the PCS encapsulation of a MAC packet based on GMII signals.
在这里插入图片描述

36.2.5.2 State diagrams
36.2.5.2.1 Transmit
The PCS Transmit process is depicted in two state diagrams: PCS Transmit ordered_set and PCS Transmit code-group. The PCS shall implement its Transmit process as depicted in Figures 36–5 and 36–6, including compliance with the associated state variables as specified in 36.2.5.1.
PCS传输过程用两个状态图来描述:PCS传输ordered_set和PCS传输代码组。PCS应按照图36-5和图36-6所示实施其传输过程,包括符合36.2.5.1中规定的相关状态变量。

The Transmit ordered_set process continuously sources ordered_sets to the Transmit code-group process. When initially invoked, and when the Auto-Negotiation process xmit flag indicates CONFIGURATION, the Auto-Negotiation process is invoked. When the Auto-Negotiation process xmit flag indicates IDLE, and between packets (as delimited by the GMII), /I/ is sourced. Upon the assertion of TX_EN by the GMII when the Auto-Negotiation process xmit flag indicates DATA, the SPD ordered_set is sourced. Following the SPD, /D/ code-groups are sourced until TX_EN is deasserted. Following the de-assertion of TX_EN, EPD ordered_sets are sourced. If TX_ER is asserted when TX_EN is deasserted and carrier extend error is not indicated by TXD, /R/ ordered_sets are sourced for as many GTX_CLK periods as TX_ER is asserted with a delay of two GTX_CLK periods to first source the /T/ and /R/ ordered sets. If carrier extend error is indicated by TXD during carrier extend, /V/ ordered_sets are sourced. If TX_EN and TX_ER are both deasserted, the /R/ ordered_set may be sourced, after which the sourcing of /I/ is resumed. If, while TX_EN is CSMA/CD.
Transmit ordered_set进程不断地将ordered_set源给Transmit代码组进程。在最初调用时,当Auto-Negotiation过程xmit标志指示CONFIGURATION时,将调用Auto-Negotiation过程。当Auto-Negotiation进程的xmit标志表示IDLE,并且在数据包之间(由GMII分隔),/I/被源。当自动协商进程xmit标志指示DATA时,GMII断言TX_EN, SPD ordered_set被源。在SPD之后,/D/代码组被来源,直到TX_EN被取消断言。在取消TX_EN的断言之后,EPD ordered_sets被来源。如果TX_EN去断言时TX_ER是断言的,并且不通过TXD表示载波扩展错误,/R/ ordered_sets被源为与TX_ER以两个GTX_CLK周期延迟断言到第一个源/T/和/R/有序集一样多的GTX_CLK周期。如果在载波扩展期间用TXD表示载波扩展误差,/V/订购集被采购。如果TX EN和TX ER都不断言,/R/ ordered_set可能被来源,之后/I/的来源被恢复。如果,而TX_EN是CSMA/CD。
在这里插入图片描述
Figure 36–5—PCS transmit ordered_set state diagram

在这里插入图片描述
Figure 36–6—PCS transmit code-group state diagram
在这里插入图片描述
Figure 36–7a—PCS receive state diagram, part a
在这里插入图片描述
Figure 36–7b—PCS receive state diagram, part b

36.2.5.2.7 Auto-Negotiation process
The Auto-Negotiation process shall provide the means to exchange configuration information between two devices that share a link segment and to automatically configure both devices to take maximum advantage of their abilities. When the PCS is used with a PMD other than 1000BASE-KX, see Clause 37 for a description of the Auto-Negotiation process and Config_Reg contents.

Upon successful completion of the Clause 37 Auto-Negotiation process, the xmit flag is set to DATA and
normal link operation is enabled. The Clause 37 Auto-Negotiation process utilizes the PCS Transmit and
Receive processes to convey Config_Reg contents.
自动协商过程应提供在共享链路段的两台设备之间交换配置信息的方法,并自动配置两台设备以最大限度地利用它们的能力。当PCS与1000BASE-KX以外的PMD一起使用时,关于Auto-Negotiation过程和Config_Reg内容的描述请参见第37条。在成功完成第37条自动协商过程后,xmit标志被设置为DATA,并启用正常的链路操作。第37条自动协商进程利用PCS的Transmit和Receive进程来传输Config_Reg内容。
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
36.2.4.8 /K28.5/ code-group considerations
The /K28.5/ special code-group is chosen as the first code-group of all ordered_sets that are signaled repeatedly and for the purpose of allowing a receiver to synchronize to the incoming bit stream (i.e., /C/ and /I/), for the following reasons:
选择/K28.5/特殊码组作为所有重复发出信号的ordered_set的第一个码组,其目的是允许接收端同步到传入的比特流(即/C/和/I/),原因如下:

a)Bits abcdeif make up a comma. The comma can be used to easily find and verify code-group and
ordered_set boundaries of the rx_bit stream.
b)Bits ghj of the encoded code-group present the maximum number of transitions, simplifying
receiver acquisition of bit synchronization.
a) abcdeif位组成一个逗号。可以使用逗号轻松地查找和验证rx_bit流的代码组和ordered_set边界。
b)编码码组的ghj位表示最大转场数,简化了位同步的接收机采集。

在这里插入图片描述
k28.5 = 50x20+0x1c=0xbc (D28.5=0xbc, abcdeif=0xe1, ghi=0x5)
D21.5= 5
0x20+0x15=0xb5
D2.2 = 20x20+2=0x42
D5.6 = 6
0x20+5=0xc5
D16.2 = 2*0x20+0x10=0x50

36.2.4.10 Configuration (/C/)
Configuration, defined as the continuous repetition of the ordered sets /C1/ and /C2/, is used to convey the 16-bit Configuration Register (Config_Reg) to the link partner. See Clause 37 for a description of the
Config_Reg contents.
配置被定义为有序集/C1/和/C2/的连续重复,用于将16位配置寄存器(Config_Reg)传递给链接伙伴。Config_Reg内容的描述见第37条。

The ordered_sets, /C1/ and /C2/, are defined in Table 36–3. The /C1/ ordered_set is defined such that the
running disparity at the end of the first two code-groups is opposite that of the beginning running disparity.
The /C2/ ordered_set is defined such that the running disparity at the end of the first two code-groups is the same as the beginning running disparity. For a constant Config_Reg value, the running disparity after transmitting the sequence /C1/C2/ will be the opposite of what it was at the start of the sequence. This ensures that K28.5s containing comma+ will be sent during configuration.
有序集, /C1/和/C2/,在表36-3中定义。对/C1/ ordered_set的定义使前两个代码组末尾的运行差异与开始运行的差异相反。对/C2/有序集的定义是,前两个代码组末尾的运行差异与开始的运行差异相同。对于一个恒定的Config_Reg值,传输序列/C1/C2/后的运行差异将与序列开始时相反。这可以确保在配置过程中发送包含逗号+的k28.5。

36.2.4.12 IDLE (/I/)
IDLE ordered_sets (/I/) are transmitted continuously and repetitively whenever the GMII is idle (TX_EN
and TX_ER are both inactive). /I/ provides a continuous fill pattern to establish and maintain clock
synchronization. /I/ is emitted from, and interpreted by, the PCS. /I/ consists of one or more consecutively
transmitted /I1/ or /I2/ ordered_sets, as defined in Table 36–3.
IDLE ordered_sets (/I/)在GMII空闲时连续重复传输(TX_EN和TX_ER都不活跃)。/I/提供连续填充模式,以建立和保持时钟同步。/I/由PCS发出,并由PCS解释。/I/由一个或多个连续传输的/I1/或/I2/有序集组成,定义如表36-3所示。

The /I1/ ordered_set is defined such that the running disparity at the end of the transmitted /I1/ is opposite that of the beginning running disparity. The /I2/ ordered_set is defined such that the running disparity at the end of the transmitted /I2/ is the same as the beginning running disparity. The first /I/ following a packet or Configuration ordered_set restores the current positive or negative running disparity to a negative value. All subsequent /I/s are /I2/ to ensure negative ending running disparity.
/I1/ ordered_set的定义是这样的:在传输的/I1/末尾的跑步视差与开始的跑步视差相反。定义/I2/ ordered_set,使传输的/I2/末尾的跑步视差与开始的跑步视差相同。包或配置ordered_set后面的第一个/I/将当前正或负的运行差异恢复为负值。所有后续的/I/s为/I2/以确保负的结束运行差距。

Distinct carrier events are separated by /I/s.
Implementations of this standard may benefit from the ability to add or remove /I2/ from the code-group
stream one /I2/ at a time without altering the beginning running disparity associated with the code-group
subsequent to the removed /I2/.
不同的载波事件由/I/s分隔。该标准的实现可能受益于从代码组流中每次添加或删除/I2/的能力,而不会改变在删除/I2/之后与代码组相关的开始运行差异。

A received ordered set which consists of two code-groups, the first of which is /K28.5/ and the second of
which is a data code-group other than /D21.5/ or /D2.2/ is treated as an /I/ ordered_set.
接收到的有序集由两个代码组组成,第一个代码组是/K28.5/,第二个代码组是除/D21.5/或/D2.2/以外的数据代码组,它被视为/I/ ordered_set。

36.2.4.13 Start_of_Packet (SPD) delimiter
A Start_of_Packet delimiter (SPD) is used to delineate the starting boundary of a data transmission sequence and to authenticate carrier events. Upon each fresh assertion of TX_EN by the GMII, and subsequent to the completion of PCS transmission of the current ordered_set, the PCS replaces the current octet of the MAC preamble with SPD. Upon initiation of packet reception, the PCS replaces the received SPD delimiter with the data octet value associated with the first preamble octet. A SPD delimiter consists of the code-group /S/, as defined in Table 36–3.
SPD follows /I/ for a single packet or the first packet in a burst.
SPD follows /R/ for the second and subsequent packets of a burst.
Start_of_Packet分隔符(SPD)用于划定数据传输序列的起始边界,并对载波事件进行身份验证。在GMII每一次新的TX_EN断言之后,在当前ordered_set的PCS传输完成之后,PCS用SPD替换MAC前导的当前八位元。在开始接收数据包时,PCS将接收到的SPD分隔符替换为与第一个前导字节相关联的数据字节值。SPD分隔符由代码组/S/组成,定义如表36-3所示。
SPD跟踪/I/用于单个数据包或burst中的第一个数据包。
对于第二个及后续的突发报文,SPD会跟随/R/。

36.2.5.1.6 Message
PUDI
Alias for PMA_UNITDATA.indication(rx_code-group<9:0>).
PUDR
Alias for PMA_UNITDATA.request(tx_code-group<9:0>)
RUDI
Alias for RX_UNITDATA.indicate(parameter).
SUDI
Alias for SYNC_UNITDATA.indicate(parameters).

自协商和强制最根本的区别就是两者再建立物理链路时发送的码流不同,自协商模式发送的是/C/码,也就是配置(Configuration)码流,而强制模式发送的是/I/码,也就是idle码流。
千兆光口自协商过程:
1.两端都设置为自协商模式
双方互相发送/C/码流,如果连续接收到3个相同的/C/码且接收到的码流和本端工作方式相匹配,则返回给对方一个带有Ack应答的/C/码,对端接收到Ack信息后,认为两者可以互通,设置端口为UP状态
2.一端设置为自协商,一端设置为强制
自协商端发送/C/码流,强制端发送/I/码流,强制端无法给对端提供本端的协商信息,也无法给对端返回Ack应答,故自协商端DOWN。但是强制端本身可以识别/C/码,认为对端是与自己相匹配的端口,所以直接设置本端端口为UP状态
3.两端均设置为强制模式
双方互相发送/I/码流,一端接收到/I/码流后,认为对端是与自己相匹配的端口,直接设置本端端口为UP状态
————————————————
版权声明:该段文字为CSDN博主「zairenjian1234」的原创文章,遵循CC 4.0 BY-SA版权协议
原文链接:https://blog.csdn.net/u013076893/article/details/106455429

  • 2
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值