Ethernet Oam Tutorial Srinath Beldona
Ethernet Oam Tutorial Srinath Beldona
Ethernet Oam Tutorial Srinath Beldona
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
HOUSEKEEPING
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 2
Agenda
Review of Metro Ethernet technologies & Ethernet OAM
Manageability to the Customer Premises
Ethernet OAM Overview
Ethernet OAM Deployment Overview
802.1ag Connectivity Fault Management for Services
Management
802.3ah for Ethernet in the First Mile for Connectivity
Verification
Metro Ethernet Forum MEF-16 E-LMI for Rapid Service
Deployment
Ethernet OAM Interworking
Summary
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 3
Metro Ethernet – Deployment scenarios
Integrated System
Full Service Efficient Large Scale Intelligent Multi-service Intelligent Efficient Full Service
Customer Access Aggregation Edge Core Edge Access Customer
Equipment Equipment
Si
10 0 M
DWDM/
10
Ring
/1 bp
0
00 s
CDWM
/
N-PE
U-PE U-PE Metro D
Internet
Network Facing Provider Edge (N-PE)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 4
Metro Ethernet—Service Descriptions
C
Ethernet Wire Service—EWS
SP
(Like a Leased Line) A Network
C
Ethernet Relay Service—ERS SP
(Like Frame Relay) A Network
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 5
IETF Terminology for Metro Ethernet
Core
Core Device
Device (P)
(P)
Frame
Frame Forwarding,
Forwarding, Congestion
Congestion Management
Management
P
Emulated
VC Emulated
Emulated VC
VC Endpoint
Endpoint (Network
(Network PE,
PE, N -PE) **
N-PE) specific for
(Pseudowire) MPLS/L2TPv3
MPLS/L2TPv3 pseudowire
pseudowire encapsulation,
encapsulation, L2 Interworking, Ethernet:
L2 Interworking,
IP
IP Service
Service Integration,
Integration, Congestion
Congestion Management,
Management, L3VPN
L3VPN VPLS
N-PE Interconnection
Interconnection (for
(for PEs
PEs supporting
supporting that
that function)
function) Bridging
Replaces
Replaces PE-POP
PE-POP
Extension Aggregation
Aggregation Device
Device (PE -AGG)
(PE-AGG)
Traffic
Traffic Aggregation
Aggregation and
and Congestion
Congestion Management
Management
VC PE-AGG
(Note:
(Note: PE-AGGs
PE-AGGs and
and Extension
Extension VC’s
VC’s are
are formally
formally identified
identified in
in Switched
Switched Ethernet
Ethernet
Access
Access Domains,
Domains, although
although the
the functions
functions exist
exist in
in FR
FR and
and ATM
ATM networks
networks as
as well.)
well.)
U-PE Attachment
Attachment VC
VC UNI
UNI Endpoint
Endpoint (User
(User PE,
PE, U -PE) **
U-PE)
Admission
Admission Control,
Control, Policy
Policy Enforcement,
Enforcement, Classification,
Classification, specific for
Attachment Policing
Policing && Marking,
Marking, Congestion
Congestion management,
management, SLA
SLA Ethernet:
VC monitoring
monitoring and
and reporting,
reporting, VC
VC Mapping
Mapping to
to L1
L1 Channel,
Channel, Bridging
CE VC-ID translation, Replaces U-PE
VC-ID translation, Replaces U-PE
Note: These different roles can be collapsed within a single box
* For More Information refer to http://www.ietf.org/internet-drafts/draft-ietf-ppvpn-l2-framework-03.txt
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 6
Review of OAM
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 7
OAM &P: The Concept
Operations, Administration, Maintenance & Provisioning:
− fault indication − performance monitoring
− security management − diagnostic functions
− configuration & service provisioning
OAM covers both NÅÆ S and WÅÆE interfaces
Management Plane
N ÅÆ S
(NMS / EMS)
Network Plane
(NEs)
W ÅÆ E
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 8
OAM &P: The Concept
Operations, Administration, Maintenance & Provisioning:
− fault indication − performance monitoring
− security management − diagnostic functions
− configuration & service provisioning
OAM covers both NÅÆ S and WÅÆE interfaces
Management Plane
N ÅÆ S
(NMS / EMS)
Network Plane
(NEs)
W ÅÆ E
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 9
OAM Layering
Operator A Operator B
Edge Router
Edge Bridge
ATM Switch
ATM Switch
Customer
Router
Router
Router
Bridge
Bridge
Bridge
switch
switch
Customer
Bridge
Bridge
Ethernet Ethernet 10G ATM
over SONET over MPLS Ethernet RFC1483
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 11
Carrier Ethernet Attributes
Platform and Technology Convergence
Cisco Carrier Ethernet Final Attribute to
Enable Carrier
Rich Ethernet Transport Grade Ethernet
Services Flexibility
Scalability H-VPLS Services
QoS MPLS
Network OAM
Resiliency Service Level
Assurance
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 12
What Is Service Assurance?
New New
Detection Service Availability
• IEEE 802.1ag CFM for Ethernet Local Management
End-to-end service Interface (E-LMI)
management over any Ethernet OAM
• Rapid Start service
infrastructure turn-up
• IEEE 802.3ah for • Manageability to
Ethernet First Mile Customer Premise
Link Monitoring MPLS OAM with CPE
Resiliency
• Non-Stop Forwarding (NSF)
• Stateful Switchover (SSO)
• Control Plane Failure with Zero Packet Loss
• Pseudowire Redundancy for L2 Failover
• MPLS Link Protection
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 13
Ethernet OAM: Service Availability
Rapid Start Service Turn Up—Reduce Truck Rolls
Rapid Start -- Service Turn-Up
Technician installs CPE Router
CPE communicates to UPE “I’m Alive”
UPE responds with available Ethernet connection services (EVCs)
CPE confirms connection to available EVCs
Dramatic time-to-install reduction
Router
Ethernet Switch
Standards-based E-LMI (MEF16)
U-PE
CPE
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 14
Service Assurance Detection
IEEE 802.3ah Link Layer OAM
802.3ah 802.3ah
CPE
PE-Agg NPE NPE PE-Agg
CPE
Core
CPE
UPE UPE CPE
E-LMI
L2
E-LMI
Service
802.3ah 802.3ah 802.3ah 802.3ah 802.3ah 802.3ah
Link
IEEE 802.1ag “L1”
Service
IEEE 802.1ag (CFM) uses Ethernet frames, not MPLS, ATM, or SONET
frames, cells, or sub-Ethernet control information
All devices must support these Ethernet frames to allow service
provider to verify end-to-end service connectivity over any IP, MPLS,
or VPLS infrastructure
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 16
End-to-End Manageability
Customer Loyalty: Service Level Assurance
CPE
NPE
PE-Agg NPE PE-Agg
CPE
CPE
Core
U-PE U-PE CPE
E-LMI E-LMI
Service
802.3ah 802.3ah 802.3ah 802.3ah 802.3ah 802.3ah
Link
802.1ag
Service
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 18
Carrier Ethernet
Ethernet OAM Standards Summary
Standards
Ethernet Services Architecture/Control Ethernet OAM* Ethernet
Body
802.3: MAC
802.3ar: Congestion Management
IEEE 802.1D/Q: Bridges/VLAN
802.17: RPR 802.3ah: EFM
802.3: PHYs
802.1ad: Provider Bridges 802.1ag: CFM
802.3as:
.1ah: Provider Backbone Bridges 802.1AB: Discovery Frame
Expansion
.1ak: Multiple Registration Protocol 802.1ap: VLAN MIB
.1aj: Two Port MAC Relay
.1AE/af: MAC/Key Security
.1aq: Shortest Path Bridging
G.8011: Services Framework G.8010: Layer Architecture Y.1730: Ethernet OAM Req
ITU
G.8011.1: EPL Service G.8021: Equipment Model Y.1731: OAM Mechanisms G.8012:
UNI/NNI
G.8011.2: EVPL Service G.8010v2: Layer Architecture G.8031: Protection
G.8012v2:
G.asm: Service Mgmt Arch G.8021v2: Equipment Model Y.17ethqos: QoS UNI/NNI
G.smc: Service Mgmt Chnl Y.17ethmpls: ETH-MPLS Interwork Y.ethperf: Performance
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 19
Overview of
Ethernet OAM
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 20
Drivers for Ethernet OAM
Management Complexity
Large Span Networks
Multiple constituent networks belong to disparate
organizations/companies
IP overlay or plug-n-play no longer valid options!
Operational Efficiency
Reduce Opex, avoid truck-roll
Downtime cost
OAM benchmarks set by TDM and existing WAN
technologies
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 21
The Promise of Ethernet OAM
Simplify deployment of Ethernet WAN services
particularly important as Ethernet moves to a volume market with less
technically sophisticated customers
31
Se
I Y.17
E-LM
rvi
ce
La
yer
Ne ag
two
rk
La
802.1
yer
ah
Tra
ns 802.3
po
rt L
aye
r
Service Provider
Domain
Operator Domain
End to End per EVC OAM
Hierarchical Maintenance Domains
MEPs/MIPs
Standard Ethernet Frames (in-band)
Continuity Check
Loopback
Link Trace
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 24
Y.1731
CFM plus…
ETH-LCK (out of service diagnostics)
Multicast Loopback
AIS
TEST
Maintenance Communication Channel
Experimental OAM
Performance Measurement (Delay, Packet loss …)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 25
802.3ah
Customer Service Provider
CE 1 CE 2
Link Layer
OAM
CE 1 uPE B uPE A CE 2
Service
Layer OAM
E-LMI E-LMI
Asymmetric protocol, applicable on UNI only (uPE to CE)
Specifies procedures & message formats exchanged and NOT how
uPE collects OAM data – relies on Service/Network OAM running
uPE to uPE
Allows uPE to communicate to CE:
EVC Status
Remote UNI Status
CE-VLAN to EVC Map
BW Profiles
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 27
802.1ag
Connectivity
Fault Management
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 28
Why do Service Providers want
Connectivity Fault Management?
Debugging Layer 2 networks is not easy in
the Enterprise space.
Debugging networks of Layer 2 networks
promises to be even harder.
Especially when the component networks
belong to different organizations and/or
different companies.
Experience in providing circuit-based
services provides a very useful model for
managing and debugging nets of nets.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 29
What is Ethernet
Connectivity Fault Management?
Connectivity Fault Management (CFM) is an
important part of “End-to-End OAM”.
CFM is Ethernet frames, not MPLS, ATM, or
SONET frames, cells, or sub-Ethernet control
information.
Only bridges see CFM because bridges are
the only active relay functions that exist.
MPLS, ATM, and SONET OAM are important
for debugging Ethernet “wires”, but are not
always end-to-end.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 30
(Terminology issue) There is no such
thing as a “Metro Ethernet Edge Router”
If interoperability is to be achieved among the various
technologies used for Metro Ethernet, the IEEE 802
LAN architecture must be observed.
There are only two kinds of active relay elements in
IEEE 802: Bridges and Hubs (Repeaters).
A “Metro Ethernet Edge Router” is a Bridge that does
not need to run spanning tree, has only two ports per
VLAN enabled (one trunk and one local Ethernet), and
uses Pseudowires for trunks.
(This notion saves a lot of verbiage in this document.
Whether a box is a router or a bridge depends on
which function you are looking at.)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 31
Maintenance and other OAM issues not
discussed
Minimal discussion of Provider-to-Customer
(single-link) IEEE 802.3ah OAM.
No explanation of MPLS, ATM, or other OAM.
No explanation of other techniques such as
periodic confirmation of network topology
and configuration, SNMP-based “traceroute”,
or Layer 3 functions such as Ping.
No explanation of other protocols such as
Ethernet Line Management Interface, BPDUs,
etc.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 32
Two standards bodies are defining CFM
or End-to-End OAM
IEEE 802.1ad defines Q-in-Q “Provider Bridges”. IEEE
802.1ag defines “Connectivity Fault Management” for all
IEEE 802 Bridges.
ITU-T Question 3, Study Group 13, is defining end-to-end
Ethernet OAM for both circuit-switched equipment (e.g.
Ether-over-SONET) and packet-switched equipment
(802.1ad Bridges).
Both 802.1 and Q.3/13 share common membership and
are cooperating fully.
802.1 should define low-level aspects tied closely to bridging
technology.
Q.3/13 should define high-level aspects tied to the service models.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 33
Domains,
Maintenance Levels,
and
Flow Points
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
The OAM Environment
Customer
Domain
Provider
Domain
Operator Operator Operator
Domain Domain Domain
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 36
Domains
OK
NO
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 37
Domains
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 38
Maintenance Levels
Customer Operator A Operator B Customer
Equipment Bridges Bridges Equipment
Customer Level
Provider Level
Operator Level
Physical (or Layer 3 carrier) Level
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 39
Lower CFM Levels
(Expanding red link in the previous slide)
Operator A Operator C Operator D Operator B
Bridge Routers Routers Bridge
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 40
Loopback Points, Maintenance Points
Customer Operator A Operator B Customer
Equipment Bridges Bridges Equipment
M L L M
M L L M
M L L L L M M L L L L L L M
M MM MM MM MM MM MM MM M
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 41
Loopback Points, Maintenance Points
Customer Operator A Operator B Customer
Equipment Bridges Bridges Equipment
M L L M
M L L M
M L L L L M M L L L L L L M
M MM MM MM MM MM MM MM M
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 42
Loopback Points and Maintenance
Points: Operator Levels (x3)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 43
Loopback Points and Maintenance
Points: Provider Level
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 44
Connectivity Fault Management
Overview
CFM Technology Primer
CFM implementation
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 45
Standards-Based Ethernet OAM —
Comprehensive Approach
MPLS OAM: VCCV, LSP Ping/Traceroute
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 46
CFM Technology Primer
The Basics
CFM uses standard Ethernet Frames.
CFM frames are distinguishable by Ether-Type (and MAC Address for
multicast messages).
CFM frames are sourced, terminated, processed and relayed by
Provider Bridges – only Bridges see CFM.
The Players
Customer contracts with Metro-E Provider for end-to-end Ethernet
service. Provider sub-contracts with Operator(s) to provide equipment
and networks.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 47
CFM Technology Primer
Maintenance Domains & Levels
A “Management Space” owned and operated by a single organization (department).
CFM message exchanges and operations are per-domain.
A Domain has a Maintenance Level associated with it (value 0 to 7). Two (or more) disjoint domains may be at the same Level, even
on the same device.
Domains have a hierarchical relationship that parallels the structure of the “Players”.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 48
CFM Technology Primer
OK
NO
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 49
CFM Technology Primer
Maintenance Points
A Maintenance Point (MP) is a demarcation point on an interface (port) that
participates in CFM within a Maintenance Domain.
Two classes of MPs:
Maintenance End Points (MEPs): At the edge of a Domain. Actively
source CFM messages. Are directional (inward or outward facing).
Maintenance Intermediate Points (MIPs): Internal to a Domain. Passive
points, only respond when triggered by certain CFM messages.
MPs should be explicitly provisioned on Cisco IOS devices.
The level of a MIP (or level 7 MEP) defines the port level.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 50
CFM Technology Primer
Customer Operator A Operator B Customer
Equipment Bridges Bridges Equipment
Operator Operator
Level Level
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 51
CFM Technology Primer
CFM Messages
All CFM Messages are per Maintenance Domain and per S-VLAN (PE-VLAN or
Provider-VLAN).
Regular Ethernet Frames, distinguishable by Destination MAC and/or
Ethertype.
Provider Bridges that cannot interpret CFM Messages must forward them as
normal data frames.
Four types of Messages:
Continuity Check (CC)
Loopback
Traceroute
Alarm Indication Signal (AIS)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 52
CFM Technology Primer
Continuity Check (CC)
Per-Domain & per-VLAN Multicast “heart-beat” messages. Destination address
format:
45 bits
3 bits
Transmitted at a configurable periodic interval by MEPs (default is 30 seconds,
range from 10 sec to 65535 sec.)
Catalogued by MIPs at the same Maintenance Level.
Terminated by remote MEPs at the same Maintenance Level.
Uni-directional and do not solicit a response
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 53
CFM Technology Primer
Continuity Check (continued …)
catalogue
catalogue catalogue & terminate
MEP MIP MIP MEP
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 54
CFM Technology Primer
Loopback
Unicast frame, source must be a MEP, destination may be a MEP or a MIP.
Reply is unicast too.
Generated on-demand via MIB or CLI.
Loopback is specific to a Maintenance Domain and a VLAN.
Timestamps embedded in Loopback Message can be used to measure Round-
Trip Delay and One-Way Jitter.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 55
CFM Technology Primer
Loopback (continued…)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 56
CFM Technology Primer
Traceroute
Multicast message, source must be a MEP, destination must be a MEP too.
Reply is a unicast.
Generated on-demand via MIB or CLI.
Traceroute is specific to a Maintenance Domain & a VLAN.
Allows the discovery of all MIPs belonging to the same Maintenance Domain
along the path to destination MEP.
On each visible hop indicate: Ingress Action, Relay Action, Egress Action.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 57
CFM Technology Primer
Traceroute (continued …)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 58
SNMP Support (cont’d)
No standardization yet
Traps
Generated by MEPs
Two classes of traps:
CC
MEP Up/Down, Remote Port Status Change, CC Loop,
Configuration Error, Cross-connected Service
Crosscheck (provisioned state against running state)
Missing MEP, Unknown MEP, Service Operational
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 59
Sample Topology
sandiego-c3845 newyork-c2851
Gi0/1 Gi0/1
101.1.1.1 101.1.1.2
dallas-c7606 110.1.1.2
110.1.1.1
denver-3750me
4 4 sanjose-3750me
7 7
4 4 Gi3/23 4 Gi3/23 4 4
Fa1/0/1 Fa1/0/23 Gi3/48 Fa1/0/24 Fa1/0/1
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 60
Configuring CFM
Network Provisioning
Done once at network bring-up or when devices are added or
removed.
Service Provisioning
Done every time a service is enabled on the network.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 61
Configuring CFM
Network Provisioning
3. Configure Domains
Router (config)# ethernet cfm domain domain-name level level-id
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 62
Configuring CFM
Network Provisioning
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 63
Sample Topology
Network Provisioning
sandiego-c3845 newyork-c2851
ethernet
ethernet cfm cfm domain
domain CUSTOMER_DOMAIN
CUSTOMER_DOMAIN level level 77
ethernet
ethernet cfm cfm domain
domain PROVIDER_DOMAIN
PROVIDER_DOMAIN level level 44
Gi0/1 Gi0/1
mep
mep archive-hold-time
archive-hold-time 60 60
101.1.1.1 101.1.1.2
ethernet cfm
dallas-c7606
ethernet cfm enable enable 110.1.1.2
110.1.1.1
ethernet cfm traceroute
ethernet cfm traceroute cache cache
denver-3750me
7 !! 4 4 sanjose-3750me
interface 7
4 Gi3/23
interface 4 FastEthernet1/0/1
Gi3/23
FastEthernet1/0/1 4
description connected 4
Fa1/0/1 Fa1/0/23 description
Gi3/48 connected to to sandiego-c3845
sandiego-c3845
Fa1/0/24
switchport
switchport trunk trunk encapsulation
encapsulation dot1q dot1q
Fa1/0/1
switchport
switchport mode mode trunktrunk
ethernet
ethernet cfm mip level
cfm mip level 77
!!
4 Level 4 MIP Gi3/48
interface FastEthernet1/0/23
interface FastEthernet1/0/23
description 4 7
7 Level 7 MIP description connected connected to to dallas-c7606
dallas-c7606
switchport trunk
switchport trunk encapsulation encapsulation
4 dot1q
dot1q miami-c1841
switchport Gi3/2 Fa0/1
switchport mode mode trunktrunk
ethernet
ethernet cfm mip level
cfm mip level 44
detroit-c7606
101.1.1.3
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 64
Configuring CFM
Service Provisioning
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 65
Configuring CFM
Service Provisioning
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 66
Configuring CFM
Service Provisioning
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 67
Configuring CFM
Service Provisioning
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 68
Sample Topology
Network Provisioning
sandiego-c3845 newyork-c2851
ethernet
ethernet cfm cfm domain
domain CUSTOMER_DOMAIN
CUSTOMER_DOMAIN level level 77
ethernet
ethernet cfm cfm domain
domain PROVIDER_DOMAIN
PROVIDER_DOMAIN level level 44
Gi0/1 Gi0/1
mep
mep archive-hold-time
archive-hold-time 60 60
101.1.1.1 101.1.1.2
service
service customer_101_provider vlan
customer_101_provider
dallas-c7606
vlan 101 101 110.1.1.2
110.1.1.1
service
service customer_110_provider
customer_110_provider vlan
vlan 110 110
denver-3750me
4
ethernet cfm 4
enable sanjose-3750me
7 ethernet cfm enable 7
4 4 ethernet
Gi3/23
ethernet 4 cfm traceroute
traceroute cache
cfmGi3/23 4
cache
!! 4
Fa1/0/1 Fa1/0/23 Gi3/48 Fa1/0/24
interface
interface FastEthernet1/0/1
FastEthernet1/0/1
Fa1/0/1
description
description connected connected to to sandiego-c3845
sandiego-c3845
switchport
switchport trunk encapsulation dot1q
trunk encapsulation dot1q
switchport mode
switchport modeGi3/48 trunk
trunk
4 Level 4 MIP
ethernet
ethernet cfm mip level
cfm mip level 77
ethernet 4 7
7 Level 7 MIP ethernet cfm cfm mepmep level
level 44 mpid mpid 1110
1110 vlanvlan 110110
ethernet cfm mep
ethernet cfm mep level4 4Gi3/2level 4 mpid 1101
mpid 1101 vlan 101
miami-c1841
vlan 101
!! Fa0/1
4 Level 4 MEP interface
interface FastEthernet1/0/23
detroit-c7606
FastEthernet1/0/23
description
description connected connected to to dallas-c7606
dallas-c7606101.1.1.3
switchport
switchport trunk trunk encapsulation
encapsulation dot1q dot1q
switchport mode
switchport mode trunk trunk
ethernet
ethernet cfm cfm mipmip level
level 44
!!
ethernet
ethernet cfm
cfm cc
cc enable
enable level
level 0-7
0-7 vlan
vlan 1-4095
1-4095
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 69
Sample Topology
Network Provisioning
ethernet cfm domain CUSTOMER_DOMAIN level 7
sandiego-c3845 ethernet cfm domain CUSTOMER_DOMAIN level 7
ethernet cfm domain PROVIDER_DOMAIN newyork-c2851
level 4
ethernet cfm domain PROVIDER_DOMAIN level 4
service customer_101_provider vlan 101
service customer_101_provider vlan 101
Gi0/1 service customer_110_provider vlan 110
service customer_110_providerGi0/1 vlan 110
ethernet cfm enable
ethernet cfm enable 101.1.1.2
101.1.1.1 !
dallas-c7606 ! 110.1.1.2
110.1.1.1 interface GigabitEthernet3/23
interface GigabitEthernet3/23
description connected to denver-c3750me
denver-3750me description connected to denver-c3750me
4 4 switchport sanjose-3750me
7 switchport
switchport mode trunk 7
switchport mode trunk
4 4 Gi3/23 4 Gi3/23 ethernet 4 cfm mip level 4
ethernet cfm mip level 44
!
Fa1/0/1 Fa1/0/23 Gi3/48 !
interfaceFa1/0/24
GigabitEthernet3/24
Fa1/0/1
interface GigabitEthernet3/24
description connected to sanjose-c3750me
description connected to sanjose-c3750me
switchport
switchport
switchport mode trunk
switchport mode trunk
ethernet cfm mip level 4
ethernet cfm mip level 4
!
4 Level 4 MIP Gi3/48!
interface GigabitEthernet3/48
interface GigabitEthernet3/48
4description
7
description
connected to detroit-c7606
connected to detroit-c7606
7 Level 7 MIP switchport
switchport miami-c1841
4
switchport
switchport
mode trunk
mode trunk
ethernet Gi3/2 Fa0/1
cfm mip level 4
ethernet cfm mip level 4
4 Level 4 MEP !
detroit-c7606
!
ethernet cfm cc enable level 0-7 vlan 1-4095
ethernet cfm cc enable level 0-7 vlan 1-4095
101.1.1.3
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 70
Sample Topology
Network Provisioning
ethernet
ethernet cfm
sandiego-c3845cfm domain
domain CUSTOMER_DOMAIN
CUSTOMER_DOMAIN level
level 77 newyork-c2851
ethernet
ethernet cfm domain PROVIDER_DOMAIN level 44
cfm domain PROVIDER_DOMAIN level
mep
mep archive-hold-time 60
archive-hold-time
Gi0/1 60
service Gi0/1
service customer_101_provider
customer_101_provider vlan vlan 101
101
service 101.1.1.2
service customer_110_provider
101.1.1.1 customer_110_provider vlan vlan 110
110 dallas-c7606 110.1.1.2
110.1.1.1
ethernet
ethernet cfm cfm enable
enable
ethernet
ethernet cfm cfm traceroute
denver-3750mecache
traceroute cache 4 4 sanjose-3750me
!! 7 7
interface
interface FastEthernet1/0/1
4
FastEthernet1/0/1 4 Gi3/23 4 Gi3/23 4
description connected to 4
description Fa1/0/1
to newyork-c3851
connected Fa1/0/23newyork-c3851 Gi3/48
switchport Fa1/0/24
switchport trunktrunk encapsulation
encapsulation dot1q
dot1q Fa1/0/1
switchport mode trunk
switchport mode trunk
ethernet
ethernet cfm cfm mipmip level
level 77
ethernet
ethernet cfm cfm mepmep level
level 44 mpid
mpid 3101
3101 vlan
vlan 101
101
ethernet cfm mep level 4 mpid 3110 vlan 110
4 Levelcfm
ethernet 4 MIP mep level 4 mpid 3110 vlan 110 Gi3/48
!!
interface FastEthernet1/0/24 4 7
interface
7 Level FastEthernet1/0/24
7 MIP
description
description connected
connected to to dallas-c7606
dallas-c7606 4 miami-c1841
switchport trunk encapsulation dot1q Gi3/2 Fa0/1
switchport trunk encapsulation dot1q
4 Level 4mode
switchport
switchport MEPtrunk
mode trunk detroit-c7606
ethernet
ethernet cfm cfm mipmip level
level 44 101.1.1.3
!!
ethernet
ethernet cfm cfm cccc enable
enable level
level 0-7
0-7 vlan
vlan 1-4095
1-4095
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 71
Sample Topology
Network Provisioning
ethernet
ethernet cfm
sandiego-c3845cfm domain
domain CUSTOMER_DOMAIN
CUSTOMER_DOMAIN level
level 77 newyork-c2851
ethernet
ethernet cfm domain PROVIDER_DOMAIN level 44
cfm domain PROVIDER_DOMAIN level
mep
mep archive-hold-time 60
archive-hold-time
Gi0/1 60
service Gi0/1
service customer_101_provider
customer_101_provider vlan vlan 101
101
service 101.1.1.2
service customer_110_provider
101.1.1.1 customer_110_provider vlan vlan 110
110 dallas-c7606 110.1.1.2
110.1.1.1
ethernet
ethernet cfm cfm enable
enable
ethernet
ethernet cfm cfm traceroute
denver-3750mecache
traceroute cache 4 4 sanjose-3750me
!! 7 7
interface
interface GigabitEthernet3/2
4
GigabitEthernet3/2 4 Gi3/23 4 Gi3/23 4
description connected to 4
description Fa1/0/1
to miami-c1841
connected Fa1/0/23miami-c1841 Gi3/48
switchport Fa1/0/24 Fa1/0/1
switchport
switchport mode trunk
switchport mode trunk
ethernet
ethernet cfm cfm mipmip level
level 77
ethernet
ethernet cfm cfm mepmep level
level 44 mpid
mpid 4101
4101 vlan
vlan 101
101
!!
4 Level 4 MIP Gi3/48
interface GigabitEthernet3/48
interface GigabitEthernet3/48 4
description
description connected
connected to
to dallas-c7606
dallas-c7606
7
7 Level
switchport 7 MIP
miami-c1841
switchport
switchport mode trunk 4
switchport mode trunk Gi3/2 Fa0/1
4 Levelcfm
ethernet
ethernet 4 MEP
cfm mip
mip level
level 44 detroit-c7606
!!
ethernet 101.1.1.3
ethernet cfm cfm cccc enable
enable level
level 0-7
0-7 vlan
vlan 1-4095
1-4095
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 72
Show Commands
Show Local Maintenance Points
denver-c3750me#show ethernet cfm maintenance-points local
MPID DomainName Level Type VLAN Port CC-Status MAC
1101 PROVIDER_DOMAIN 4 MEP 101 Fa1/0/1 Enabled
0013.c33c.5680
1110 PROVIDER_DOMAIN 4 MEP 110 Fa1/0/1 Enabled
0013.c33c.5680
Level Type Port MAC
7 MIP Fa1/0/1 0013.c33c.5680
4 MIP Fa1/0/23 0013.c33c.5680
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 73
Show Commands
Show Local Maintenance Points: CC-Status
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 74
Show Commands
Show Local Maintenance Points: CC-Status
denver-c3750me(config)#ethernet cfm cc enable level 4 vlan 101
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 75
Show Commands
Show Domains
denver-c3750me#show ethernet cfm domain
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 77
Show Commands
Other CFM Show Commands
--------------------------------------------------------------------------------
MAC Ingress Ingress Action Relay Action
Hops Host Forwarded Egress Egress Action Next Hop
--------------------------------------------------------------------------------
B 1 dallas-c7606 0015.6215.3e85 Gi3/23 IngOk RlyCCDB
Forwarded Gi3/24 EgrOK sanjose-c3750me
! 2 sanjose-c3750me 0015.637b.4e00 Fa1/0/2 IngOk RlyNone
Not Forwarded
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 78
Clear Commands
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 79
CFM Crosscheck
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 80
CFM Debugs
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 81
CFM Debugs
21:56:15: CFM-PKT: Received a cc packet from interface FastEthernet1/0/24
21:56:15: CFM-PKT: cfm packet dump - 104 bytes, interface FastEthernet1/0/24, vlan 110
21:56:15: CFM-PKT: ethernet CFM message dump,
dest: 0100.0ccc.ccc4
src: 0013.c33c.5680
Version: 0
Maintenance Level: 4
MsgType: CC(0)
Transaction Id: 3334414845
21:56:15: 01 00 0C CC CC C4 00 13 C3 3C 56 80 00 5A AA AA
21:56:15: 03 00 00 0C 01 26 00 04 00 08 C6 BF 21 FD 01 00
21:56:15: 26 00 63 75 73 74 6F 6D 65 72 5F 31 31 30 5F 70
21:56:15: 72 6F 76 69 64 65 72 3A 50 52 4F 56 49 44 45 52
21:56:15: 5F 44 4F 4D 41 49 4E 02 00 02 04 56 03 00 02 00
21:56:15: 4B 04 00 02 00 01 05 00 0E 64 65 6E 76 65 72 2D
21:56:15: 63 33 37 35 30 6D 65 00
21:56:15:
21:56:15: CFM-PKT: TLV Service ID 'customer_110_provider:PROVIDER_DOMAIN'
21:56:15: CFM-PKT: TLV MPID 1110
21:56:15: CFM-PKT: TLV LIFETIME 75
21:56:15: CFM-PKT: TLV PORT_STATE 0x1 (UP)
21:56:15: CFM-PKT: Received a CC packet with MPID 1110, level 4, vlan 110 from interface
FastEthernet1/0/24
Ethernet
21:56:15:OAM Tutorial
CFM-EVT: Found remote mep for level 4 svlan 110, mpid 1110
© 2006 Cisco Systems, Inc. All rights reserved. 82
Sample Topology
Crosscheck
sandiego-c3845 ethernet newyork-c2851
ethernet cfm cfm domain
domain PROVIDER_DOMAIN
PROVIDER_DOMAIN level level 44
mep
mep archive-hold-time
archive-hold-time 60 60
Gi0/1 service
service customer_101_provider vlan
customer_101_provider vlan 101
101 Gi0/1
service customer_110_provider
101.1.1.1 service customer_110_provider vlan
dallas-c7606 vlan 110
110 101.1.1.2
110.1.1.1 mep crosscheck mpid 3101 vlan 101 mac 0015.637b.4e00110.1.1.2
mep crosscheck mpid 3101 vlan 101 mac 0015.637b.4e00
mep crosscheck mpid
mpid 4101
4101 vlan 101
denver-3750me mep crosscheck
4 crosscheck 4 mpid vlan 101 mac
mac 0015.6215.46c5
0015.6215.46c5
sanjose-3750me
7 mep 3110 vlan 110 mac
mep crosscheck mpid 3110 vlan 110 mac 0015.637b.4e00 0015.637b.4e00
!!Gi3/23 7
4 4 4 Gi3/23 4
ethernet
ethernet cfm cfm cccc enable
enable level
level 0-7
0-7 vlan
vlan 1-40954
1-4095
Fa1/0/1 Fa1/0/23 ethernet Gi3/48
cfm mep crosscheck start-delay
Fa1/0/24 60
ethernet cfm mep crosscheck start-delay 60 Fa1/0/1
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 83
CFM Crosscheck
denver-c3750me#ethernet cfm mep crosscheck enable level any vlan any
denver-c3750me#show ethernet cfm domain
Domain Name : CUSTOMER_DOMAIN
Index : 1
Level : 7
Total Services : 0
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 85
Troubleshooting with CFM
Proactive
Traps give asynchronous fault notification
Use Loopback and Traceroute to verify
and isolate faults
Reactive
Use Loopback and Traceroute to verify
and isolate faults
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 86
Troubleshooting with CFM
Start with Highest-Level
Maintenance Domain
Troubleshooting Workflow
Jump to Lower
Check Bridge
Maintenance
Error Status
Domain
Shows Error
No
Confirms Problem Traceroute
Loopback Test to Failure Isolated?
Destination
Yes
Take Corrective
Fault Verification Fault Isolation Action
Stop
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 87
Troubleshooting with CFM
Commands
Loopback
ping ethernet mac-address {domain domain-name | level level-id} vlan vlan-id
Traceroute
traceroute ethernet {mac-address}{domain domain-name | level level-id} vlan
vlan-id
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 88
Troubleshooting with CFM
sandiego-c3845 newyork-c2851
Gi0/1 Gi0/1
101.1.1.1 101.1.1.2
dallas-c7606 110.1.1.2
110.1.1.1
denver-3750me
4 4 sanjose-3750me
7 7
4 4 Gi3/23 4 Gi3/23 4 4
Fa1/0/1 Fa1/0/23 Gi3/48 Fa1/0/24 Fa1/0/1
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 89
Troubleshooting with CFM
SNMP Traps are generated when a remote MEP is not
heard from.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 90
Troubleshooting with CFM
--------------------------------------------------------------------------------
MAC Ingress Ingress Action Relay Action
Hops Host Forwarded Egress Egress Action Next Hop
--------------------------------------------------------------------------------
B 1 dallas-c7606 0015.6215.3e85 Gi3/23 IngOk RlyCCDB
Not Forwarded Gi3/24 EgrDown sanjose-c3750me
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 91
Troubleshooting with CFM
Other Errors Reported by CFM:
CC Lifetime Expiration
CC Lifetime Zero
(Remote MEP removed or disabled)
Loop Error
(Receiving a CC with the same source MAC and MPID as a local MEP)
Crossconnect Error
(Receiving a CC who’s CSI does not match the local configuration)
Configuration Error
(Receiving a CC with the same MPID as a local MEP)
MEP Missing
(Crosscheck: Did not receive a CC from a statically configured remote MEP)
Unknown MEP
(Crosscheck: Received a CC from a remote MEP that was not statically
configured)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 92
Ethernet LMI
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 93
Ethernet Link Management Interface (E-LMI)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 94
Ethernet Services Model
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 95
MEF Terminology
(MEN) CE-B
CE-A
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 96
End-to-End Ethernet OAM
(UNI)
(UNI)
MEN
(Provider/Operator)
CE PE PE CE
802.3ah 802.3ah
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 97
Ether LMI Requirement
• Auto Configure CE
Creation, deletion of EVCs, VLANs, Bandwidth
profile changes…
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 98
Ethernet Local Management Interface –
Deployment with Ethernet Core
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 99
Ethernet Local Management Interface –
Deployment with MPLS core
MPLS
CE PE PE CE
Ethernet LMI Ethernet LMI
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 100
Information Carried by Ethernet LMI
Configuration Data
CE-VLANs
Bandwidth Profile per EVC
Bandwidth Profile per UNI
Provisioned Data
EVC service Identifier
UNI Identifiers for EVC
UNI Type
Remote UNI Identifier for EVC
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 102
Typical Flow
CE MEN
•UNI Id
Startup STATUS ENQ (Full Status Req)
•EVC Id
•CE-VLAN
Auto STATUS (Full Status Resp) •Bandwidth Profile
Config- •EVC Status
•……..
Link OK
!!
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 103
E-LMI Configurations
CE : Less config
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 104
Ethernet LMI Configuration - PE
1. EVC Configuration (Global)
EVC Id
UNI Count
EVC MEN OAM Protocol
Gi0/1 Gi0/1
101.1.1.1 101.1.1.2
dallas-c7606 110.1.1.2
110.1.1.1
denver-3750me sanjose-3750me
Gi3/23 Gi3/23
miami-c1841
Gi3/2 Fa0/1
detroit-c7606
101.1.1.3
Note: UNI count is 2 by default. Hence no need for explicit configuration of this for P2P
EVC.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 107
Step 2: Configure UNI
a. UNI service
UNI Config
denver-c3750me(config)#int e0/0
denver-c3750me(config-if)# ethernet uni bundle b. Uni Id
denver-c3750me(config-if)# ethernet uni id cisco_sandiego
denver-c3750me(config-if)# service instance 101 ethernet EVC_MP2MP_101
denver-c3750me(config-if-srv)# ethernet lmi ce-vlan map 101
denver-c3750me(config-if)# service instance 110 ethernet EVC_P2P_110
denver-c3750me(config-if-srv)# ethernet lmi ce-vlan map 110
denver-c3750me(config-if)#end
c. Map Vlans
used by UNI
for this EVC
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 108
Step 2: Contd..
Other possible options for UNI type
denver-c3750me(config-if)#ethernet uni ?
bundle bundling service without multiplexing
multiplex multiplexing service without bundling
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 109
Step 3: Enable Ethernet LMI
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 110
Step 3. (Cont…): Ethernet LMI Config – Modify
default params
PE:
denver-c3750me(config)#in f1/0/1
denver-c3750me(config-if)#ethernet lmi ?
interface Enable Ethernet LMI on this interface
n393 Error counter
t392 Polling verification timer
CE:
sandiego-c3845(config-if)#ethernet lmi ?
interface Enable Ethernet LMI on this interface
n391 Polling counter
n393 Error counter
t391 Polling timer
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 111
Ethernet LMI Configuration - CE
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 112
Complete E-OAM configuration - PE
!
ethernet lmi global
ethernet cfm domain CUSTOMER_DOMAIN level 7
ethernet cfm domain PROVIDER_DOMAIN level 4
service customer_101_provider vlan 101
service customer_110_provider vlan 110
ethernet cfm enable
!
!
ethernet evc EVC_P2P_110
oam protocol cfm svlan 110 domain PROVIDER_DOMAIN
!
NOTE: Required DATA plane
ethernet evc EVC_MP2MP_101
uni count 3
configuration should be
oam protocol cfm svlan 101 domain PROVIDER_DOMAIN done as done today.
!
!
interface FastEthernet1/0/1
description connected to sandiego-c3845
service instance 101 ethernet EVC_MP2MP_101
ethernet lmi ce-vlan map 101
service instance 110 ethernet EVC_P2P_110
ethernet lmi ce-vlan map 110
ethernet uni id cisco_sandiego
ethernet cfm mip level 7
ethernet cfm mep level 4 mpid 1110 vlan 110
ethernet cfm mep level 4 mpid 1101 vlan 101
!
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 113
Complete E-OAM configuration on CE
!
interface GigabitEthernet0/1
no ip address
logging event subif-link-status
negotiation auto
ethernet lmi interface NOTE: Required DATA plane
end configuration should be
done as done today.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 114
EVC, Ethernet LMI show commands
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 115
show ethernet service evc
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 116
show ethernet service evc detail
denver-c3750me#show ethernet service evc detail
EVC ID: EVC_P2P_110
EVC Type: P-P
UNI Count: Configured = 2, Active = 2
EVC Status: Active
Associated Local Interfaces:
Interface CE-Vlans
FastEthernet1/0/1 110
Associated UNIs:
UNI-Identifier Status Location
cisco_sandiego Up Fa1/0/1
cisco_newyork Up Remote
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 117
802.3ah
Ethernet in the First Mile
Connectivity Verification
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 118
Agenda
Overview
Ethernet OAM Technology
Ethernet OAM Configuration
Ethernet OAM Commands
Ethernet OAM Implementation
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 119
802.3ah Overview
Customer Service Provider Customer
MPLS Core
Eth Access Eth Access
CE CE
802.3ah
Ethernet in
the First Mile
N-PE
CE U-PE
802.3ah OAMPDUs
802.3ah OAMPDUs
Why it is needed?
Monitor the health of a link
Determine the location of failing links or fault
conditions
Complement applications that reside in higher layers
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 121
802.3ah Technology
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 122
802.3ah Technology
What does Ethernet OAM support?
Discovery :- Discovery is the first phase of Ethernet OAM. It identifies
the devices in the network along with their OAM capabilities.
Remote failure indication :- Ethernet OAM provides a mechanism
for an OAM entity to convey slow degradation of Ethernet link to its peer
via specific flags in the OAMPDU.
Remote loopback :- An OAM entity can put its remote peer into
loopback mode using the Loopback control OAMPDU. This helps
the administrator ensure the quality of links during installation or
when troubleshooting.
Polling of MIB variables :- Ethernet OAM provides a read-
only access to remote MIB variables limited to a specific
MIB branch and leaf.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 123
802.3ah Technology
The Basics
Ethernet OAM uses standard Ethernet frames,
called OAMPDUs.
OAMPDU uses IEEE Slow Protocol’s MAC
address (0180.c200.0002) and Ether-Type (8809)
but has a unique subtype (03).
OAMPDU is sourced and terminated at both ends
of a link. It is not relayed by bridges.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 124
802.3ah Technology
OAMPDU format
Destination Source Ether- Sub- Data/Pad FCS
Address Type
Address type
6 octets 6 octets 2 1 45 ~ 1499 4 octets
octets octet octets
Subtype 03
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 125
Ethernet 802.3ah Technology
OAMPDU types
Information OAMPDU
Event Notification OAMPDU
Variable Request OAMPDU
Variable Response OAMPDU
Loopback Control OAMPDU
Organization Specific OAMPDU
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 126
802.3ah Technology
OAM Discovery
Ethernet OAM and it identifies the devices in
network along with their capabilities.
1. Send Information OAMPDU in a periodic fashion
(once a second, by default).
2. Discover OAM configurations (capabilities, eg:-
LB), state (Active/Passive), OUI (Organizational
unique identifier), OAMPDU configuration (max.
oampdu size and rate) of remote OAM client.
3. Decide whether OAM clients can be fully
operational on the link.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 127
802.3ah Technology
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 128
802.3ah Technology
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 129
802.3ah Technology
X
OAM OAM
X
MAC MAC
PHY PHY
Master OAM
Slave OAM
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 130
802.3ah Technology
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 131
802.3ah Configuration
Ethernet OAM Interface Configuration
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 132
802.3ag Template configuration
template oam
ethernet oam link-monitor symbol-period threshold low 10
ethernet oam link-monitor symbol-period threshold high 100
ethernet oam link-monitor frame window 100
ethernet oam link-monitor frame threshold low 10
Ceasar# conf t
ethernet oam link-monitor frame threshold high 100
ethernet oam link-monitor frame-period window 100 Enter configuration commands, one per
line. End with CNTL/Z.
ethernet oam link-monitor frame-period threshold low 10
ethernet oam link-monitor frame-period threshold high 100 Ceasar(config)# int fas 1/25
ethernet oam link-monitor frame-seconds window 1000
Ceasar(config-if)# source template oam
ethernet oam link-monitor frame-seconds threshold low 10
ethernet oam link-monitor frame-seconds threshold high 100
ethernet oam link-monitor receive-crc window 100
ethernet oam link-monitor receive-crc threshold high 100
ethernet oam link-monitor transmit-crc window 100
ethernet oam link-monitor transmit-crc threshold high 100
ethernet oam remote-failure link-fault action error-disable-interface
ethernet oam remote-failure dying-gasp action error-disable-interface
ethernet oam remote-failure critical-event action error-disable-interface
!
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 133
802.3ah Configuration -Topology
Fa1/1 Fa4/1
Fa4/3
fulliautomatix-7606
Fa1/3
Fa1/4 Fa4/4
!
! interface FastEthernet4/1
no ip address
interface FastEthernet1/1 ethernet oam
no ip address !
interface FastEthernet4/2
ethernet oam no ip address
! source template oam
interface FastEthernet1/2 ethernet oam
!
no ip address interface FastEthernet4/3
ethernet oam ip address 6.6.6.7 255.255.255.0
ethernet oam remote-loopback supported
! ethernet oam
interface FastEthernet1/3 !
interface FastEthernet4/4
ip address 6.6.6.6 no ip address
255.255.255.0 ethernet oam max-rate 5
ethernet oam ethernet oam min-rate 2
ethernet oam mode passive
! ethernet oam timeout 30
interface FastEthernet1/4 ethernet oam remote-failure link-fault action error-disable-interface
ethernet oam remote-failure dying-gasp action error-disable-interface
no ip address ethernet oam remote-failure critical-event action error-disable-interface
ethernet oam ethernet oam
! Ethernet OAM Tutorial !
© 2006 Cisco Systems, Inc. All rights reserved. 134
Configuration Verification
show ethernet oam status [interface <interface name>]
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 135
Ethernet OAM Commands:- Discovery
show ethernet oam summary
show ethernet oam discovery [interface <interface name>]
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 137
Ethernet OAM Commands:- Link monitoring
Show ethernet oam statistics [interface Local Faults:
<interface name>] -------------
0 Link Fault records
FastEthernet4/2 0 Dying Gasp records
Counters: 0 Critical Event records
---------
--------------
Information OAMPDU Tx :3
0 Link Fault records
Information OAMPDU Rx :3 0 Dying Gasp records
Unique Event Notification OAMPDU Tx :0 0 Critical Event records
Unique Event Notification OAMPDU Rx :0
Local event logs:
Duplicate Event Notification OAMPDU TX :0 -----------------
Duplicate Event Notification OAMPDU RX :0 0 Errored Symbol Period records
Loopback Control OAMPDU Tx :0 0 Errored Frame records
0 Errored Frame Period records
Loopback Control OAMPDU Rx :0
0 Errored Frame Second records
Variable Request OAMPDU Tx :0
Variable Request OAMPDU Rx :0 Remote event logs:
Variable Response OAMPDU Tx :0
------------------
0 Errored Symbol Period records
Variable Response OAMPDU Rx :0 0 Errored Frame records
Cisco OAMPDU Tx :0 0 Errored Frame Period records
Cisco OAMPDU Rx :0 0 Errored Frame Second records
Unsupported OAMPDU Tx :0 fulliautomatix#
Unsupported OAMPDU Rx :0
Frames Lost due to OAM
Ethernet OAM Tutorial
:0
© 2006 Cisco Systems, Inc. All rights reserved. 138
Ethernet OAM Commands:- Remote Fault
Indication
Ceasar(config)#int fas 1/4
Ceasar(config-if)#sh
fulliautomatix#
1w0d: %ETHERNET_OAM-SP-6-RFI: The client on interface Fa4/4 has
received a remote failure indication from its remote peer(failure
reason = remote client administratively turned off)
1w0d: %PM-SP-4-ERR_DISABLE: oam-remote-failure error detected on
Fa4/4, putting Fa4/4 in err-disable state
01:18:54: %ETHERNET_OAM-SP-STDBY-6-EXIT_SESSION: The client
on interface Fa4/4 has left the OAM session.
1w0d: %ETHERNET_OAM-SP-6-EXIT_SESSION: The client on interface
Fa4/4 has left the OAM session.
01:18:55: %PM-SP-STDBY-4-ERR_DISABLE: oam-remote-failure error
detected on Fa4/4, putting Fa4/4 in err-disable state
fulliautomatix#
fulliautomatix#show int fas 4/4
FastEthernet4/4 is down, line protocol is down (err-disabled)
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 139
Ethernet OAM Commands:- Remote Fault
Indication
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 140
Ethernet OAM Commands:- Remote loopback
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 141
Ethernet OAM Commands:- Remote loopback
Ceasar#show ethernet oam summary
Symbols: * - Master Loopback State, # - Slave Loopback State
Capability codes: L - Link Monitor, R - Remote Loopback
U - Unidirection, V - Variable Retrieval
Local Remote
Interface MAC Address OUI Mode Capability
show interface counters are used to verify that traffic is looped back.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 144
OAM Inter-working
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 145
What is OAM Inter-working?
Edge Router
Edge Bridge
ATM Switch
ATM Switch
Customer
Router
Router
Router
Bridge
Bridge
Bridge
switch
switch
Customer
Bridge
Bridge
Ethernet Ethernet 10G ATM
over SONET over MPLS Ethernet RFC1483
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 146
What is OAM Inter-working?
Operator should
• Strict OAM layering A Operator
be honored: messages B
should not cross layers
Edge Router
Edge Bridge
ATM Switch
ATM Switch
• OAM Messages should not leak outside domain boundaries within a layer
Customer
Router
Router
Router
Bridge
Bridge
Bridge
switch
switch
Customer
• Inter-working is event translations & not necessarily 1:1 message mapping
Bridge
Bridge
• Inter-working may be inter-layer and intra-layer
Event Translation
Ethernet Ethernet 10G
inter-domainsATM
intra-
over SONET over MPLS Ethernet RFC1483
layer
Service OAM
Server Layers feed
events into Client
Layers
Network Network
OAM OAM
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 147
Why OAM Inter-working?
Enable management of ubiquitous Ethernet service
offerings on:
mixed media
heterogeneous networks/transports
legacy equipment
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 148
Inter-working Scenarios: CFM to E-LMI
Customer Service Provider
CE
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 149
Inter-working Scenarios: 802.3ah to CFM
Customer Service Provider
CE
CE
Transport
Layer OAM
VCCV-BFD
D-LDP
Directed-LDP & VCCV (BFD mode) running between nPEs.
D-LDP for defect notification, VCCV for defect detection
3-way I/W function at nPE
Requires CFM AIS/RDI
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 151
Inter-working Scenarios:
MPLS PW OAM to E-LMI
CE
MPLS Core
PW OAM to
CE 1 PE B PE A CE 2
E-LMI I/W
Service Layer
OAM
E-LMI E-LMI
Transport
Layer OAM
VCCV-BFD
D-LDP
Directed-LDP & VCCV (BFD mode) running between PEs.
D-LDP for defect notification, VCCV for defect detection
Defects detected/communicated by PW OAM are relayed to E-LMI via I/W function on PE.
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 152
Ethernet OAM
Summary
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 153
E-OAM Toolkit for Fault Management (1 of 5)
Fault
Fault
Detection
Detection Fault
Fault
Detection
Detection
Fault
Fault
Notification
Notification
Fault Fault
Fault Fault
Recovery Verification
Recovery Verification
Fault
Fault
Isolation
Isolation
Fault Detection
Mechanism Detectable Faults
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 154
E-OAM Toolkit for Fault Management (2 of 5)
Fault Notification
Mechanism Triggers Fault
Fault
Fault Notification
Notification Fault
Fault
Fault
Isolation
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 155
E-OAM Toolkit for Fault Management (3 of 5)
Fault Fault
Fault Fault
Detection Notification
Detection Notification
Fault
Fault
Fault
Fault Fault
Fault
Verification
Recovery Verification
Verification
Recovery Verification
Fault
Fault
Isolation
Isolation
Fault Verification
Mechanism Capability
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 156
E-OAM Toolkit for Fault Management (4 of 5)
Fault Fault
Fault Fault
Detection Notification
Detection Notification
Fault Fault
Fault Fault
Recovery Verification
Recovery Verification
Fault
Fault Fault
Fault
Isolation
Isolation
Isolation
Isolation
Fault Isolation
Mechanism Capability
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 157
E-OAM Toolkit for Fault Management (5 of 5)
Fault Fault
Fault Fault
Detection Notification
Detection Notification
Fault
Fault Fault
Fault
Fault
Fault
Recovery
Recovery Verification
Recovery
Recovery Verification
Fault
Fault
Isolation
Isolation
Fault Recovery
Mechanism Capability
Non-OAM xSTP
Mechanisms
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 158
E-OAM Toolkit for Performance Management
Frame loss measurement
Delay measurement
Delay variation (Jitter) measurement
Availability measurement
Performance Management
Mechanism Capability
Jitter Probe
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 159
E-OAM Toolkit for Configuration Management
SP Network
Access Core
Customer
Equipment
E-LMI
N-PE 1 N-PE 3 U-PE D
U-PE A MPLS CE
CE
SONET/SDH
Native
Ethernet
PW
CE N-PE 4 CE
U-PE B MPLS U-PE C
N-PE 2
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 160
Which Protocol to Use & Where?
CFM
SP Network
E-LMI Access Core
Customer
Equipment U-PE D
802.3ah
N-PE 1 N-PE 3
U-PE A MPLS CE
CE
SONET/SDH
802.3ah Native
Ethernet
PW
CE N-PE 4 CE
U-PE B MPLS U-PE C
N-PE 2
Choice of protocols, their locality & span of operation varies with network topology &
services – many variations possible
Restrictions (inherent to protocol definitions):
E-LMI on UNI (uPE to CE)
802.3ah on pt-to-pt (emulated ok) 802.3 PHY
CFM/Y.1731 require Ethernet MAC Layer awareness
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 161
Q and A
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 162
Ethernet OAM Tutorial © 2006 Cisco Systems, Inc. All rights reserved. 163