segment routing - ftp.registro.br

26
Alvaro Retana ([email protected]) GTER 42 – São Paulo Segment Routing Distinguished Engineer GTER 42

Upload: others

Post on 16-Oct-2021

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Segment Routing - ftp.registro.br

Alvaro Retana ([email protected])

GTER 42 – São Paulo Segment Routing

Distinguished Engineer

GTER 42

Page 2: Segment Routing - ftp.registro.br

2 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Technology Overview

•  Use Cases

•  Control and Data Plane

•  Conclusions

Agenda

Page 3: Segment Routing - ftp.registro.br

3 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Source Routing •  the source chooses a path and encodes it in the packet header as an

ordered list of segments •  the rest of the network executes the encoded instructions without any further

per-flow state

•  Segment: an identifier for any type of instruction •  forwarding or service

Segment Routing

Page 4: Segment Routing - ftp.registro.br

4 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• 16000 + Index

•  Signaled by ISIS/OSPF

IGP Prefix Segment

10

11

•  Shortest-path to the IGP prefix

•  Global 12

13

14

DC (BGP-SR)

2 4

6 5

7

WAN (IGP-SR)

3

1

PEER

16005

Page 5: Segment Routing - ftp.registro.br

5 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  1XY •  X is the “from” •  Y is the “to”

•  Signaled by ISIS/OSPF

IGP Adjacency Segment

10

11

•  Forward on the IGP adjacency

•  Local 12

13

14

DC (BGP-SR)

2 4

6 5

7

WAN (IGP-SR)

3

1

PEER

124

Page 6: Segment Routing - ftp.registro.br

6 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Shortest-path to the BGP prefix

•  Global

• 16000 + Index

•  Signaled by BGP

BGP Prefix Segment

10

11

12

13

14

DC (BGP-SR)

2 4

6 5

7

WAN (IGP-SR)

3

1

PEER

16001

Page 7: Segment Routing - ftp.registro.br

7 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Forward to the BGP peer

•  Local

•  1XY •  X is the “from” •  Y is the “to”

•  Signaled by BGP-LS (topology information) to the controller

BGP Peering Segment

10

11

12

13

14

DC (BGP-SR)

2

6

7

WAN (IGP-SR)

3

1

PEER

Low Lat, Low BW

4

5 High Lat, High BW

147

Page 8: Segment Routing - ftp.registro.br

8 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  WAE collects via BGP-LS •  IGP segments •  BGP segments •  Topology

WAN Controller

10

11

12

13

14

DC (BGP-SR)

2 4

6 5

7

WAN (IGP-SR)

3

1

PEER

Low Lat, Low BW

BGP-LS

BGP-LS

BGP-LS

Page 9: Segment Routing - ftp.registro.br

9 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• 16001 • 16002 • 124 • 147

•  WAE programs a single per-flow state to create an application- engineered end-to- end policy

An end-to-end path as a list of segments

10

11

13

14

DC (BGP-SR)

2 4

6 5

7

3

1

PEER

Low Lat, Low BW

50

Default ISIS cost metric: 10

WAN (IGP-SR)

12 {16001, 16002, 124, 147}

PCEP, Netconf, BGP

•  WAE computes that the green path can be encoded as

Page 10: Segment Routing - ftp.registro.br

10 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Segment Routing Standardization Sample IETF Documents

Segment Routing Architecture (draft-ietf-spring-segment-routing)

Problem Statement and Requirements (draft-ietf-spring-problem-statement)

IPv6 SPRING Use Cases (draft-ietf-spring-ipv6-use-cases)

Segment Routing Use Cases (draft-filsfils-spring-segment-routing-use-cases)

Topology Independent Fast Reroute using Segment Routing (draft-francois-spring-segment-routing-ti-lfa)

IS-IS Extensions for Segment Routing (draft-ietf-isis-segment-routing-extensions)

OSPF Extensions for Segment Routing (draft-ietf-ospf-segment-routing-extensions)

PCEP Extensions for Segment Routing (draft-ietf-pce-segment-routing)

•  IETF standardization in SPRING

•  working group

•  Protocol extensions progressing in multiple groups •  IS-IS •  OSPF •  PCE •  IDR •  6MAN

•  Broad vendor and customer support •  Close to 30 IETF drafts in progress

Page 11: Segment Routing - ftp.registro.br

11 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Use Cases

Page 12: Segment Routing - ftp.registro.br

12 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  IGP only •  No LDP, no RSVP-TE

•  ECMP

IPv4/6 VPN/Service transport

1

2 3

4

6 5

7

Site1 Site2 16007 vpn pkt

16007 vpn pkt

pkt

pkt vpn

pkt

Page 13: Segment Routing - ftp.registro.br

13 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Seamless deployment

Seamless interworking with LDP

1

2 3

4

6 5

7

Site1 Site2

pkt

pkt vpn

pkt

16007 vpn pkt

16007 vpn pkt

pkt vpn

LDP(7)

Page 14: Segment Routing - ftp.registro.br

14 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  50msec FRR in any topology

•  IGP Automated •  No LDP, no RSVP-TE

•  Optimum •  Post-convergence path

•  No midpoint backup state

•  Detailed operator report •  S. Litkowski, B. Decraene, Orange

•  Mate Design •  How many backup segments •  Capacity analysis

Topology-Independent LFA (TI-LFA FRR)

1

2 3

4

6 5

7

16005 16007

pkt

pkt 16007

pkt 16007

Page 15: Segment Routing - ftp.registro.br

15 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Traffic Matrix is fundamental for •  capacity planning •  centralized traffic engineering •  IP/Optical optimization

•  Most operators do not have an accurate traffic matrix

•  With SR, the traffic matrix collection is automated

Automated Traffic Matrix Collection 1 2 3 4

1

2

3

4

1

2

4

3

Page 16: Segment Routing - ftp.registro.br

16 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  On a per-content, per-user basis, the content delivery application can engineer •  the path within the AS •  the selected border router •  the selected peer

•  Also applicable for engineering egress traffic from DC to peer •  BGP Prefix and Peering Segments

Optimized Content Delivery

1 2

6

4 3 AS1

5

7

AS6 AS5

AS7

16003 16002

126 pkt

Page 17: Segment Routing - ftp.registro.br

17 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Per-application flow engineering

•  End-to-End •  DC, WAN, AGG, PEER

•  Millions of flows •  No signaling •  No midpoint state •  No reclassification at

boundaries

Application Engineered Routing

10

11

13

14

DC (or AGG)

12 Push {16001, 200, 147}

Low-Latency to 7 for application A12

2 4

6 5

7

ISIS: 35

Default ISIS cost metric: 10 Default Latency metric: 10

WAN

3

1

BSID: 200

200: pop and push {16002, 16004}

PEER

Low Lat, Low BW

Low-Lat to 4

PeerSID: 147, Low Lat, Low BW

PeerSID: 147, High Lat, High BW

Page 18: Segment Routing - ftp.registro.br

18 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

A Closer look to Control and Data Plane

Page 19: Segment Routing - ftp.registro.br

19 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

MPLS Control and Forwarding Operation with Segment Routing

PE1 PE2

IGP PE2

Services

IPv4 IPv6 IPv4 VPN

IPv6 VPN VPWS VPLS

Packet Transport

PE1

LDP RSVP Static BGP

MPLS Forwarding

IS-IS OSPF

No changes to control or forwarding plane

IGP label distribution for IPv4 and IPv6, same forwarding plane

BGP / LDP

Page 20: Segment Routing - ftp.registro.br

20 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Prefix SID •  SID encoded as an index •  Index represents an offset from SRGB base •  Index globally unique •  SRGB may vary across LSRs •  SRGB (base and range) advertised with

router capabilities

•  Adjacency SID •  SID encoded as absolute (i.e. not indexed)

value •  Locally significant •  Automatically allocated for each adjacency

SID Encoding

SRGB = [ 16000 - 23999 ]. Advertised as base = 16,000, range = 7,999 Prefix SID = 16041. Advertised as Prefix SID Index = 41 Adjacency SID = 24000. Advertised as Adjacency SID = 24000

SR-enabled Node

Page 21: Segment Routing - ftp.registro.br

21 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Payload

MPLS Data Plane Operation (Prefix SID) SRGB [16,000 – 23,999 ]

Loopback X.X.X.X Prefix SID Index = 41

SRGB [16,000 – 23,999 ] A

SRGB [16,000 – 23,999 ] B

SRGB [26,000 – 23,999 ] C D

Payload

16041

VPN Label

Push Push

Swap Pop

Payload

Payload

26041

VPN Label

Payload

VPN Label

Pop

Page 22: Segment Routing - ftp.registro.br

22 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

MPLS Data Plane Operation (Adjacency SIDs)

Payload Payload

Push Push Push

Pop Pop

Payload

Payload

VPN Label

24000

VPN Label

Pop

SID = 24000 SID = 24000 SID = 24010

24000

24000

VPN Label

Payload

VPN Label

24000

VPN Label

MPLS Label Range [ 24000– 265535 ]

A

Adjacency

MPLS Label Range [ 24000– 265535 ] B

Adjacency

MPLS Label Range [ 24000– 265535 ]

C

Adjacency

MPLS Label Range [ 24000– 265535 ]

D

Page 23: Segment Routing - ftp.registro.br

23 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  LFIB populated by IGP (ISIS / OSPF)

•  Forwarding table remains constant (Nodes + Adjacencies) regardless of number of paths

•  Other protocols (LDP, RSVP, BGP) can still program LFIB

MPLS LFIB with Segment Routing

PE

PE

PE

PE

PE

PE

PE

PE

P

In Label

Out Label

Out Interface

L1 L1 Intf1 L2 L2 Intf1 … … … L8 L8 Intf4 L9 L9 Intf2 L10 Pop Intf2 … … … Ln Pop Intf5

Network Node Segment Ids

Node Adjacency Segment Ids

Forwarding table remains constant

Page 24: Segment Routing - ftp.registro.br

24 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Conclusion

Page 25: Segment Routing - ftp.registro.br

25 © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

•  Simple routing extensions to implement source routing

•  Packet path determined by prepended segment identifiers (one or more)

•  Data plane agnostic (MPLS, IPv6)

•  Network scalability and agility by reducing network state and simplifying control plane

•  Traffic protection with 100% coverage with more optimal routing

Conclusion

Page 26: Segment Routing - ftp.registro.br