Ethernet Oam Tutorial Final v2 1362014627
Ethernet Oam Tutorial Final v2 1362014627
Santanu Dasgupta
1
Acknowledgement
Jose Liste
Sudarshan Pathalam
2
Agenda
OAM Overview
Ethernet OAM – Protocol Overview
IEEE 802.3ah – Link OAM, also known as EFM
IEEE 802.3ag – Connectivity Fault Management (CFM)
ITU Y.1731 – Fault & Performance Management
MEF E-LMI – Configuration Management
3
Operations, Administration & Maintenance
F – Fault Management
FCAPS
C – Configuration Management
A – Accounting
P – Performance Management
S – Security Management
Management Plane
N ßà S
(NMS / EMS)
Network Plane
(Elements)
W ßà E
6
Scope of Ethernet OAM
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
7
Focus Areas of Ethernet OAM
UNI UNI
Access Aggregation Edge Core Edge Aggregation Access
CE Services &
Network Infrastructure
8
Ethernet OAM
Building Blocks
Performance Fault
Management Management
Performance
Performance Fault
Management
Management Management
Configuration
LIMI
Configuration
Management
Management
E
LM- A s
E - IP SL Configuration
Management
Y.17 31
.1 a g /
802
a h
802.3
Fault
Performance
Management Management Fault
Management
Configuration
Management
MPLS
OAM
Ethernet Ethernet
Ethernet
MPLS/IP MPLS/IP MPLS/IP
Link OAM Residential
Residential
11
Link OAM (IEEE 802.3ah, Clause 57)
Provides mechanisms useful
for “monitoring link operation”, OSI Model
such as:
LAN
Link Monitoring Application
CSMA/CD
Remote Failure Indication Layers
Presentation
Remote Loopback Control Higher Layers
Defines an optional OAM sublayer Session
LLC
Intended for single point-to-point Transport
OAM (Optional)
IEEE 802.3 links
Network MAC
Uses “Slow Protocol”1
frames
called OAMPDUs which are Data Link Physical Layer
never forwarded by MAC clients
Physical
Standardized: IEEE 802.3ah,
clause 57 (now in IEEE
802.3-2005)
(1) No more than 10 frames transmitted in any one-second period
12
IEEE 802.3ah
Key Functions
OAM Discovery
Discover OAM support and capabilities per device
Link Monitoring
Basic error definitions for Ethernet so entities can detect failed and
degraded connections
Fault Signaling
Mechanisms for one entity to signal another that it has detected an error
Remote MIB Variable Retrieval
Ability to read one or more MIB variables from the remote DTE
Remote Loopback
Used to troubleshoot networks, allows one station to put the other
station into a state whereby all inbound traffic is immediately reflected
back onto the link
13
IEEE 802.3ah
OAM Events
Link events
Errored Symbol Period Event
Errored Frame Event
Errored Frame Period Event
Errored Frame Seconds Summary Event
14
IEEE 802.3ah
Remote Loopback
15
IEEE 802.1ag: Connectivity Fault
Management (CFM)
16
CFM Overview
Operator A Operator B
Service Provider
Customer
MEP MEP
MEP MEP
MEP MIP MIP MEP MEP MIP MIP MIP MIP MEP
CFM PDUs
Bridge 1 Bridge 2
Bridge Bridge Bridge Bridge
Monitored area
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 25
CFM Protocols
Loopback Protocol
Fault Verification
Linktrace Protocol
Path Discovery and Fault Isolation
Catalogue and
Catalogue Catalogue Terminate
1 2 3
Continuity Check Message
X
(CCM)
S D
MEP MIP MIP MEP
1 1 1. Loopback Message
(LBM)
2 2 2. Loopback Reply (LBR)
S 6
4 D
2
MEP MIP MIP MEP
1 3 5 1, 3, 5
X Linktrace Message (LTM)
Y 2, 4, 6
Linktrace Reply (LTR)
Without AIS, a MEP would report Loss of Continuity (LOC) for each of its
remote MEPs upon timer expiration
With AIS, if a MEP receives AIS from the network, it suppresses LOC
alarms from peer MEPs
LOC 1
LOC 3 Network outage
LOC 4 2 AIS defect 2
LOC 1
LOC 2 AIS
mpid = 1 LOC 4 mpid = 1 AIS defect
LOC 2
X 3
AIS
X AIS
3
LOC 3 AIS
LOC 4 AIS defect
4 LOC 1 4
LOC 2
LOC 3 AIS defect
NMS
AIS Defect Link
Northbound Failure
Syslogs
Customer Operator A Operator B Customer
Equipment Bridges Bridges Equipment
MEP(7)
MIP(7)
MEP(5)
MIP(5)
MEP(3) MEP(2)
MIP(3) MIP(2)
SMEP/link-status
AIS
Ethernet
Ethernet Delay Measurement Ethernet Loss Measurement Synthetic Loss
ETH-DM ETH-LM Measurement
ETH-SLM
Scope
• One-Way delay • Two-Way delay • Unidirectional frame • Unidirectional frame • Unidirectional frame
measurements measurements loss measurements loss measurements loss measurements
• Also One-Way delay • Applicable to P2P • Applicable to P2P • Applicable to P2P
when synchronized services only services only and MP services
Specifics
• 1DM PDU • DMM / DMR PDUs • LMM / LMR PDUs • CCM PDUs • SLM / SLR PDUs
• Synthetic traffic with • Synthetic traffic with • On-demand operation • Proactive operation • Based on statistical
two (2) timestamps two (2) mandatory • Based on actual • Based on actual sampling
• Need for Time-of-Day and two (2) optional Service Frame Loss Service Frame Loss • Exchange of
synchronization timestamps • Exchange of service • Exchange of service synthetic frame
frame counters frame counters counters
1DM
TxTimeStampf
0
1DM tp TxTimeStampf 1DM
RxTimeStampf
1DM
TxTimeStampf
0
tc
1DM TxTimeStampf 1DM
RxTimeStampf
D TxTimeStampf
M 0
TxTimeStampf D
M
0 DMM RxTimeStampf M
0
0
0 M
Service Frames
MEP MEP
Per-CoS
Service Frame
counters
TxFCf TxFCf
TxFCl LMM 0 LMM 0 LMM
RxFCl 0 0
tp Per-CoS
TxFCf LMR TxFCf LMR Service Frame
LMR RxFCf RxFCf counters
TxFCb TxFCb
RxFCl
LMM TxFCl
tc
LMR
Frame Loss (Far-end) Frame Loss (Near-end)
(TxFCf[tc] – TxFCf[tp]) – (RxFCf[tc] – RxFCf[tp]) (TxFCb[tc] – TxFCb[tp]) – (RxFCl[tc] – RxFCl[tp])
Synthetic Frames
MEP MEP
Per-Test ID
Synthetic Frame
counters
TxFCf TxFCf SLM
TxFCl SLM
0 SLM 0
RxFCl tp Per-Test ID
TxFCf SLR TxFCf SLR Synthetic Frame
SLR TxFCb counters
TxFCb
RxFCl
TxFCl
SLM
tc RxFCl = TxFCl
SLR at Responder
Throughput
Test Methodology
Latency
Data Plane
Loss Loopback
Jitter
Test Traffic
TG
EVC RL
Does not verify CIR, CBS, EIR, EBS and CM Device Centric All KPI measure
1 test
d in
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 51
What Is OAM Interworking?
Operator A Operator B
Edge Router
Edge Bridge
ATM Switch
ATM Switch
Strict OAM layering should be honored: messages should not cross layers
Customer
Router
Router
Router
Bridge
Bridge
Bridge
switch
Customer
switch
OAM Messages should not leak outside domain boundaries within a layer
Bridge
Bridge
Interworking is event translations & not necessarily 1:1 message mapping
Interworking may be inter-layer and intra-layer
Service OAM
L2 VPN
Customer
L2 VPN L3 CE
EVC NID /
Customer
Access /
L3 CE
Demarcation Device
EVC
Shadow
Router NID
Optional
L2 VPN
Customer
L3 CE
Distribution
Router
Ethernet Service Provider
SAE 4G
GW
EVC Demarc
RNC 3G Probe
(Optional)
eNodeB (4G) Cell Site Demarc EVC Demarc
NodeB (3G) Router BSC 2G
BTS (2G)
Distribution
Router
eNode B = Enhanced Node B MTSO = Mobile Telephone Switching Office EVC = Ethernet Virtual Circuit
SAE GW = System Arch Evolution GW BTS = Base Transceiver Station NID = Network Interface De`vice
RNC = Radio Network Controller BSC = Base Station Controller = CFM Maintenance Association End Point (MEP)
VRF
Internet
L3 VPN
Customer EVC Aggregator L3 PE
Demarc Device IP / MPLS Core
Managed NID EVC
L3 CE
Shadow
G.SHDSL Router
DSLAM Optional
Managed
L3 CE
Retail ISP
Wholesale SP
subscribers
L2 VPN
Customer
Ethernet NID /
Cable MSO Cable MSO
(HFC) Service Provider Demarcation
(HFC)
EVC
L2 VPN NID /
Customer Demarcation
L2 VPN
Customer
Customer
Ethernet Service Provider
Ethernet NID /
Ethernet
NID / Transport Or MPLS Core Demarcation
Demarcation Ethernet
Transport
Customer NID /
Demarcation
Customer
ip = X ip = W
Managed mac = A mac = B
CPE L3 PE
A,B
X,Y
L3
Loopback
Hardware-accelerated (no CPU intervention)
Ethernet
Data-plane IPv4/IPv6-aware Loopback
Loopback
Configurable source IPv4/IPv6 of packets to loop
IP address swap (implicit MAC swap)
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 62
High Level Topology
Cisco
3800 L3 VPN
MPLS
“A”
Core
L3 VPN
“B”
Catalyst
3750-ME
CFM
Ethernet access to
IEEE 802.1ag
L2VPN P2P / MP MPLS VPN (EoMPLS)
(EoMPLS / VPLS)
MPLS
E-LMI
Aggregation
Cisco
7600 Access
Cisco
Cisco ME-3400
1800 Cisco
Link OAM
2800
IEEE 802.3ah
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Fault Management Scenarios
Number Description
1 End-to-End Service/Path Verification
Fault Verification/Isolation
2 Using E-OAM for Ethernet Access to L3VPN
3 E2E CPE Fault Notification & CPE Corrective Action
using Ethernet OAM Interworking
Service Provider
Domain
Operator Domain
Service Provider
Domain
Operator Domain
MPLS Core
Ethernet uPE11#traceroute ethernet 0012.017c.3d00 level 4Ethernet
vlan 100
Type escape sequence to abort. TTL 255. Per-Hop Timeout is 10 seconds
Access
Access Tracing the route to 0012.017c.3d00 on Domain PROVIDER_DOMAIN, Level 4, vlan 100
Traceroute sent via GigabitEthernet0/16
CE 11 uPE 11 PE-Agg nPE 11 nPE 31 uPE 31
CE 31
Customer
--------------------------------------------------------------------------------
MAC Ingress Ingress Action Relay Domain
Action
Hops Host Forwarded Egress Egress Action Next Hop
Service Provider
--------------------------------------------------------------------------------
B 1 nPE11 0013.5f21.cec5 Gi3/1 IngOk Domain
RlyCCDB
Forwarded
B 2 nPE31 0007.8508.3485 RlyFDB
Forwarded Gi3/1 EgrOK uPE31
Operator Domain
! 3 uPE31 0012.017c.3d00 Gi1/1/1 IngOk RlyNone
Not Forwarded
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 67
Operational Scenario 1 (cont.)
Problem Statement
Fault Verification and Fault Isolation of ethernet connectivity issues
Problem Solution
IEEE 802.1ag (CFM) Ping and Traceroute utilities for reactive
troubleshooting of service connectivity issues
nPE31(config)#int gig3/1
Customer Service Provider nPE31(config-if)#shutdown
uPE11 nPE11 nPE31 uPE31
X
Access Access
Fault Notification uPE11#traceroute ethernet 0012.017c.3d00 level 4 vlan 100
CE 11 uPE 11 PE-Agg
Type nPE 11 sequence
escape nPE Timeout
to abort. TTL 255. Per-Hop 31 is 10uPE 31
seconds CE 31
Customer
Tracing the route to 0012.017c.3d00 on Domain PROVIDER_DOMAIN, Level 4, vlan 100
Reactive Traceroute sent via GigabitEthernet0/16
Domain
Fault Isolation --------------------------------------------------------------------------------
MAC Ingress Ingress Action Relay ActionService Provider
Hops Host Forwarded Egress Egress Action Next Hop Domain
--------------------------------------------------------------------------------
B 1 nPE11 0013.5f21.cec5 Gi3/1 IngOk RlyCCDB
Forwarded
B 2 nPE31 0007.8508.3485 RlyCCDB Operator Domain
Not Forwarded Gi3/1 EgrDown
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 68
Operational Scenario 2
Problem Statement
Troubleshooting Ethernet access connectivity problems by L3VPN PE
Problem Solution
IEEE 802.1ag CFM with Outward-facing / Down MEPs at L3VPN PE
Ethernet MPLS
Access Aggregation
Service Provider
Domain
Operator Domain
MPID Level Mac Address Vlan PortState InGressPort Age(sec) Service ID Operator Domain
3350* 4 0012.017c.3d00 350 UP Gi3/0/0.350 20 customer_350_provider
2451* 4 0019.552c.0b80 450 UP Gi3/0/0.450 23 customer_450_provider
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 70
Operational Scenario 3
Problem Statement
End to End Fault Notification of service status to Customer Equipment
Problem Solution
IEEE 802.3ah to IEEE 802.1ag (CFM) Inter-Working (IW) for
propagation of EVC status and CFM to E-LMI IW for notification to CE
Customer Service Provider
Service Provider
Domain
Operator Domain
Service Provider
Domain
Operator Domain
Jan 26 03:40:08.176: %ETHERNET_OAM-6-RFI: The client on interface Fa1/0/1 has received a remote failure
Indication from its remote peer (failure reason = remote client administratively turned off)
Ethernet MPLS Core Ethernet
Access
Jan 26 03:40:08.184: %ETHER_SERVICE-6-EVC_STATUS_CHANGED: status of EVC_P2P_100 Access
changed to InActive
Jan 26 03:40:09.191: %ETHERNET_OAM-6-EXIT_SESSION: The client on interface Fa1/0/1 has left the OAM session.
CE 11 uPE 11 PE-Agg nPE 11 nPE 31 uPE 31 CE 31
uPE31#show ethernet service evc Customer
Identifier Type Act-UNI-cnt Status Domain
EVC_P2P_100 P-P 1 InActive
Key: St=Status,
© 2009A=Active, P=Partially
Cisco Systems, Inc. All rights reserved. Active, I=Inactive, *=Default EVC, ?=Link Down
Cisco Public 74
Operational Scenario 3 (cont.)
Problem Statement
End to End Fault Notification of service status to Customer Equipment
Problem Solution
IEEE 802.3ah to IEEE 802.1ag (CFM) Inter-Working (IW) for
propagation of EVC status and CFM to E-LMI IW for notification to CE
Customer 4 3 Service Provider 2 1
Ethernet
uPE11#show ethernet MPLS Core
cfm maintenance-point remote Ethernet
Access Vlan PortState InGressPort
MPID Level Mac Address Age(sec) ServiceAccess
ID
3100 4 0012.017c.3d00 100 DOWN Gi0/16 21 customer_100_provider
CE 11 uPE 11 PE-Agg nPE 11 nPE 31 uPE 31 CE 31
uPE11#show ethernet service evc Customer
Identifier Type Act-UNI-cnt Status Domain
EVC_P2P_100 P-P 1 InActive
ServiceDown
Key: St=Status, A=Active, P=Partially Active, I=Inactive, *=Default EVC, ?=Link Provider
Domain
Proactive CPE CE11#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Action <snip> Operator Domain
GigabitEthernet0/0.100 100.100.100.11 YES manual down down
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Summary