Configuring Ethernet OAM Connectivity Fault Management
SUMMARY This section describes Connectivity Fault Management (CFM), configuration of continuity check protocol, link trace protocol, creating a maintenance domain, and configuration of Ethernet OAM CFM on a security device.
Ethernet interfaces on SRX Series Firewalls support the IEEE 802.1ag standard for Operation, Administration, and Management (OAM). The 802.1ag is an IEEE standard for connectivity fault management (CFM).
Understanding Ethernet OAM Connectivity Fault Management
Ethernet interfaces on SRX Series Firewalls support the IEEE 802.1ag standard for Operation, Administration, and Management (OAM). The 802.1ag is an IEEE standard for connectivity fault management (CFM). The IEEE 802.1ag provides a specification for Ethernet CFM. The Ethernet network can consist of one or more service instances. A service instance could be a VLAN or a concatenation of VLANs. The goal of CFM is to provide a mechanism to monitor, locate, and isolate faulty links.
Support for the IEEE 802.1ag standard for OAM on SRX Series Firewalls depends on the Junos OS release running on the device.
Starting in Junos OS Release 15.1X49-D80, Ethernet OAM CFM is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, Ethernet OAM CFM is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Ethernet OAM CFM is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
CFM support includes the following features:
Fault monitoring using the Continuity Check Protocol. This is a neighbor discovery and health check protocol that discovers and maintains adjacencies at the VLAN or link level.
Path discovery and fault verification using the Link Trace protocol. This feature is not supported in Junos OS Release 12.3X48-D65.
Fault isolation using the Loopback protocol.
The Loopback protocol is used to check access to maintenance association end points (MEPs) under the same maintenance association (MA). The Loopback messages are triggered by an administrator using the
ping ethernet
command.
Virtual private LAN service (VPLS) is not supported on SRX100, SRX110, SRX210, SRX220, SRX240, SRX300, SRX320, SRX340, SRX345, SRX380, SRX550M, SRX1400, and SRX1500 devices.
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 end points (MEPs) having similar characteristics. MEPs are active CFM entities generating and responding to CFM protocol messages. There is also a maintenance association 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. You 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 MEPs.
The limitations for CFM are as follows:
You cannot configure MEP and MIP on the same VLAN.
CFM and link fault management (LFM) can be configured on the same interface.
You cannot configure CFM with Generic VLAN Registration Protocol (GVRP).
CFM is not supported on VoIP VLAN ports.
On SRX240, and SRX550M devices, the default Loopback message (LBM) packet size is 113 bytes.
- Benefits of Ethernet CFM
- CFM over VDSL and PPPoE interfaces for SRX210, SRX220, SRX240, SRX320, SRX340, SRX345, SRX380, SRX550, and SRX550M Devices
Benefits of Ethernet CFM
Ethernet CFM provides the following benefits:
End-to-end service-level OAM technology
Reduced operating expense for service provider Ethernet networks
Competitive advantage for service providers
CFM over VDSL and PPPoE interfaces for SRX210, SRX220, SRX240, SRX320, SRX340, SRX345, SRX380, SRX550, and SRX550M Devices
Starting in Junos OS Release 12.3X48-D65, on SRX210, SRX220, SRX240, and SRX550 devices, Operation, Administration, and Maintenance (OAM) connectivity fault management (CFM) is supported on very-high-bit-rate digital subscriber line (VDSL) and Point-to-Point Protocol over Ethernet (PPPoE) interfaces in addition to Ethernet interfaces.
CFM over VDSL should be configured on the pt interface. To support CFM over PPPoE, you need to configure maintenance domain and maintenance association end point (MEP). The CFM over VDSL interface supports down direction MEP, continuity check, and loopback protocols.
The following are the limitations when configuring Ethernet CFM over VDSL or Layer 3 interface:
CFM action profiles are not supported on the Point-to-Point Protocol over Ethernet (PPPoE) logical interface on SRX210, SRX220, SRX240, SRX550, and SRX650 devices.
Synthetic loss measurement on demand is supported only on SRX320, SRX340, SRX345, and SRX550M devices. Proactive synthetic loss measurement is not supported.
When CFM over PPPoE is implemented, CFM must be applied on the PPPoE logical interface and not on the underlying interface.
CFM over VDSL can be implemented as a MEP but not as a MIP.
CFM higher-level pass-through over a VDSL or Gigabit Ethernet interface in Layer 3 interface mode is not supported.
For a VLAN-tagged VDSL interface, CFM must always be applied on the respective logical interface and not over the physical interface.
When CFM is enabled on VDSL, CFM packets are dropped randomly, causing CFM sessions to flap based on the timer when transit traffic exceeds the line rate. Flapping occurs because the VDSL Mini-Physical Interface Module (Mini-PIM) cannot differentiate and prioritize CFM packets.
Configuring the Continuity Check Protocol on a Security Device
The Continuity Check Protocol is used for fault detection by a maintenance association end point (MEP) within a maintenance association. The MEP periodically sends continuity check multicast messages. The receiving MEPs use the continuity check messages (CCMs) to build a MEP database of all MEPs in the maintenance association.
Starting in Junos OS Release 12.3X48-D65, on SRX210, SRX220, SRX240, and SRX550 devices, the continuity check protocol for Ethernet Operation, Administration, and Management (OAM) connectivity fault management is supported over VDSL and PPPoE interfaces in addition to Ethernet interfaces.
Starting in Junos OS Release 15.1X49-D80, the continuity check protocol for Ethernet OAM CFM is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, the continuity check protocol for Ethernet OAM CFMis supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
The continuity check protocol for Ethernet OAM CFM is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
To configure the Continuity Check Protocol:
If the CCM interval is 100 milliseconds, only four MEPs are supported on a device.
Configuring the Link Trace Protocol on a Security Device
Starting in Junos OS Release 15.1X49-D80, configuring the Link Trace protocol for Ethernet OAM connectivity fault management is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, configuring the Link Trace protocol for Ethernet OAM connectivity fault management is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Configuring the Link Trace protocol for Ethernet OAM connectivity fault management is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
The Link Trace protocol is used for path discovery between a
pair of maintenance points. Link Trace Messages (LTMs) are triggered
by an administrator using the traceroute ethernet
command
to verify the path between a pair of MEPs under the same maintenance
association. LTMs can also be used to verify the path between a MEP
and a MIP under the same maintenance domain.
To configure the Link Trace protocol:
Creating a Maintenance Domain on a Security Device
A maintenance domain consists of network entities such as operators, providers, and customers. A maintenance domain is a management space for managing and administering a network. A domain is owned and operated by a single entity and defined by the set of ports internal to it and at its boundary. 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. You 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.
To enable connectivity fault management (CFM) on an Ethernet interface, maintenance domains, maintenance associations, and maintenance association end points (MEPs) must be created and configured.
Starting in Junos OS Release 12.3X48-D65, on SRX210, SRX220, SRX240, and SRX550 devices, creating a maintenance domain for Ethernet OAM CFM is supported over VDSL and PPPoE interfaces in addition to Ethernet interfaces.
Starting in Junos OS Release 15.1X49-D80, creating a maintenance domain for Ethernet OAM CFM is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, creating a maintenance domain for Ethernet OAM CFM is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Creating a maintenance domain for Ethernet OAM CFM is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
To create a maintenance domain:
Specify a name for the maintenance domain.
[edit protocols oam ethernet connectivity-fault-management]
user@host# set maintenance-domain domain-name
Specify a format for the maintenance domain name. If you do not specify a format, no name is configured.
A plain ASCII character string
A Domain Name System (DNS) format
A media access control (MAC) address plus a two-octet identifier in the range 0 through 65,535
None
[edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name]
user@host# set name-format format
For example, to specify the name format as a MAC address plus a two-octet identifier:
[edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name]
user@host# set name-format mac+2oct
Configure the maintenance domain level, which is used to indicate the nesting relationship between this domain and other domains. Use a value from 0 through 7.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name]
user@host# set level level-number
Configuring a Maintenance Domain MIP Half Function on a Security Device
Starting in Junos OS Release 15.1X49-D80, configuring a maintenance domain MIP half function for Ethernet OAM connectivity fault management is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, configuring a maintenance domain MIP half function for Ethernet OAM connectivity fault management is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Configuring a maintenance domain MIP half function for Ethernet OAM connectivity fault management is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
MIP half function (MHF) divides the maintenance association intermediate point (MIP) functionality into two unidirectional segments, improves visibility with minimal configuration, and improves network coverage by increasing the number of points that can be monitored. MHF extends monitoring capability by responding to loopback and Link Trace messages to help isolate faults. Whenever a MIP is configured, the MIP half function value for all maintenance domains and maintenance associations must be the same.
To configure the MIP half function:
[edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name]
user@host# set mip-half-function default
If SRX340, or SRX345 devices are configured as MIPs, ensure that a static MAC is configured in the Ethernet switching table with the next-hop interface to the MEP MAC.
You cannot configure MIP in a nondefault domain.
In Q-in-Q mode, double tag packets are not retained by MIP.
A maximum of 116 MIPs can be configured on a device.
Creating a Maintenance Association on a Security Device
In a connectivity fault management (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 end points (MEPs) having similar characteristics.
Starting in Junos OS Release 12.3X48-D65, on SRX210, SRX220, SRX240, and SRX550 devices, creating a maintenance association for Ethernet OAM connectivity fault management is supported over VDSL and PPPoE interfaces in addition to Ethernet interfaces.
Starting in Junos OS Release 15.1X49-D80, creating a maintenance association for Ethernet OAM CFM is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, creating a maintenance association for Ethernet OAM CFM is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Creating a maintenance association for Ethernet OAM CFM is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
To create a maintenance association:
[edit protocols oam ethernet connectivity-fault-management maintenance-domain domain-name]
user@host# set maintenance-association ma-name
On SRX210, SRX220, SRX240, SRX300, SRX320, SRX340, SRX345, SRX380, SRX550, SRX550M, and SRX650 devices, a maximum of seven maintenance associations are supported.
Configuring a Maintenance Association End Point on a Security Device
Starting in Junos OS Release 12.3X48-D65, on SRX210, SRX220, SRX240, and SRX550 devices, configuring a maintenance association end point for Ethernet OAM CFM is supported over VDSL and PPPoE interfaces in addition to Ethernet interfaces.
Starting in Junos OS Release 15.1X49-D80, configuring a maintenance association end point for Ethernet OAM CFM is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, configuring a maintenance association end point for Ethernet OAM CFM is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Configuring a maintenance association end point for Ethernet OAM CFM is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
To configure a MEP:
You cannot configure MEPs at different levels for the same VLANs.
Example: Configuring Ethernet OAM Connectivity Fault Management on a Security Device
Starting in Junos OS Release 15.1X49-D80, Ethernet OAM connectivity fault management is supported on SRX1500 devices.
Starting in Junos OS Release 15.1X49-D75, Ethernet OAM connectivity fault management is supported on SRX300, SRX320, SRX340, SRX345, and SRX550M devices.
Ethernet OAM connectivity fault management is not supported from Junos OS Release 15.1X49-D40 to Junos OS Release 15.1X49-D70.
Connectivity Fault Management (CFM) provides a mechanism to monitor, locate, and isolate faulty links.
This example describes how to enable and configure an end-to-end OAM CFM session on an Ethernet interface.
Requirements
This example uses the following hardware and software components:
Three SRX Series Firewalls connected by a point-to-point Ethernet link.
Junos OS Release 12.1X44-D10 or later for SRX Series Firewalls.
Overview
Ethernet interfaces on SRX Series Firewalls support the IEEE 802.1ag standard for Operation, Administration, and Management (OAM). The IEEE 802.1ag specification provides a specification for Ethernet connectivity fault management (CFM). CFM can be used to detect faults in the network path between the customer premises devices. It also helps in detecting the device or node in the provider network, where the failure occurred.
This example describes how to configure an end to end CFM session. In this example, three devices are connected by a point-to-point Ethernet link. The link between these devices is monitored using CFM. To check connectivity or fault through the provider network, maintenance intermediate point (MIP) is configured.
Topology
Figure 1 shows three SRX Series Firewalls connected by a point-to-point Ethernet link.
Configuring Ethernet OAM Connectivity Fault Management
- Configuring Ethernet OAM Connectivity Fault Management on Device 1
- Configuring Ethernet OAM CFM with MIP Half Function on Device 2
- Configuring Ethernet OAM Connectivity Fault Management on Device 3
Configuring Ethernet OAM Connectivity Fault Management on Device 1
CLI Quick Configuration
To quickly configure this example, copy the
following commands, paste them into a text file, remove any line breaks,
change any details necessary to match your network configuration,
copy and paste the commands into the CLI at the [edit]
hierarchy
level, and then enter commit
from configuration mode.
set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members v100
set vlans v100 vlan-id 100
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md level 5
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 100 interface ge-0/0/4.0
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 100 interface vlan 100
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 100 auto-discovery
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma continuity-check interval 10s
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma continuity-check hold-interval 20
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.
To enable and configure OAM CFM on device 1:
Define a VLAN and enable the interface for family Ethernet switching with interface mode trunk or access.
[edit] user@host#
set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
user@host#set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members v100
user@host#set vlans v100 vlan-id 100
Specify the maintenance domain name and the maintenance domain level.
[edit protocols oam ethernet connectivity-fault-management ] user@host#
set maintenance-domain Customer-md level 5
Create a maintenance association and configure MEP.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md] user@host#
set maintenance-association Customer-ma mep 100 interface ge-0/0/4.0
user@host#set maintenance-association Customer-ma mep 100 interface vlan 100
Enable MEP automatic discovery.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma] user@host#
set mep 100 auto-discovery
Enable the Continuity Check Protocol and specify the continuity check interval and hold interval.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma] user@host#
set continuity-check interval 10s
user@host#set continuity-check hold-interval 20
Results
From configuration mode, confirm your configuration
by entering the show protocols
command. If the output does
not display the intended configuration, repeat the configuration instructions
in this example to correct it.
For brevity, this show protocols
command output includes
only the configuration that is relevant to this example. Any other
configuration on the system has been replaced with ellipses (...).
[edit]
user@host# show protocols
oam { ethernet { connectivity-fault-management { maintenance-domain Customer-md { level 5; maintenance-association Customer-ma { continuity-check { interval 10s; hold-interval 20; } mep 100 { interface ge-0/0/4.0 vlan 100; auto-discovery; } } } } } }
If you are done configuring the device, enter commit
from configuration mode.
Configuring Ethernet OAM CFM with MIP Half Function on Device 2
CLI Quick Configuration
To quickly configure this example, copy the
following commands, paste them into a text file, remove any line breaks,
change any details necessary to match your network configuration,
copy and paste the commands into the CLI at the [edit]
hierarchy
level, and then enter commit
from configuration mode.
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members v100
set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members v100
set vlans v100 vlan-id 100
set protocols oam ethernet connectivity-fault-management maintenance-domain default-5 v100
set protocols oam ethernet connectivity-fault-management maintenance-domain default-5 mip-half-function default
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.
To configure MIP half function:
Define a VLAN and enable the interface for family Ethernet switching with interface mode trunk or access.
[edit] user@host#
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
user@host#set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members v100
user@host#set interfaces ge-0/0/4 unit 0 family ethernet-switching interface-mode trunk
user@host#set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members v100
user@host#set vlans v100 vlan-id 100
Create a maintenance domain and configure VLAN.
[edit protocols oam ethernet connectivity-fault-management] user@host#
set maintenance-domain default-5 v100
Create a MIP half function.
[edit protocols oam ethernet connectivity-fault-management ] user@host#
set maintenance-domain default-5 mip-half-function default
Note:If you want to configure traceoptions, run the following commands:
set protocols oam ethernet connectivity-fault-management traceoptions file CFM_trace
set protocols oam ethernet connectivity-fault-management traceoptions flag all
Results
From configuration mode, confirm your configuration
by entering the show protocols
command. If the output does
not display the intended configuration, repeat the configuration instructions
in this example to correct it.
For brevity, this show
command output includes only
the configuration that is relevant to this example. Any other configuration
on the system has been replaced with ellipses (...).
[edit]
user@host# show protocols
oam {
ethernet {
connectivity-fault-management {
traceoptions {
file CFM_trace;
flag all;
}
maintenance-domain default-5 {
v100;
mip-half-function default;
}
}
}
}
If you are done configuring the device, enter commit
from configuration mode.
Configuring Ethernet OAM Connectivity Fault Management on Device 3
CLI Quick Configuration
To quickly configure this example, copy the
following commands, paste them into a text file, remove any line breaks,
change any details necessary to match your network configuration,
copy and paste the commands into the CLI at the [edit]
hierarchy
level, and then enter commit
from configuration mode.
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members v100
set vlans v100 vlan-id 100
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md level 5
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 101 interface ge-0/0/1.0
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 101 interface vlan 100
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma mep 101 auto-discovery
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma continuity-check hold-interval 20
set protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma continuity-check interval 10s
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.
To enable and configure OAM CFM on Device 3:
Define a VLAN and enable the interface for family Ethernet switching with interface mode trunk or access.
[edit] user@host#
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
user@host#set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members v100
user@host#set vlans v100 vlan-id 100
Specify the maintenance domain name and the maintenance domain level.
[edit protocols oam ethernet connectivity-fault-management ] user@host#
set maintenance-domain Customer-md level 5
Create a maintenance association and configure MEP.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md] user@host#
set maintenance-association Customer-ma mep 101 interface ge-0/0/1.0
user@host#set maintenance-association Customer-ma mep 101 interface vlan 100
Enable MEP automatic discovery.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md] user@host#
set maintenance-association Customer-ma mep 101 auto-discovery
Enable the Continuity Check Protocol and specify the continuity check interval and hold interval.
[edit protocols oam ethernet connectivity-fault-management maintenance-domain Customer-md maintenance-association Customer-ma] user@host#
set continuity-check interval 10s
user@host#set continuity-check hold-interval 20
Results
From configuration mode, confirm your configuration
by entering the show protocols
command. If the output does
not display the intended configuration, repeat the configuration instructions
in this example to correct it.
For brevity, this show
command output includes only
the configuration that is relevant to this example. Any other configuration
on the system has been replaced with ellipses (...).
[edit]
user@host# show protocols
oam {
ethernet {
connectivity-fault-management {
maintenance-domain Customer-md {
level 5;
maintenance-association Customer-ma {
continuity-check {
interval 10s;
hold-interval 20;
}
mep 101 {
interface ge-0/0/1.0 vlan 100;
auto-discovery;
}
}
}
}
}
}
If you are done configuring the device, enter commit
from configuration mode.
Verification
Confirm that the configuration is working properly.
- Verifying the OAM CFM Configuration on Device 1
- Verifying the OAM CFM Configuration with MIP Half Function on Device 2
- Verifying the OAM CFM Configuration on Device 3
- Verifying the Path Using the Link Trace Protocol
- Verifying MEP Continuity Using Ping
Verifying the OAM CFM Configuration on Device 1
Purpose
Verify that OAM CFM has been configured properly.
Action
From operational mode, enter the following commands:
show oam ethernet connectivity-fault-management adjacencies
to display connectivity-fault-management adjacencies.show oam ethernet connectivity-fault-management interfaces
to display the Ethernet OAM information for the specified interface.
These commands produce the following sample output:
user@host# show oam ethernet connectivity-fault-management adjacencies
Mep-id Interface State Timer to Expire
101 ge-0/0/4.0 ok 29
user@host# show oam ethernet connectivity-fault-management interfaces
Interface Link Status Level MEP Neighbours
Identifier
ge-0/0/4.0 Up Active 5 100 1
user@host# show oam ethernet connectivity-fault-management interfaces detail
Interface name: ge-0/0/4.0, vlan 100, Interface status: Active, Link status: Up
Maintenance domain name: Customer-md, Format: string, Level: 5
Maintenance association name: Customer-ma, Format: string
Continuity-check status: enabled, Interval: 10s
MEP identifier: 100, Direction: down, MAC address: 2c:6b:f5:62:29:84
MEP status: running
Defects:
Remote MEP not receiving CCM : no
Erroneous CCM received : no
Cross-connect CCM received : no
RDI sent by some MEP : no
Statistics:
CCMs sent : 7
CCMs received out of sequence : 0
LBMs sent : 0
Valid in-order LBRs received : 0
Valid out-of-order LBRs received : 0
LBRs received with corrupted data : 0
LBRs sent : 0
LTMs sent : 0
LTMs received : 0
LTRs sent : 0
LTRs received : 0
Sequence number of next LTM request : 0
1DMs sent : 0
Valid 1DMs received : 0
Invalid 1DMs received : 0
DMMs sent : 0
DMRs sent : 0
Valid DMRs received : 0
Invalid DMRs received : 0
Remote MEP count: 1
Identifier MAC address State Interface
101 80:71:1f:ad:53:81 ok ge-0/0/4.0
Meaning
If the
show oam ethernet connectivity-fault-management interfaces detail
command output displays continuity-check status as enabled and displays details of the remote MEP, it means that connectivity fault management (CFM) was configured properly.If the
show oam ethernet connectivity-fault-management adjacencies
command output displays the state as ok, it indicates that the Continuity Check Protocol is up.
Verifying the OAM CFM Configuration with MIP Half Function on Device 2
Purpose
Verify that OAM CFM has been configured properly.
Action
From operational mode, run the show oam ethernet
connectivity-fault-management mip
command.
user@host# show oam ethernet connectivity-fault-management mip vlan 100
default maintenance-domain mhf : default
Interface Level
ge-0/0/1.0 5
ge-0/0/4.0 5
Meaning
The show oam ethernet connectivity-fault-management
mip
command output displays the MIP information.
Verifying the OAM CFM Configuration on Device 3
Purpose
Verify that OAM CFM has been configured properly.
Action
From operational mode, enter the following commands:
show oam ethernet connectivity-fault-management adjacencies
to display connectivity-fault-management adjacencies.show oam ethernet connectivity-fault-management interfaces
to display the Ethernet OAM information for the specified interface.
user@host# show oam ethernet connectivity-fault-management adjacencies
Mep-id Interface State Timer to Expire
100 ge-0/0/1.0 ok 27
user@host# show oam ethernet connectivity-fault-management interfaces detail
Interface name: ge-0/0/1.0, vlan 100, Interface status: Active, Link status: Up
Maintenance domain name: Customer-md, Format: string, Level: 5
Maintenance association name: Customer-ma, Format: string
Continuity-check status: enabled, Interval: 10s
MEP identifier: 101, Direction: down, MAC address: 80:71:1f:ad:53:81
MEP status: running
Defects:
Remote MEP not receiving CCM : no
Erroneous CCM received : no
Cross-connect CCM received : no
RDI sent by some MEP : no
Statistics:
CCMs sent : 77
CCMs received out of sequence : 0
LBMs sent : 0
Valid in-order LBRs received : 0
Valid out-of-order LBRs received : 0
LBRs received with corrupted data : 0
LBRs sent : 0
LTMs sent : 0
LTMs received : 0
LTRs sent : 0
LTRs received : 0
Sequence number of next LTM request : 0
1DMs sent : 0
Valid 1DMs received : 0
Invalid 1DMs received : 0
DMMs sent : 0
DMRs sent : 0
Valid DMRs received : 0
Invalid DMRs received : 0
Remote MEP count: 1
Identifier MAC address State Interface
100 2c:6b:f5:62:29:84 ok ge-0/0/1.0
Meaning
If the
show oam ethernet connectivity-fault-management interfaces detail
command output displays continuity-check status as enabled and displays details of the remote MEP, it means that connectivity fault management (CFM) was configured properly.If the
show oam ethernet connectivity-fault-management adjacencies
command output displays the state as ok, it indicates that the Continuity Check Protocol is up.
Verifying the Path Using the Link Trace Protocol
Purpose
Verify the path between maintenance endpoints.
Action
From operational mode, enter the traceroute ethernet
command.
user@host# traceroute ethernet maintenance-domain Customer-md maintenance-association Customer-ma mep 101
Linktrace to 80:71:1f:ad:53:81, Interface : ge-0/0/4.0
Maintenance Domain: Customer-md, Level: 5
Maintenance Association: Customer-ma, Local Mep: 100
Transaction Identifier: 3
Hop TTL Source MAC address Next-hop MAC address
.
1 63 80:71:1f:ad:50:01 80:71:1f:ad:50:01
2 62 80:71:1f:ad:53:81 00:00:00:00:00:00
Verifying MEP Continuity Using Ping
Purpose
Verify access to MEPs under the same maintenance association.
Action
From operational mode, enter the ping ethernet
command.
user@host# ping ethernet maintenance-domain Customer-md maintenance-association Customer-ma mep 101
PING to 80:71:1f:ad:53:81, Interface ge-0/0/4.0
60 bytes from 80:71:1f:ad:53:81: lbm_seq=0
60 bytes from 80:71:1f:ad:53:81: lbm_seq=1
60 bytes from 80:71:1f:ad:53:81: lbm_seq=2
60 bytes from 80:71:1f:ad:53:81: lbm_seq=3
--- ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss