关键词不能为空

当前您在: 主页 > 英语 >

802.1ag协议和Y.1731协议帧格式

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-12 08:34
tags:

-

2021年2月12日发(作者:basketball什么意思)


802.1ag


协议和


Y.1731

< p>
协议帧格式



一.


802 .1ag


协议帧格式



uity Check Message format





(1)DA



6


个字节。地址为广播地址:


01-80-C2-00-00 -3y



(y=MD Level)


(2)SA



6


个字节。源


MAC


地址。



(3) VLan



4


个字节。格式为:




其中:



Priority



3



bit


。共有


8

< br>种优先级,取值为


0-7


CFI



1



bit


。值为


1


说明是规范格式,值为


0< /p>


说明是非规范模式



VLan ID



12



bit< /p>


。取值为


0-4095



VID=0


用于识别帧的优先级,


VID=4095< /p>


作为预


留值



(4)MD Level



3



bit


。共有


8


个层次,取值为


0-7


(5)Versi on



5



b it


。值为


0


(6)OpCode< /p>



1


个字节。值为


1


(7)Flags



1


个字节。格式为:




其中:



RDI



1



bit


。如果


RDI


的值为


1


说明至少有


1



MEP


没有从它的远端


MEP


那儿收


到一个有效的


CCM



RD I


的值为


0


说明正常。



Reserved



4



bit


。值为


0


,不被


MP


检查。


CCM Interval



3



bit


。共有


8


种时间间隔,取值为


0-7



0


表示无效,


1


表 示


3.33ms



2

< br>表示


10ms



3


表示


100ms



4


表示


1s



5


表示


10s



6


表示


1min



7




10min




(8)First TLV offset



1


个字节。值为


70




(9)Sequence Numbe r



4


个字节。值为

< br>0


或者为


CCM


的发送计数。< /p>



(10)MEP ID



2


个字节。值为


1-8191




(11)MA ID



48


个字节。格式为:




其中:



MD Name Format



1< /p>


个字节。取值如下表:




MD Name Length



1< /p>


个字节。值为


1-43




MD Name



字节数根据


MD Name Length


的取值来定,


根据


MD Name Format


来取名。



Short MA Name Format



1


个字节。取值如下表:




Short MA Name Length



1


个字节。取值范围不应大于


48

个字节减去


MD


域所用去的


字节数 。



Short MA Name



字节数根据


Short MA Name Length


的取值来定,


根据


Short MA Name


Format


来取名。



(12)Defined by ITU-T Y


.1731< /p>



16


个字节。值为

0




(13)Optional CCM TLVs


:可选。应包含的


TLV


Sender ID TLV



Port Status TLV



Interface


Status TLV


;可能包含的


T LV



Organization-Specific TLV



Sender ID TLV


:格式为:




其中:



Type


1


个字节。值为


1




Length



2


个字节。值为


V


a lue


部分的实际大小。



Chassis ID Length



1


个字节。值为


Chassis ID


的实际长度。



Chassis ID Subtype



1


个字节。取 值如下表:




Chassis ID


:为字符串形式,字节数根据


Chassis ID Length


的取值来定,根据


Chassis ID Subtype


来取名。



Management Address Domain Length



1


个字节。


值为

< p>
Management Address Domain


的实际长度。



Management Address Domain



字节数根据


Management Address Domain Length



取值来定,参见



ITU-T X.690 (2002), 8.19



IETF


RFC 2579



IETF RFC 3419



IETF RFC 4789




Management Address Length



1


个 字节。值为


Management Address


的实际长度。



Management Address


字节数根据


Management Address Length


的取值来定,


参见


IETF RFC 3419



IETF RFC 4789





Port Status TLV


:格式为:




其中:



Type


1


个字节。值为


2




Length



2


个字节。值为


1




Value



1


个字节。取值如下表:




其中变量


enableRmepDefect


的取值如下表:





Interface Status TLV


:格式为:




其中:



Type


1


个字节。值为


4




Length



2


个字节。值为


1




Value



1


个字节。取值如下表:





ck Message and Loopback Reply formats





(1)DA



6


个字节。目的单播


MAC


地址。


< /p>


(2)SA



6


个字节。源


MAC


地址。


< p>
(3)VLan



4


个字 节。格式为:




其中:



Priority

< p>


3



bit

< p>
。共有


8


种优先级,取值为


0-7


CFI



1



bit


。值为


1

< p>
说明是规范格式,值为


0


说明是非规范模式



VLan ID



12



bit


。取值为


0-4095



VID=0


用 于识别帧的优先级,


VID=4095


作为预

< br>留值



(4)MD Level



3



bit


。共有


8


个层次,取值为


0-7


(5)Version



5



bit


。值为


0


(6)OpCode



1


个字节。


LBM


的值为


3

< p>


LBR


的值为


2




(7)Flags



1


个字节。值为


0




(8)First TLV offset



1


个字节。值为


4




(9) Loopback Transaction Identifier



4


个字节。取值从


1


开始递增,每经过一个来回值 加


1




(10)Reserved for definition in future versions of the protocol



0


个字节。为未来版本的


CFM


< p>
留。



(11)Optional LBM/LBR TLVs


:可选。应包含的


TLV

< p>


Sender ID TLV



Data TLV


;可能包含



TLV



O rganization-Specific TLV




Sender ID TLV


:格式为:




其中:



Type


1


个字节。值为


1




Length



2


个字节。值为


V


a lue


部分的实际大小。



Chassis ID Length



1


个字节。值为


Chassis ID


的实际长度。



Chassis ID Subtype



1


个字节。取 值如下表:




Chassis ID


:为字符串形式,字节数根据


Chassis ID Length


的取值来定,根据


Chassis ID Subtype


来取名。



Management Address Domain Length



1


个字节。


值为

< p>
Management Address Domain


的实际长度。



Management Address Domain



字节数根据


Management Address Domain Length



取值来定,参见



ITU-T X.690 (2002), 8.19



IETF


RFC 2579



IETF RFC 3419



IETF RFC 4789




Management Address Length



1


个 字节。值为


Management Address


的实际长度。



Management Address


字节数根据


Management Address Length


的取值来定,


参见


IETF RFC 3419



IETF RFC 4789





Data TLV



包含于


LBM


或者


LBR


中,


但不会包含于其它任何


CFM PDU


中。


格式为:




其中:



T ype



1


个字节。值为


3




Length



2


个字节。值为


D ata


的实际长度。













Data


:字节数根据


Length


的取值来定。取值为全


0


或者为任意的字节,主要用


来测试通过的最大数据包大小。

< br>




ace Message Format





(1)DA



6


个字节。地址 为广播地址:


01-80-C2-00-00-3y



(y=MD Level+8)


(2)SA

< br>:


6


个字节。源


MAC


地址,每经过一个


MIP


都会改写成所经过的< /p>


MIP



MAC


地址。



(3)VLan


< p>
4


个字节。格式为:




其中:



Priority

< p>


3



bit

< p>
。共有


8


种优先级,取值为


0-7


CFI



1



bit


。值为


1

< p>
说明是规范格式,值为


0


说明是非规范模式



VLan ID



12



bit


。取值为


0-4095



VID=0


用 于识别帧的优先级,


VID=4095


作为预

< br>留值



(4)MD Level



3



bit


。共有


8


个层次,取值为


0-7


(5)Version



5



bit


。值为


0


(6)OpCode



1


个字节。值为


5




(7)Flags



1


个字节 。格式和取值为:




(8)First TLV offset


< br>1


个字节。值为


17




(9)LTM Transaction Identifier



4


个字节。取值从


1


开始递增,每经过一跳值加


1


。< /p>



(10)LTM TTL


< p>
1


个字节。默认值为


64


。每处理一个


LTM


其值减一,如果值为


0


或者


1



不再传给下一跳,如果值为


0


则无


LT R


返回。



(11)Original MAC Address



6


个字节。 发


LTM


包的原始


MEP



MAC


地址。



(12)Target MAC Address


< p>
6


个字节。在一条路径上


LTM

< br>用于跟踪的一个目标


MAC


地址。



(13)Reserved for definition in future versions of the protocol



0


个字节。为未来版本的


CFM


< p>
留。



(14)Additional LTM TLVs


:应包含的


TLV



LTM Egress Identifier TLV


;可能包含的< /p>


TLV



Sender ID TLV



Organization-Specific TLV


LTM Egress Identifier TLV


:格式为:




其中:



Type


1


个字节。值为


7




Length



2


个字节。值为


Egress Identifier


的实际长度。



Egress Identifier



8


个字节。


前两个字节为


0



后六个字节为发送


LTM


MAC


地址




ace Reply Format





(1) DA



6


个字节。目的单播

< p>
MAC


地址。



(2)S A



6


个字节。源

MAC


地址,每经过一个


MIP


都 会改写成所经过的


MIP



MAC


地址。



(3)VLan

< br>:


4


个字节。格式为:




其中:



P riority



3



bit


。共有


8


种优先级,取 值为


0-7


CFI



1



bit


。值为

< p>
1


说明是规范格式,值为


0


说明是非规范模式



VLan ID



12



bit


。取值为


0-4095



VID=0


用于识别帧的优先级,


VID=4095


作为预


留值



(4)MD Leve l



3



bi t


。共有


8


个层次,取值为

< p>
0-7


(5)Version



5



bit


。值为

< p>
0


(6)OpCode



1


个字节。值为


4




(7)Flags



1


个字节。格式和取值为:




(8)First TLV Offset


< br>1


个字节。值为


6


< p>


(9)LTR Transaction Identifier



4


个字节。取值是从


LTM Transaction Identifier


拷贝而来。



(10)Reply TTL



1


个字节。取值比


LTM TTL



1


。如果


LTM TTL



0


则不会有


LTR


传送。



(11)Relay Action



1


个字节。取值如下表:



(12)Reserved for definition in future versions of the protocol

< p>


0


个字节。为未来版本的


CFM



留。



(13)Additional LTR TLVs


:应包含的


TLV



LTR Egress Identifier TLV



Reply Ingress


TLV(Reply Egress TLV)


;可能包含的< /p>


TLV



Sender ID TLV



Organization-Specific TLV





LTR Egress Identifier TLV


:格式为:




其中:



Type


1


个字节。值为


8




Length



2


个字节。值为


16




Last


Egress


Identifier



8

< br>个字节。取值与收到的


LTM


Egress


Identifier


TLV


中的


Egress Identifier


相同。



Next Egress Identifier


< p>
8


个字节。取值与即将转发的


LTM Egress Identifier TLV




Egress Identifier


相同。




Reply Ingress TLV


:格式为:




其中:



Type


1


个字节。值为


5




Length



2


个字节。值为


Value

< br>的部分的实际长度。



Ingress Action< /p>



1


个字节。取值如下表:




Ingress MAC Address



6


个字节。该


M P



MAC


地址。


Ingress Port ID Length



1


个字节。取值为


Ingress Port ID


的实际长度。



Ingress Port ID Subtype



1


个字节。取值如下表:




Ingress Port ID


:字节数根据


Ingress Port ID Length


的取值来定,根据


Ingress Port


ID Subtype


来取名。




Reply Egress TLV


:格式为:




其中:



Type


1


个字节。值为


6




Length



2


个字节。值为


Value

< br>的部分的实际长度。



Egress Action



1


个字节。取值如下表:




Egress MAC Address



6


个字节。该


MP< /p>



MAC


地址。



Egress Port ID Length



1


个字节。取值为


Egress Port ID


的实际长度。



Egress Port ID Subtype



1


个字节。取值如下表:




Egress Port ID


:字节数根据


Egress Port ID Length


的取值来定,根据


Egress Port ID


Subtype


来取名。









-


-


-


-


-


-


-


-



本文更新与2021-02-12 08:34,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/642133.html

802.1ag协议和Y.1731协议帧格式的相关文章