ieee 802.1ag ethernet oam - surf · pdf fileieee 802.1ag ethernet oam ronald van der pol...

18
IEEE 802.1ag Ethernet OAM Ronald van der Pol [email protected] SARA [email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Upload: trancong

Post on 04-Mar-2018

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

IEEE 802.1ag Ethernet OAM

Ronald van der Pol [email protected]

SARA

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 2: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Outline

!   IEEE 802.1ag protocol !   Open Source implementation of 802.1ag !   Examples and use cases

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 3: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

IEEE 802.1ag standard

!   Part of Ethernet Operations, Administration & Maintenance !   IEEE 802.1ag is used for Connectivity Fault Management !   CFM protocol at Ethernet layer

!   Uses Ethernet frames (ethertype 0x8902) !   No IPv4 or IPv6 involved !   Confined to one broadcast domain

!   Useful for multi-domain Ethernet networks !   Implemented on Ethernet switches and router Ethernet

interfaces

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 4: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

802.1ag Concepts

!   Ethernet network split into Maintenance Domains !   802.1ag frames run at a certain Maintence Domain Level !   Maintenance Points send and process 802.1ag frames

!   Maintenance End Points (MEPs) !   Maintenance Intermediate Points (MIPs)

!   MEPs and MIPs only interact at the same MD Level !   Interfaces can be a MEP at one level and a MIP at another

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 5: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

IEEE 802.1ag OAM Types

!   Continuity Check (CC) !   Detect loss of connectivity !   Periodic hello messages from MEPs !   Processed by MEPs !   CC frames sent to multicast group, no replies are sent

!   Loopback Message/Reply (LBM/LBR) !   Check for reachability !   Sent manually from MEPs via CLI !   Processed by MIPs/MEPs !   Unicast request, unicast reply

!   Link Trace Message/Reply (LTM/LTR) !   Path information !   Sent manually from MEPs via CLI !   Processed by MIPs/MEPs in path !   Multicast request including TTL, unicast replies

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 6: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Continuity Check Messages

!   Periodic hello messages, supported intervals: !   3.33 ms, 10 ms, 100 ms, 1 s, 10 s, 1 min, 10 min

!   Maintenance Association with 2 or more MEPs !   No replies sent, only listen to associated MEPs

!   Same Maintenance Association !   Same Maintenance Domain Name !   Same Maintenance Domain Level

!   Failure detection when missing 3 consecutive messages

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 7: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

802.1ag MEPs and MIPs

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

MD level 7

MD level 5

MD level 0

MIP

MEP

switch/router Ethernetswitch

Ethernetswitch

Ethernetswitch

Ethernetswitch switch/router

Maintenance Domain Levels

MD level 3

Page 8: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Maintenance Domain Levels

Maintenance Domain 7

Maintenance Domain 5

Maintenance Domain 0

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 9: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

What are the dot1ag-utils?

!   Open Source implementation of IEEE 802.1ag !   Simplified BSD License !   Supported on Arista, FreeBSD, Linux and MacOSX !   User space implementation !   Work In Progress

!   Powerful debugging tool for Ethernet based lightpaths, VPNs, etc.

!   No need to configure IP addresses on each VLAN on switches

!   Ping to Ethernet MAC addresses of routers and switches !   You only need a server and install the software on it

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 10: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Dot1ag-utils tools

!   ethping: send Loopback Messages (LBM) !   ethtrace: send Linke Trace Messages (LTM) !   dot1agd: daemon that responds to LBM and LTM

messages !   Dot1ag_ccd: daemon that periodically sends Continuity

Check Messages (CCMs) and processes CCMs from other MEPs

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 11: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Release Schedule

!   1.0.0-BETA1 available since May 31 2011, looking for: !   Code reviewers !   Beta testers with FreeBSD, Linux or MacOSX servers !   Beta testers with 802.1ag routers and switches

!   First release in Summer 2011

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 12: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Current Status (2011/06/07)

!   Ethping (works and interoperates with Cisco, Juniper and Nortel MERS)

!   Ethtrace (works and interoperates with Cisco, Juniper and Nortel MERS)

!   Dot1agd (works and interoperates with Cisco, Juniper and Nortel MERS)

!   Dotag_ccd: Work in progress, minimal implementation; sends CCMs every second, parses received CCMs

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

Page 13: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

ethping demo

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

root@donder:~# ethping -i eth5 -v 123 -l 7 -c 10 00:1b:c0:97:38:c6 CFM LBM to 00:1b:c0:97:38:c6 60 bytes from 00:1b:c0:97:38:c6, sequence 477635892, 0.839 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635893, 0.872 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635894, 0.817 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635895, 0.829 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635896, 0.851 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635897, 0.718 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635898, 0.713 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635899, 0.917 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635900, 0.731 ms 60 bytes from 00:1b:c0:97:38:c6, sequence 477635901, 0.713 ms root@donder:~#

Juniperrouter

CienaEthernetswitch

Linux server"donder"

00:1b:c0:97:38:c6

00:14:0d:0b:10:c4

00:14:0d:0b:11:10

00:14:0d:0b:10:c0 00:14:0d:0b:10:c1

MEP MIP

Page 14: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

ethtrace demo

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

root@donder:~# ethtrace -i eth5 -v 123 -l 7 00:1b:c0:97:38:c6 Sending CFM LTM probe to 00:1b:c0:97:38:c6 ttl 1: LTM with id 1784875395

reply from 00:14:0d:0b:10:c1, id=1784875395, ttl=0, RlyFDB ttl 2: LTM with id 1784875396

reply from 00:14:0d:0b:10:c4, id=1784875396, ttl=0, RlyFDB reply from 00:14:0d:0b:10:c1, id=1784875396, ttl=1, RlyFDB

ttl 3: LTM with id 1784875397 reply from 00:14:0d:0b:10:c4, id=1784875397, ttl=1, RlyFDB reply from 00:14:0d:0b:10:c1, id=1784875397, ttl=2, RlyFDB reply from 00:1b:c0:97:38:c6, id=1784875397, ttl=0, RlyHit

root@donder:~#

Juniperrouter

CienaEthernetswitch

Linux server"donder"

00:1b:c0:97:38:c6

00:14:0d:0b:10:c4

00:14:0d:0b:11:10

00:14:0d:0b:10:c0 00:14:0d:0b:10:c1

MEP MIP

Page 15: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Juniperrouter

CienaEthernetswitch

00:1b:c0:97:38:c6

00:14:0d:0b:10:c4

00:14:0d:0b:11:10

00:14:0d:0b:10:c0 00:14:0d:0b:10:c1

MEP MIP

dot1ag-utils daemon00:1C:73:08:11:84

AristaEthernetswitch

Linux server"donder"

LBM from Juniper to Arista

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

--- JUNOS 10.3I built 2011-04-05 18:23:14 UTC rvdp@re0-ed> ...ntenance-association test 00:1C:73:08:11:84 PING to 00:1c:73:08:11:84, Interface ge-0/3/9.123 64 bytes from 00:1c:73:08:11:84: lbm_seq=81 64 bytes from 00:1c:73:08:11:84: lbm_seq=82 64 bytes from 00:1c:73:08:11:84: lbm_seq=83 64 bytes from 00:1c:73:08:11:84: lbm_seq=84 --- ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss rvdp@re0-ed>

Page 16: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

serverArista

Ethernetswitch

dot1ag-utils daemon00:1C:73:08:11:84

AristaEthernetswitch

Linux server"donder"NetherLightStarLight

dot1ag-utils daemon00:1c:73:08:09:80

Northwestern University SARA

ethping Amsterdam to Chicago

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

donder# ethping -i eth5 -v 400 -l 7 00:1c:73:08:09:80 Sending CFM LBM to 00:1c:73:08:09:80 60 bytes from 00:1c:73:08:09:80, sequence 1114864898, 103.453 ms 60 bytes from 00:1c:73:08:09:80, sequence 1114864899, 103.432 ms 60 bytes from 00:1c:73:08:09:80, sequence 1114864900, 103.439 ms 60 bytes from 00:1c:73:08:09:80, sequence 1114864901, 103.455 ms 60 bytes from 00:1c:73:08:09:80, sequence 1114864902, 103.455 ms #

Page 17: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

Server as Proxy for Switch

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland

switch

dot1agddaemon

switch

switchswitch

Juniper

v1, v2

v1 v2, v3

v3

v1, v2, v3

Page 18: IEEE 802.1ag Ethernet OAM - SURF · PDF fileIEEE 802.1ag Ethernet OAM Ronald van der Pol rvdp@sara.nl SARA NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland rvdp@sara.nl

More Information

!   Mail to [email protected] or [email protected] ! http://nrg.sara.nl/dot1ag-utils !   Subscribe to mailman mailing list

[email protected] NORDUnet Conference, 7-9 June 2011, Reykjavik, Iceland