Understand Ethernet OAM Connectivity Fault Management for Switches
The IEEE 802.1ag specification provides for Ethernet connectivity fault management (CFM). CFM monitors Ethernet networks that might comprise one or more service instances for network-compromising connectivity faults.
The major features of CFM are:
-
Fault monitoring using the continuity check protocol. This is a neighbor discovery and health check protocol that discovers and maintains adjacencies at the VLAN level.
-
Path discovery and fault verification using the linktrace protocol.
-
Fault isolation using the loopback protocol.
CFM partitions the service network into various administrative domains. For example, operators, providers, and customers might be part of different administrative domains. Each administrative domain is mapped into one maintenance domain providing enough information to perform its own management, thus avoiding security breaches and making end-to-end monitoring possible.
In a CFM maintenance domain, each service instance is called a maintenance association. A maintenance association can be thought of as a full mesh of maintenance association endpoints (MEPs) having similar characteristics. MEPs are active CFM entities generating and responding to CFM protocol messages. There is also a maintenance intermediate point (MIP), which is a CFM entity similar to the MEP, but more passive (MIPs only respond to CFM messages).
Each maintenance domain is associated with a maintenance domain level from 0 through 7. Level allocation is based on the network hierarchy, where outer domains are assigned a higher level than the inner domains. Configure customer end points to have the highest maintenance domain level. The maintenance domain level is a mandatory parameter that indicates the nesting relationships between various maintenance domains. The level is embedded in each CFM frame. CFM messages within a given level are processed by MEPs at that same level.
To enable CFM on an Ethernet interface, you must configure maintenance domains, maintenance associations, and maintenance association end points (MEPs). Figure 1 shows the relationships among maintenance domains, maintenance association end points (MEPs), and maintenance intermediate points (MIPs) configured on a switch.
![Relationship Among MEPs, MIPs, and Maintenance Domain Levels](../../images/g021066.gif)
On EX Series switches, to use the CFM feature, you must first add the CFM to basic Junos OS by installing an enhanced feature license (EFL). See Licenses for EX Series for more details.
CFM Limitations on EX4600 Switches
Starting in Junos OS Release 18.3R1, Junos OS provides CFM support on EX4600. CFM support on EX4600 has the following limitations:
-
CFM support is provided via software using filters. This can impact scaling.
-
Inline Packet Forwarding Engine (PFE) mode is not supported. In Inline PFE mode, you can delegate periodic packet management (PPM) processing to the Packet Forwarding Engine (PFE) which results in faster packet handling and the CCM interval supported is 10 milliseconds.
-
Performance monitoring (ITU-T Y.1731 Ethernet Service OAM) is not supported.
-
CCM interval of less than 1 second is not supported.
-
CFM is not supported on Routed Interfaces and aggregated Ethernet (lag) interfaces.
-
MIP half function, to divide the MIP functionality into two unidirectional segments to improve network coverage, is not supported.
-
Up MEP is not supported.
-
Total number of CFM sessions supported is 20.
CFM Limitations on QFX5120, QFX5200, and QFX5210 Series Switches
Starting in Junos OS Release 18.4R1, Junos OS provides CFM support on QFX5200 switches and QFX5210 switches. Starting in Junos OS Release 19.4R1, Junos OS provides CFM support on QFX5120 switches. CFM support on QFX5120, QFX5200, and QFX5210 Series switches has the following limitations:
-
CFM support is provided via software using filters. This can impact scaling.
-
Inline Packet Forwarding Engine (PFE) mode is not supported. In Inline PFE mode, you can delegate periodic packet management (PPM) processing to the Packet Forwarding Engine (PFE) which results in faster packet handling and the CCM interval supported is 10 milliseconds.
-
Performance monitoring (ITU-T Y.1731 Ethernet Service OAM) is not supported.
-
CCM interval of less than 1 second is not supported.
-
CFM is not supported on Routed Interfaces and aggregated Ethernet (lag) interfaces.
-
MIP half function, to divide the MIP functionality into two unidirectional segments to improve network coverage, is not supported.
-
Up MEP is not supported.
-
Total number of CFM sessions supported is 20.