IEEE802.1ag 20章 前3小节, 再上图 MEP / MIP / MD MA/
Figure 18-7—MEPs, MIPs, and MD Levels
# PDU
DUT shall not accept the CCM frame that source MAC address is “Group MAC address”.
DUT shall not accept the CCM frame that destination MAC address is different with MD Level.
DUT shall always ignore the Version field that is unknowable.
// Ingnore的意思是,接收方不对该字节进行检查,忽略此字段,若该包中其他格式正确则接收方对此包正常处理, 记录信息到MEPDB中等.
# MD/ MA / VLAN 连通性之间的关系;
1) 一个MD可以包含多个MA;
2) 一个MA中可以指定多个vlan,但是只有primary生效;
3) CFM的目的在于检查链路的连通性, 所以被检测的链路必须在同一个vlan中的MEP才有意义;
4) 所以一个MA中主机必须在一个vlan中, 确认联通性才有意义;
5) 案例, 一个MD中有多个MA,每个MA有不同的Primary Vlan, 所以当MEP确认联通性时, 为每个MA单独确认, 不同vlan间互不影响.
# MEP/MIP , MA , MD
1) MEP/MIP是由端口组成的, MA 是由相同或者不同BRIDGE上的端口(MEP/MIP) 组成的, 而MD 是由一个或者多个MD组成的.
2) 在同一个Bridge的同一个MA中, 如果某个端口被配置成UP(down) MEP,则该MA中该Bridge上的所有端口必须是UP(dwon) MEP.
3) Mep是绑定端口的, MA是绑定VLAN的.
# MEP / MHF 发送LBM/LBR, LTM/LMR, CCM 时的SMAC和DMAC, 以及这些MAC地址和Bridge的关系?
# CCM reception
Any CFM PDU received that is too short to contain an MD Level header field shall be discarded.
Those PDUs that do not match any of the OpCodes recognized by an MP OpCode Demultiplexer, or that are too
short to contain an OpCode, are discarded by either of a MEP’s MP OpCode Demultiplexers, and passed to
the Passive MHF Multiplexer by an MHF’s MP OpCode Demultiplexer.
# Port Status and Interface Status
# MIP Creation
cfm中有两个值, 分别在MD和MA下, 为CfmMdMhfCreation和CfmMaMhfCreation: 具体使用ma的值. ma的值可以单独指定或者指向MD中的值.
CfmMdMhfCreation: MD下有3个值,