求高手分析802.1AG的CFM报文,越详细越要,每段报文代表什么,如何从报文中分辨是LTM,LBM这些东东,谢谢
发布网友
发布时间:2022-04-23 20:11
我来回答
共2个回答
热心网友
时间:2023-10-30 19:56
wireshark抓包
例如:
No. Time Source Destination Protocol Info
7 5.879534 Dell_82:71:eb Ieee8021_00:00:38 CFM Type Linktrace Message (LTM)
0000 01 80 c2 00 00 38 00 21 9b 82 71 eb 89 02 00 05 .....8.! ..q.....
0010 80 11 7f c6 21 a5 01 00 21 9b 82 71 eb 00 15 60 ....!... !..q...`
0020 c3 ad aa 07 00 08 00 00 00 21 9b 82 71 eb 00 00 ........ .!..q...
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
Frame 7: 64 bytes on wire (512 bits), 64 bytes captured (512 bits)
Ethernet II, Src: Dell_82:71:eb (00:21:9b:82:71:eb), Dst: Ieee8021_00:00:38 (01:80:c2:00:00:38)
Destination: Ieee8021_00:00:38 (01:80:c2:00:00:38)
Source: Dell_82:71:eb (00:21:9b:82:71:eb)
Type: IEEE 802.1ag Connectivity Fault Management (CFM) protocol (0x8902)
CFM EOAM 802.1ag/ITU Protocol, Type Linktrace Message (LTM)
000. .... = CFM MD Level: 0
...0 0000 = CFM Version: 0
CFM OpCode: Linktrace Message (LTM) (5)
CFM LTM PDU
Flags: 0x80
First TLV Offset: 17
Linktrace Transaction Identifier: 2143691173
Linktrace TTL: 1
Linktrace Message: Original Address: Dell_82:71:eb (00:21:9b:82:71:eb)
Linktrace Message: Target Address: HewlettP_c3:ad:aa (00:15:60:c3:ad:aa)
CFM TLVs
TLV: LTM Egress Identifier TLV (t=7,l=8)
TLV Type: LTM Egress Identifier TLV (7)
TLV Length: 8
Egress Identifier - Unique Identifier: 0000
Egress Identifier - MAC of LT Initiator/Responder: Dell_82:71:eb (00:21:9b:82:71:eb)
TLV: End TLV (t=0,l=0)
TLV Type: End TLV (0)
热心网友
时间:2023-10-30 19:57
不会有人回答你的,你放弃吧。