ieee 802.1ah basics

17
IEEE 802.1ah Basics (Provider Backbone Bridges) Ronald van der Pol [email protected] SARA

Upload: others

Post on 02-Jan-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IEEE 802.1ah Basics

IEEE 802.1ah Basics (Provider Backbone Bridges)

Ronald van der Pol [email protected]

SARA

Page 2: IEEE 802.1ah Basics

Overview

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 2/17

!   Advantages of IEEE 802.1ah !   Ethernet Evolution (1Q à 1ad à 1ah)

(VLANS à Q-in-Q à mac-in-mac) !   Frame Formats !   IEEE 802.1ah functionality !   Ethernet OAM (IEEE 802.1ag)

Page 3: IEEE 802.1ah Basics

Advantages of IEEE 802.1ah

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 3/17

!   Separation between carrier and customer VLANs !   MAC address separation between provider and customer !   Learning of customer MAC addresses limited to edge ports !   Support for more simultaneous services than with VLANs

!   I-SIDs provide 2^20 services instead of 4K VLANs !   VLAN remapping

Page 4: IEEE 802.1ah Basics

Ethernet Evolution

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 4/17

!   802.1Q: introduction of VLAN tags !   802.1ad: introduction of S-tag and C-tag

!   Also called Q-in-Q !   Inner tag: customer tag !   Outer tag: service tag !   Customer frames encapsulated with service tag !   Still limited to 4096 services !   Still all customer MAC addresses in backbone bridges

!   802.1ah: introduction of I-SID !   Also called Provider Backbone Bridges (PBB) !   Also called mac-in-mac !   20 bit I-SID service identifier !   Supports 2^20 services via I-SID !   Customer MAC addresses learned at edge ports only

Page 5: IEEE 802.1ah Basics

Frame Formats

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 5/17

Page 6: IEEE 802.1ah Basics

Typical 802.1ah Network

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 6/17

Page 7: IEEE 802.1ah Basics

802.1ah Functionality

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 7/17

!   For each service an I-SID is configured on the switch !   Each I-SID is associated with two or more physical ports !   Traffic on a port can be tagged or untagged !   Mapping to I-SID can be based on 802.1Q or 802.1ad tags !   Mapping of 802.1ad tags on:

!   Outer tag only !   Both inner and outer tag

!   Ports in the same I-SID can have different mappings !   Combination of tagged and untagged !   Multiple tags over the same I-SID !   Different tags (tag re-mapping)

!   Each port can be associated with multiple I-SIDs (services)

Page 8: IEEE 802.1ah Basics

Supported Services in 802.1ah

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 8/17

I-SID 1

I-SID 2

I-SID 3

I-SID 4

tag A

untagged

tag A

tag B

tag Btag C

tag Dtag E

tag E

IEEE 802.1ahEthernet switch

Page 9: IEEE 802.1ah Basics

More Services

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 9/17

I-SID 1

I-SID 2

tag A,B

tag C

tag A,B

tag C,D,E,F

I-SID 3

tag DI-SID 4

tag E,F

tag E,F

IEEE 802.1ahEthernet switch

Page 10: IEEE 802.1ah Basics

Ethernet OAM / IEEE 802.1ag

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]>

!   Terminology !   Operations, Administration and Maintenance (OAM) !   Connectivity Fault management (CFM) !   Maintenance Domain & Maintenance Level (0-7) !   Maintenance End Point (MEP) !   Maintenance Intermediate Point (MIP)

!   OAM types !   CC: Continuity Check (“hello”) !   LBM/LBR: Loopback Message/Reply (“L2 ping”) !   LTM/LTR Link Trace Message/Reply (“L2 traceroute”)

!   Normal Ethernet frames, ethertype 0x8902 !   Bridges that do not support 802.1ag should forward them

like other frames !   Usually configured per VLAN

10/17

Page 11: IEEE 802.1ah Basics

802.1ag MEPs and MIPs

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]>

customer ISP ISP ISP ISP customer

MD level 7

MD level 5

MD level 0

MIP

MEP

11/17

Page 12: IEEE 802.1ah Basics

OAM Types

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]>

!   Continuity Check (CC) !   Periodic hello messages !   Detect loss of connectivity !   Sent by MEP (multicast), processed by MEPs

!   L2 Ping (LBM/LBR) !   Sent manually from CLI !   Unicast request, unicast reply !   Source MEP, destination MEP/MIP

!   L2 Traceroute (LTM/LTR) !   Sent manually from CLI !   Multicast request, unicast replies !   All MIPs in the path reply, until reply from destination MEP

12/17

Page 13: IEEE 802.1ah Basics

What are Linux 802.1ag Utils?

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 13/17

!   Implementation of IEEE 802.1ag on Linux !   L2 ping (LBM) client !   L2 traceroute (LTM) client !   Daemon sending CC and answering LBM and LTM probes

!   Open Source (BSD License) !   User space implementation (raw Ethernet sockets) !   Work In Progress

Page 14: IEEE 802.1ah Basics

L2 ping example

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 14/17

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

root@donder:~# l2ping -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:~#

Page 15: IEEE 802.1ah Basics

L2 trace example

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 15/17

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

I do not understand this Ciena behaviour yet root@donder:~# l2trace -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:~#

Page 16: IEEE 802.1ah Basics

Implementation status

Autgole Telconf, 24 March 2011 Ronald van der Pol <[email protected]> 16/17

LBM (L2 ping) alpha LTM (L2 trace) alpha Daemon (CC, LBR, LTR) Not yet started

  Beta release planned in May 2011   First release planned in Summer 2011   Also looking at porting to BSD

  Looking for testers   Testing with 802.1ag capable switches   Testing with PC connected to non 802.1ag switch

  Please contact me: [email protected]

Page 17: IEEE 802.1ah Basics

Thank You Ronald van der Pol

SARA [email protected]