brkdct-1927 - bridging in the data center with or without spanning tree

55
7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 1/55 BRKDCT-2927_c2 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Bridging in the Data Center With or Without Spanning Tree BRKDCT-2927

Upload: ethicalhacker-cracker

Post on 03-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 1/55

BRKDCT-2927_c2 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 1

Bridging in the Data Center With or Without Spanning Tree

BRKDCT-2927

Page 2: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 2/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 2

Overview

Transparent bridging data plane

Spanning Tree Protocol (control plane)

How it works, how it fails

Stability features

 Application to DC design

Future of bridging

Page 3: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 3/55

BRKDCT-2927_c2 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 3

Transparent Bridging

Data Plane

Page 4: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 4/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 4

Ethernet

Physical Layer 

coax cable, repeater, hubs

Broadcast medium

 Any frame seen by the whole LAN, unmodified

Plug and play (literally!)No cooperation expected from the host

Protocols were developed with Ethernet behavior in mind

Set the Expectations…

Page 5: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 5/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 5

Transparent Bridging

Layer 2:

Terminate Layer 1Can take decisions based on frame content

Transparent to Ethernet clients implies:

Create a broadcast domain

Forward frames unmodified

Be plug and play

Looks Like Ethernet for End Devices

Page 6: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 6/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 6

Bridges Segment the Collision Domain

repeater 

By Terminating Layer 1

B CA

B CA

bridge: less collisions, full-duplex possible

Page 7: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 7/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 7

Bridges Filter Frames

Bridges learn MAC addresses independently

Build a filtering database (not a routing table!)

Increase overall bandwidth available

By Taking Decisions Based On Frame Content

B CA

 A,B C

Dst: B

Page 8: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 8/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 8

Why Not a Routing Table?

Frames with unknown destinationaddress *must* be flooded

=> need support for flooding

There is no cooperation from the hosts

No hierarchy in the MAC addressesNo subnet

Only host routes would be possible => not scalable

Page 9: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 9/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 9

Extreme Hierarchical Network Example

Routers: 3 summary routes per devices

Bridges: 4 billion host routes per devices

4 Billion Hosts

   3   2 

   “   l  a  y  e  r  s   ”

It might beacceptable tohave 4 billionroutes here…

But not here

Page 10: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 10/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 10

Forwarding Decision

Routing:

If an entry exists in the forwarding table, forward

Else, drop

Bridging:

If an entry exists in the filtering database, drop

Else, flood

Fundamental Difference Between Routing and Bridging

optimization

Page 11: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 11/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 11

No Routing Table… Consequences

Routing: Notion of location associated to addresses

Equal Cost Multipathing (ECMP),

Reverse Path Forwarding Check (RPFC)

B

Bridging: flooding requires a tree

B

A

A

To BTo A

R1 R2

B1 B2

Page 12: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 12/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 12

Bridgingloop

Failure domain ≈ bridging domain

Failure to Provide a Tree Is Catastrophic

 A loop will result in network wide flooding

Can have an impact on CPU (low end platforms)

No Time To Live (TTL) field in frames

Page 13: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 13/55© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 13

So Why Bridging?

Some protocols require it

IP uses it: subnet concept linked to Layer 2

172.28.192.1 .2 .3 .4

Page 14: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 14/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 14

Extend a Subnet across Devices

For port density (not enough port on device)

For provisioning flexibility (add devices withoutchanging L3 network configuration)

For redundancy (NIC teaming)

Virtual machine mobility

.6 .7 .3172.28.192.1 .4 .2 .5

Page 15: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 15/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 15

Section Summary

Bridging is complementary to routing

Bridging is flexible

Bridging main weaknesses are:

Failure domain = bridging domain (not scalable)

 A tree is required => no multipathing

Those limitations are causes by historic constraints inthe data plane

STP not mentioned yet (control plane)

Page 16: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 16/55

BRKDCT-2927_c2 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 16

Spanning Tree Protocol

Control Plane

Page 17: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 17/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 17

STP Goals

Enforce a tree (at all time)

Spanning eventually

In a plug and play fashion

Notify learning function of topology changes

Page 18: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 18/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 18

STP Information

Bridges exchange information usingBridge Protocol Data Units (BPDUs)

This information can be compared

Bridges propagate a “degraded” version of the bestinformation they ever received

A:1

0

B:2

0

C:3

0A

13

 A “better” than B,B “better” than C

1010

12

Page 19: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 19/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 19

STP Strategy For Building a Tree

The bridge with best information is the root

 A bridge keeps its best path to the root forwarding

 Alternate paths to the root are blocked

A

B C

A

Root bridge

(best information inthe network)

Designated Port

(best information onthis segment)

Root Port(best path to the root)

 Alternate Port

(alternate path to the root)

Designated port

Root port

 Alternate port

Page 20: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 20/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 20

STP Stability: What Can STP Do Wrong?

Failure to create a “spanning” topology

Loss of connectivity. Local issue, simple to troubleshoot,

similar to most L3 failures.

Failure to create a “tree” topology, i.e. introduce a loop

The real issue!

Failure to notify the learning function

Temporary black holing for some addresses

Page 21: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 21/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 21

How Can STP Open a Loop?

Fundamental difference bridging vs. routing:

Router: not control message => no forwarding

Bridge: no control message => no blocking

 A port that fails to receive BPDUs goesdesignated (forwarding)

Most STP failures are related to BPDUsbeing lost or not acted upon

Extra care must be taken before puttinga designated port to forwarding

Page 22: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 22/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 22

Unidirectional Link Failure

 A link only transmit traffic in one direction

BPDUs are dropped

Clockwise loop open

A

B C

A

13

10 10

12

BPDU lost because of 

unidirectional link failure

BPDU ignored by

B (worseinformation)

loop

BPDUs lost

Designated port

Root port

 Alternate port

Page 23: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 23/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 23

“Brain Dead” Bridge

C does not process BPDUs (CPU)

C still forwards traffic (ASIC)

Traffic loops in both directions

A

B C

A

A

BPDUs ignoredand not relayed

loop

Designated port

Root port

 Alternate port

BPDUs Ignored

Page 24: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 24/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 24

Layer 2 Features and STP Enhancements

EtherChannels

BPDUguard, RootGuard

Dispute mechanism

Bridge Assurance

Page 25: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 25/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 25

B

EtherChannel

Bundle several physical links into a logical one

No blocked port (redundancy not handled by STP)

Per frame (not per-vlan) load balancing

Control protocols like PAgP (Port Aggregation Protocol)and LACP (Link Aggregation Control Protocol) handlethe bundling process and monitor the health of the link

Limited to parallel links between two switches

Minor Change In the Data Plane

A

B

AChannel looks like asingle link to STP

Designated port

Root port

 Alternate port

Page 26: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 26/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 26

Rootguard/BPDUguard

Rootguard: prevents a port from accepting better info

BPDUguard: shut down a port that receives a BPDU

Not stability features per se

Enforce security policy

Restrict STP’s freedom

Trade off stability/connectivity

Enforce a Policy

Page 27: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 27/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 27

Dispute Mechanism

There can only be a one designated port on a LAN

RSTP (Rapid Spanning Tree) and MST (Multiple

Spanning Trees) advertise a role in their BPDUs

 A designated port with “worse” information is a problem

A

B C

A

Designated:13

10 10

BPDU lost because of 

unidirectional link failure

Worse designatedBPDU: B detects adispute

Disputed port

Designated:12

Protects Against Unidirectional Link

No

loop!

Designated port

Root port Alternate port

Page 28: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 28/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 28

Dispute Mechanism

 A channel is a single logical link from STP’s perspective

 A single BPDU is sent on a single physical port

Protects Against Bundling Errors

half loop

po1

BA

p1 & p2 not bundled on Bp1 & p2

bundled on B

p1

p2

po1

B:2

0

A:1

0

p1

p2

po1 disputed

 D e s i g n

 a t e d : 1 0

D e s i g n a t e d : 12  Worse designatedBPDU: A detects adispute

Without

Dispute

Mechanism

With

Dispute

Mechanism

Page 29: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 29/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 29

Bridge Assurance

Identify and configure network ports vs. edge ports

On p2p network ports:

Send periodic BPDUs, regardless of role

Expect periodic BPDUs, regardless of role

If no BPDU is received, the port goes inconsistent

B:20

A:10

Designated:10

Root:12

Worse root BPDU:does not trigger dispute

Network port sendsperiodic BPDUs

Network port:

expects BPDUs

Edge port: does

not expect BPDUs

Designated port

Root port

 Alternate port

Edge port

Page 30: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 30/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 30

Bridge Assurance

Introduce a behavior closer to L3:

 A network port with no peer does not transmit traffic

A

B C

A

A

The Ultimate Brain Dead Detection Mechanism

Bridge AssuranceInconsistent ports

(no BPDU received)

“brain dead” bridgeDesignated port

Root port

 Alternate port

Page 31: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 31/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 31

STP Features at Work

Data Center Network Design Examples

Page 32: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 32/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 32

Redundancy Handled by STP

 Aggregation

 Access

Data Center Core B

L

R

N

E

BPDUguard

Loopguard

Rootguard

Network port

Edge port

- Normal port type

B

RR

N N

N N N

N NNN

N N

N N NRRRRRR

--

B

E

B

E

B

E

B

E

Layer 3

Layer 2 (STP + Bridge Assurance)

Layer 2 (STP + BA + Rootguard)

Layer 2 (STP + BPDUguard)

L L

E

Backup 

Root  

Backup 

Root  

HSRP STANDBY 

HSRP STANDBY 

Root  Root  

HSRP ACTIVE 

HSRP ACTIVE 

Protecting Against Access Failures

Page 33: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 33/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 33

Protecting Against Access FailuresWhere Can a Loop Be Open?

The access layer is blocking the loops

 A loop can only be open if an access bridge

puts both its uplinks to forwarding:

Network portN

R

Root GuardDesignated port

Root port

 Alternate port

This port couldintroduce a loop

N

NN

RN R

N

N

 Aggregation

 Access

An Uplink Must Go to Designated

Page 34: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 34/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 34

An Uplink Must Go to DesignatedRole For a Loop to Occur 

Only root ports and designated ports can be forwarding

There is at most one root port per bridge

This means that a loop can only be open if an access uplink takes the designated role

 Aggregation

 Access Access

 Aggregation

loop loop

 At least onedesignated uplink

Designated port

Root port

 Alternate port

Protecting Against Access Failures

Page 35: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 35/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 35

Protecting Against Access FailuresDesignated Silent Access Uplink

Uplink is designated

Uplink does not send BPDUs

Bridge Assurance prevents the loop

N

NN

RN

Network portN

R Root GuardDesignated port

Root port Alternate port

R

N

N

Bridge Assurance blocks

the aggregation port

Designated port (problem)

Protecting Against Access Failures

Page 36: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 36/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 36

g gDesignated Access Uplink, Worse BPDU

Uplink is designated

Uplink sends worse designated information

Dispute mechanism prevents the loop

N

NN

RN

Network portN

R Root GuardDesignated port

Root port Alternate port

R

N

N

Dispute mechanism blocks

the aggregation port   w

  o   r  s

  e

Designated port (problem)

Protecting Against Access Failures

Page 37: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 37/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 37

g gDesignated Access Uplink, Better BPDU

Uplink is designated

Uplink sends better designated information

Root Guard forbids this scenario

N

NN

RN

Network portN

R Root GuardDesignated port

Root port Alternate port

R

N

N

Root Guard blocks the

aggregation port    b

  e   t   t  e   r

Designated port (problem)

Protecting Against Access Failures Two

Page 38: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 38/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 38

g gRoot Access Uplinks…

Two root port on a bridge would be a severe bug

There is a limit to what can be done in the control plane

N

NN

RN

Network portN

R Root GuardDesignated port

Root port

 Alternate port

R

N

N

Root port (problem)

Page 39: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 39/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 39

VPCdomain

Virtual Port Channel (vPC)

Introduces some changes to the Data Plane

Provides load balancing

Does not rely on STP for redundancy

Limited to pair of switches

VPCdomain

Redundancy

handled by STP

Redundancy

handled by vPC

STP view of 

vPC

Blockedport

Page 40: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 40/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 40

vPC Data Center Example

VPCdomain

 Aggregation

 Access

Data Center 

Core B

L

R

N

E

BPDUguard

Loopguard

Rootguard

Network port

Edge port

- Normal port type

B

RR

N N

N N N N N NRRRRRR

--

B

E

B

E

B

E

B

E E

NN

N

L

Layer 3

Layer 2 (STP + Bridge Assurance)

Layer 2 (STP + BA + Rootguard)

Layer 2 (STP + BPDUguard)

Backup 

Root  

Backup 

Root  

HSRP STANDBY 

HSRP STANDBY 

Root  Root  

HSRP ACTIVE 

HSRP ACTIVE 

Page 41: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 41/55

BRKDCT-2927_c2 © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 41

Fixing “STP” Problems

By Fixing the Data Plane

Page 42: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 42/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 42

Mac-in-Mac (802.1ah) Model

Introduced for Service Providers

Create more services

Solve Mac Address Table scalability issues

WX

Z

 Y

A BA B A B

 A ->X

B ->Y

 A ->XB ->Y

X YA B

XY

BackboneEdge

Bridge Backbone

Bridge

User space Backbone space User space

Backbone Edge Bridge Provider Bridge

Page 43: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 43/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 43

Mac-in-Mac Scalability

Backbone Edge Bridges (BEB) are able to:

map mac addresses between user and backbone spaces

encapsulate/decapsulate frames

BEB only need to learn a subset of the mac addresses

Backbone Bridges are regular bridges They only see backbone space addresses

Now, let’s assume that the backbone bridges are not

bridges but new “special” devices…

Page 44: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 44/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 44

Application: Routing Backbone Frames

Backbone addresses are limited in number =>

They can be propagated by a control protocol

 A routing table is possible in the backbone!

WX  Y

A B

User space Backbone space User space

To X To Y

ECMP, RPFC etc… now possible in the backbone

Next generation bridge

Addi TTL

Page 45: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 45/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 45

Adding a TTL

Frames are encapsulated unchanged in anew frame format in the backbone

The encapsulation can carry a TTL

 A Link state protocol allows determining the exact hop count

WX  Y

A B

User space Backbone space User space

To X To Y  A ->X, TTL 2

AB ABXY 2AB ABXY 1

U i T h l i

Page 46: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 46/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 46

Upcoming Technologies

By introducing a new data plane in the “backbone”, theadvantages of Layer 3 can be added to Layer 2

The backbone addresses are not seen by L2 users,they represent a location, aggregating several devices

The plug and play aspect of L2 can be maintained

XPCA

User space Backbone space

Global PC A address = X.A

Backbone Address(location)

Mac Address

(ID)

D t C t Eth t (DCE) TRILL

Page 47: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 47/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 47

Data Center Ethernet (DCE) TRILL

Goal: replace current transparent bridging model

 Add multipathing

Introduce L3-like stability for bridging

New frame format, using a compactbackbone address to

minimize overhead.

Note: DCE offers other properties (like lossless

Ethernet) not relevantto this presentation

DCE/

TRILL

(Transparent Interconnection of Lots of Links)

C l i

Page 48: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 48/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 48

Conclusion

L2 desirable for its flexibility (as a complement to L3)

Transparent bridging has some scalability issues

Several stability features have been developed in thecontrol plane => they will never be enough to match L3

The final solution will be injecting L3 elements in thedata plane

References Related Sessions

Page 49: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 49/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 49

References, Related Sessions

BRKDCT-2961, Evolution of Hierarchical Network Design for theData Center 

BRKDCT-2981, Overview of L2MP technologies Data Center Design—IP Network Infrastructure

http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DC_3_0/DC-3_0_IPInfra.html

Interested in Data Center?

Page 50: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 50/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 50

Interested in Data Center?

Discover the Data Center of the Future

Cisco booth: #617

See a simulated data center and discover the benefits includinginvesting to save, energy efficiency and innovation.

Data Center Booth

Come by and see what’s happening in the world of Data Center –demos; social media activities; bloggers; author signings

Demos include:

Unified Computing SystemsCisco on Cisco Data Center Interactive Tour 

Unified Service Delivery for Service Providers

 Advanced Services

Interested in Data Center?

Page 51: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 51/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 51

Interested in Data Center?

Data Center Super Session

Data Center Virtualization Architectures, Road to Cloud Computing (UCS)

Wednesday, July 1, 2:30  – 3:30 pm, Hall D

Speakers: John McCool and Ed Bugnion

Panel: 10 Gig LOM

Wednesday 08:00 AM Moscone S303

Panel: Next Generation Data Center 

Wednesday 04:00 PM Moscone S303

Panel: Mobility in the DC Data

Thursday 08:00 AM Moscone S303

Please Visit the Cisco Booth in theWorld of Solutions

Page 52: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 52/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 52

Data Center and Virtualization

DC1 – Cisco Unified Computing System

DC2 – Data Center Switching: CiscoNexus and Catalyst

DC3 – Unified Fabric Solutions

DC4 – Data Center Switching: CiscoNexus and Catalyst

DC5 – Data Center 3.0: AccelerateYour Business, Optimize Your Future

DC6 – Storage Area Networking: MDS

DC7 – Application Networking Systems:WAAS and ACE

World of Solutions

See the technology in action

Complete Your OnlineSession Evaluation

Page 53: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 53/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 53

Session Evaluation

Give us your feedback and youcould win fabulous prizes.Winners announced daily.

Receive 20 Passport points for each session evaluation youcomplete.

Complete your session

evaluation online now (open abrowser through our wirelessnetwork to access our portal) or visit one of the Internet stations

throughout the ConventionCenter. Don’t forget to activate your Cisco Live Virtual account for access to

all session material, communities, and

on-demand and live activities throughout

the year. Activate your account at the

Cisco booth in the World of Solutions or visitwww.ciscolive.com.

Page 54: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 54/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 545454

Appendix:LoopGuard

Page 55: BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

7/28/2019 BRKDCT-1927 - Bridging in the Data Center With or Without Spanning Tree

http://slidepdf.com/reader/full/brkdct-1927-bridging-in-the-data-center-with-or-without-spanning-tree 55/55

© 2009 Cisco Systems, Inc. All rights reserved. Cisco PublicBRKDCT-2927_c2 55

LoopGuard

A:10

p1

B:20

p2

A:?

p1

B:20

p2

A:?

p1

B:20

p2

p1 designated

(sends best info)

?

p1 stops sending

BPDUs

p2 ages out p1’s

info and becomes

designated

p2’s transition to forwarding

prevented by LoopGuard

?

A:30

p1

B:20

p2

A:30

p1

B:20

p2

p1 starts sending

worse information

p2 becomes

designated

transition authorized by

LoopGuard

A:10

A:30

B:20

Transition a Port to Designated Under Scrutiny…