y.1731 i y - proidea · itu-t y.1731 ! rekomendacja itu ... ip sla 2 service-performance type...
TRANSCRIPT
CCIE #20050 RS, SP
Y.1731 i Y.1564 Opis + demonstracja mechanizmów pomiaru na urządzeniach sieciowych
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 2
GEN PKT CPU
Pętla Ethernet
Carrier Ethernet Ethernet / MPLS
MEP MEP Y.1731 PM
Konfigurowalne profile ruchu
Pomiaru ruchu z QoS
Pomiary wydajności
Pomiary Opóźnień / Jitter
Y.1731 PM
Profil ruchu
Pętle Ethernetowe RFC2544 vs. Y.1564
Pomiary wydajności na routerach Cisco
Generator pakietów
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 3
Plan demonstracji
§ Y.1731 PM – Wstęp do technologii
§ Y.1564 – Wstęp do technologii
§ Demonstracja na urządzeniach ASR901
§ Podsumowanie
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 5
ITU-T Y.1731
§ Rekomendacja ITU-T dla funkcjonalności OAM w sieciach Ethernet. Definicje:
Mechanizmy Fault Management
Mechanizmy Performance Management
§ Ratyfikowane przez ITU-T SG 13 w maju 2006 [ITU-T Y.1731 (2008)] – opublikowane po standardyzacji IEEE 802.1ag
[ITU-T Y.1731 (2008) Amend.1] – Załącznik z czerwca 2010
[ITU-T G.8013/Y.1731 (07/2011)] – Wstępna publikacja
§ Format ramek (adresy Multicast, Ethertype, wspólne pola OAM PDU) oraz bazowa funkcjonalność jest tożsama między IEEE 802.1ag i Y.1731
Fault Management
Performance Management
Detection
Verification
Isolation
Notification
Delay
Loss
ITU-T Y.1731
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 6
ITU-T Y.1731 – funkcje OAM
§ OAM definiowane w sekcji Fault Management
Ethernet Continuity Check (ETH-CC)
Ethernet Loopback (ETH-LB)
Ethernet Linktrace (ETH-LT)
Ethernet Remote Defect Indication (ETH-RDI)
Ethernet Alarm Indication Signal (ETH-AIS)
Ethernet Locked Signal (ETH-LCK)
Ethernet Client Signal Fail (ETH-CSF)
Dodatkowo: ETH-TEST, ETH-APS, ETH-MCC, ETH-EXP, ETH-VSP
§ OAM definiowane w sekcji Performance Management
Frame Loss Measurement (ETH-LM)
Synthetic Frame Loss Measurement (ETH-SLM)
Frame Delay Measurement (ETH-DM)
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 7
ITU-T Y.1731 vs. IEEE 802.1ag CFM Kody OAM PDU
OpCode OAM PDU ITU-T Y.1731
IEEE 802.1ag
1 CCM √ √
2 LBR √ √
3 LBM √ √
4 LTR √ √
5 LTM √ √
33 AIS √ --
35 LCK √ --
37 TST √ --
39 Linear APS √ --
40 Ring APS √ --
41 MCC √ --
42 LMR √ --
43 LMM √ --
OpCode OAM PDU ITU-T Y.1731
IEEE 802.1ag
45 1DM √ --
46 DMR √ --
47 DMM √ --
48 EXR √ --
49 EXM √ --
50 VSR √ --
51 VSM √ --
52 CSF √ --
54 SLR √ --
55 SLM √ --
32,34,36,38, 44,53,56-63
Reserved ITU-T √ --
0, 6-31, 64-255
Reserved IEEE -- √
Tożsame OAM PDU OpCode dla CFM i Y.1731
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 8
Single-Ended ETH-SLM
• Jednokierunkowy pomiar strat
• Usługi P2P i MP
• SLM / SLR PDU • Pomiar statystyczny • Wymiana liczników
ramek “syntetycznych”
Ethernet Synthetic Loss Measurement ETH-SLM
PM
Dual-Ended ETH-LM
Single-Ended ETH-LM
Ethernet Loss Measurement ETH-LM
• Jednokierunkowy pomiar strat
• Tylko usługi P2P
• LMM / LMR PDU • Pomiar na żądanie • Bazuje na faktycznej
stracie ramek usługi • Wymiana liczników
ramek usługi
• Jednokierunkowy pomiar strat
• Tylko usługi P2P
• CCM PDU • Pomiary w tle • Bazuje na faktycznej
stracie ramek usługi • Wymiana liczników
ramek usługi
Ethernet Delay Measurement ETH-DM
One-Way ETH-DM
Two-Way ETH-DM
• Jednokierunkowy pomiar opóźnień
• 1DM PDU • Ruch “syntetyczny”, 2
znaczniki czasowe • Synchronizacja Time-
Of-Day
• Dwukierunkowy pomiar opóźnień
• + jednokierunkowy jeśli urządzenia są zsynchronizowane
• DMM / DMR PDU • Ruch “syntetyczny” z
2 znacznikami czasowymi obowiązkowymi i 2 opcjonalnymi
ITU-T Y.1731 Performance Management
Zakres funkcjonalny
Specyfikacje
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 9
Y.1731 – Maintanance Entity Group (MEG)
§ Monitorowanie łączności pomiędzy punktami usługi § Definiowane jako zbiór MEG End Point § Identyfikowane jako MEGID § Określa zakres pomiaru dla usługi
CE CE Operator A Operator B
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 10
Y.1731 – MEG End Point
§ Maintenance Entity Group End Point (MEP) § Zakreśla granice MEG § Umożliwia wykrywanie awarii łączności między parą MEPów § Część MEG indentyfikowana przez MEPID (1-8191) § Może wysyłać I odpowiadać na Continuity Check Message PDU
CE CE Operator A Operator B
MEP MEP
MEP MEP
MEP MEP MEP MEP
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 12
Dostępne standardy: • ITU-T Y.1564 • ITU-T Y.1731 • IEEE 802.1ag Connectivity Fault Management • RFC2544 • MEF SAT • Standard Based MPLS Performance Management (RFC6374) • Cisco IP SLA Framework
Rodzaje pomiarów: • Straty pakietów • Pomiar opóźnień / zmienności opóźnień • Pomiar wydajności łącza / usługi • Zachowanie poprawnej kolejności nadchodzących pakietów
Tryby: • ‘In Service” – uruchamiane w tle działającej usługi • “Out of Service” – przerywające działanie usługi, uruchamiane przy wdrożeniu
Metodologie pomiarów
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 13
GEN PKT CPU
Pętla Ethernet
Carrier Ethernet Ethernet / MPLS
MAC MAC Y.1564
Profil ruchu
Pomiary wydajności na routerach Cisco
• Y.1564 – nadzbiór w stosunku do RFC2544 • Wraz z Y.1731 pokrywa wszystkie testy RFC2544 • Pomiary jednokierunkowe • Wymaga pętli Ethernet po drugiej stronie • Rozdzielczość testu z dokładnością do usługi warstwy 2 (np. VLAN, L2VPN) • Funkcjonalność inwazyjna dla uruchomionej usługi warstwy 2 • Brak wpływu na inne usługi
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 14
Ethernet Loopback – pętle Ethernetowe
Funkcjonalność: IEEE 802.1ag / Y.1731 Loopback
IEEE 802.3ah Remote
Loopback Ethernet Data-
Plane Loopback
Uruchamianie CLI CLI / In-Band (OAMPDUs) sygnałem od Master NE CLI
Rozdzielczość pętli Per-Port / Per-VLAN (w
zależności od ustawień węzła testującego)
Per-Port Per-Port / Per-VLAN
Wpływ na usługę In-Service, Out-of-Service Out-of-Service Out-of-Service
Rodzaj zapętlanych ramek Ramki OAM (LBM/LBR) Ramki danych Ramki danych
Zamiana adresów MAC: TAK NIE TAK
Kierunek pętli (“Facility” – w górę sieci, “Terminal” – przejście przez urządzenie)
Zgodne z MEPem: “Facility” / “Terminal” (odpowiednio dla
down / up mep) Facility Konfigurowalne (“Facility” /
“Terminal”)
Link-local / Multihop? Single-Hop lub Multi-Hop Single-Hop Single-Hop lub Multi-Hop
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 15
Pomiary wydajności – pętla Ethernet
§ Wszystkie ramki ethernetowe są zapętlane przez zmianę adresów MAC SRC <-> DST
§ Przypadki użycia: Uruchamianie usługi Diagnozowanie problemów Przedwdrożeniowe testy wydajności
§ Konfigurowane przez CLI
§ Dwa tryby: Facility Loopback (odbija ruch w górę sieci) Terminal Loopback (przechodzi przez węzeł)
§ Umożliwia przeprowadzanie testów z jednej lokalizacji centralnej rozpoczynającej / będącej częścią usługi L2VPN
UNI CPE
Centralny generator pakietów
Sieć Carrier Ethernet
NNI Facility Loopback
Terminal Loopback
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 17
Topologia
service instance 2 – Y.1564
service instance 551 – SLM service instance 51 – DMM
Gig0/0 Gig0/0
ASR901_UP ASR901_DOWN
Pętla ethernetowa na service instance 2
Y.1731 MEP 512 MEP 511
§ Konfiguracja #1 – Y.1564 – test usługi 1GE
§ Konfiguracja #2 – Y.1731 – test opóźnień usługi 1GE
§ Konfiguracja #3 – Y.1731 – test strat pakietów usługi 1GE
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 18
Podsumowanie
§ Y.1564 i Y.1731 PM – testy podobne do RFC2544 na zakupionych urządzeniach;
• Y.1564 – pomiar wydajności łącza, dostosowane pakiety, QoS;
• Y.1731 PM – pomiar strat pakietów (LMM, SLM), pomiar opóźnień, zmienności opóźnień (1DM, DMM);
• Rozdzielczość per usługa L2, per port;
§ Możliwość wykonywania pomiarów in-service i out-of-service z centralnej lokalizacji – brak konieczności transportu dedykowanego sprzętu pomiarowego;
§ Sprzęt pomiarowy w cenie nabywanego urządzenia;
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 19
Dziękuję za uwagę!
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 20
Przykładowe konfiguracje – ASR901_UP
ethernet cfm ieee ethernet cfm global ethernet cfm domain Y1731 level 5 service TEST evc EVC vlan 51 direction down continuity-check ! ethernet evc EVC ! interface GigabitEthernet0/0 no ip address negotiation auto service instance 1 ethernet encapsulation dot1q 100 second-dot1q 1000 rewrite ingress tag pop 1 symmetric bridge-domain 100 ! service instance 2 ethernet encapsulation dot1q 50 rewrite ingress tag pop 1 symmetric bridge-domain 50 ! service instance 51 ethernet EVC encapsulation dot1q 51 bridge-domain 51 cfm mep domain Y1731 mpid 512 ! !
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 21
Przykładowe konfiguracje – ASR901_UP
ip sla 2 service-performance type ethernet dest-mac-addr 4403.a70c.53b0 interface GigabitEthernet0/0 service instance 2 frequency iteration 10 delay 10 measurement-type direction external loss throughput profile packet outer-cos 7 outer-vlan 50 packet-size 512 src-mac-addr 4403.a70c.4ac8 profile traffic direction external rate-step kbps 100000 200000 300000 400000 500000 600000 700000 800000 900000 1000000 ip sla schedule 2 start-time now ip sla 51 ethernet y1731 delay DMM domain Y1731 evc EVC mpid 511 cos 0 source mpid 512 ip sla schedule 51 start-time now ip sla 551 ethernet y1731 loss SLM domain Y1731 evc EVC mpid 511 cos 0 source mpid 512 ip sla schedule 551 start-time now !
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public PLNOG 10/2013 22
Przykładowe konfiguracje – ASR901_DOWN
ethernet cfm ieee ethernet cfm global ethernet cfm domain Y1731 level 5 service TEST evc EVC vlan 51 direction down continuity-check ! ethernet evc EVC ! interface GigabitEthernet0/0 no ip address negotiation auto service instance 1 ethernet encapsulation dot1q 100 second-dot1q 1000 rewrite ingress tag pop 1 symmetric bridge-domain 100 ! service instance 2 ethernet encapsulation dot1q 50 rewrite ingress tag pop 1 symmetric bridge-domain 50 ! service instance 51 ethernet EVC encapsulation dot1q 51 bridge-domain 51 cfm mep domain Y1731 mpid 511 dmm responder hardware timestamp ! !