Documente Academic
Documente Profesional
Documente Cultură
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
cs.co/ciscolivebot#BRKSPG-2202
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
Network Location
Designs
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Cisco Metro Fabric Building Blocks
Industry leader:
ASR9K Unified Forwarding Common Control Programmability
Plane with Explicit Plane for L2, L3 and and analytics
Dense, Scalable: Path Control and IRB with YANG data
NCS 5500 Traffic Engineering models and
telemetry
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
BGP+SR Benefits:
Simplified Protocol and Label Stack
APIs Controller/
CLIs
Orchestration
Path Computation/
BGP Provisioning WAN optimization EPN-M
NSO XTC/WAE
T-LDP
BGP-LU APIs
Router RSVP-TE BGP
MPLS LDP T-LDP/Static
Router
IGP IGP/SR
IP IP
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Compass Metro Fabric - High-Level Domain View
ASR920/NCS4201
ASR9K ASR907 NCS550 ASR9K NCS6K
NCS4216 0
ASR920-12SZ-IM/NCS
ASR9000v
4202
NCS5500
NCS540, NCS560, NCS50/55xx NCS5000 XTC
CO CO CO
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Metro Services and Use Cases
Metro Fabric Services - Highlights
• Transport Independent => interop. with existing services
• Seamless Integration with existing L2VPN
• End-To-End and Hierarchical Services
• Provides scale and provisioning simplification
• BGP-based services:
• L3VPN (VPNv4/VPNv6)
• EVPN
• Traditional L2VPN
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
End to End Metro Services
Service Technology
L2 P2P EVPN-VPWS
• Multi/Single-Homed
• All/Single-Active
Legacy EoMPLS (Static PW)
L2 Multipoint EVPN
• Multi/Single-Homed
• All/Single-Active
L2/L3 Multipoint EVPN
• Multi/Single-Homed
• All/Single-Active
Anycast-IRB
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
End to End Metro Services
A AG PE PE AG A
Access Aggregation Core Aggregation Access
A AG PE PE AG A
CO CO CO
Distributed CO - service termination
Centralized CO - service termination
Access-To-Access - service termination
MP-BGP L3VPN
EVPN
EVPN-VPWS
Legacy EoMPLS PW
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Hierarchical Metro Services
Service Technology in Technology in Core
Access/Aggregation
L3VPN EVPN-VPWS MP-BGP VPNv4/6
• Multi/Single-Homed (IRB/PWHE)
• All/Single-Active
Anycast-Static-PW
L2 P2P Not-Required
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Hierarchical Metro Services
A AG PE PE AG A
Access Aggregation Core Aggregation Access
A AG PE PE AG A
DCI DCI DCI DCI DCI DCI
CO PWHE CO PWHE
CO
EVPN-VPWS IRB IRB EVPN-VPWS
Anycast-PW EVPN Anycast-PW
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Metro Fabric Underlay Configuration
Cisco Metro Fabric Building Blocks
Industry leader:
ASR9K Unified Forwarding Common Control Programmability
Plane with Explicit Plane for L2, L3 and and analytics
Dense, Scalable: Path Control and IRB with YANG data
NCS 5500 Traffic Engineering models and
telemetry
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Segment Routing Configuration Basics
• Configured with the IGP Routing Protocols – ISIS and OSPF
• Requires: Enabling SR and configuring Prefix SID
• Prefix SID
• Globally Significant SR Global Block (SRGB)
• SRGB advertised with router capabilities TLV
• Configured as an absolute value or an index
• Advertised as globally unique index
E.g. index 1 SID is 16,000 + 1 = 16,001
• Adjacency SID
• Locally significant
• Automatically allocated for each adjacency
• Always encoded as an absolute value
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
IS-IS Configuration – Example
router isis 1
address-family ipv4 unicast Wide metrics
metric-style wide enable SR IPv4 control plane and SR
segment-routing mpls
!
MPLS data plane on all ipv4 interfaces in
address-family ipv6 unicast this IS-IS instance
metric-style wide Wide metrics
segment-routing mpls
! enable SR IPv6 control plane and SR
interface Loopback0 MPLS data plane on all ipv6 interfaces in
passive this IS-IS instance
address-family ipv4 unicast
prefix-sid index 1 Ipv4 Prefix-SID value for loopback0
! (Index translate to 16001 absolute vlaue)
address-family ipv6 unicast
prefix-sid absolute 20001
Ipv6 Prefix-SID value for loopback0
!
!
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
OSPF Configuration Example
router ospf 1
router-id 1.1.1.1 Enable SR on all areas
segment-routing mpls
area 0
interface Loopback0
passive enable
Prefix-SID for loopback0
prefix-sid absolute 16001
!
!
!
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
EVPN Flavors
EVPN RFC
• EVPN provides an evolution of Ethernet 7432
services
• BGP control-plane for Ethernet Segment
and MAC distribution and learning over P2P Multipoint
MPLS core
• Same principles and operational experience
of IP VPNs
• BGP control plane provides a familiar, EVPN-VPWS
consistent and flexible configuration
interface RFC RFC
draft-ietf-bess-evpn-
• Multi-vendor solutions for P2P and MP 7432 7623
vpws
services
EVPN PBB-EVPN
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
EVPN control plane with BGP
Route Distinguisher (8 octets)
• New BGP NLRI to advertise MACs and IPs for
Ethernet Segment Identifier or ESI (10
octets)
next hop resolution
Ethernet Tag ID (4 octets)
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
EVPN Planes Of Operation
Control plane for Overlay Data plane for Overlay
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
EVPN - Components L2 and L3 in the same instance!
EVPN Instance (EVI) BGP Route
Ethernet Segment BGP Routes
Attributes
MAC
BD VRF ESI1 [1] Ethernet Auto-Discovery (AD) Route ESI MPLS Label
PE1 [2] MAC Advertisement Route ES-Import
MHD [3] Inclusive Multicast Route MAC Mobility
MAC
VRF
BD CE2
ESI2 PE2 [4] Ethernet Segment Route Default Gateway
PE
(5) IP Prefix Advertisement Route Router’s MAC
• EVI spans all PEs • Represents a ‘site’ • EVPN and PBB-EVPN • New BGP extended
participating in an EVPN connected to one or more define a single new BGP communities defined
• MAC-VRF: A VRF table for PEs NLRI used to carry all • Expand information
MACs on a PE • Uniquely identified by a EVPN routes carried in BGP routes,
• Encompass one or more 10-byte global Ethernet • NLRI has a new SAFI (70) including:
bridge-domains, Segment Identifier (ESI) • Routes serve control MAC address moves
depending on service • Could be a single device plane purposes, C-MAC flush notification
interface type or an entire network including: Redundancy mode
Port-based Single-Homed Device (SHD) MAC / IP address reachability MAC / IP bindings of a GW
VLAN-based (shown above) Multi-Homed Device (MHD) MAC mass withdrawal Split-horizon label encoding
VLAN-bundling Single-Homed Network (SHN) Split-Horizon label adv.
VLAN aware bundling (NEW) Multi-Homed Network (MHN) Aliasing
Multicast endpoint discovery
Redundancy group discovery
Designated forwarder election
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
BGP Control Plane for EVPN
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
IOS-XR Service Configuration Toolset
Anatomy of a Metro Ethernet Service
Frame Classification
• Ethernet Flow Points
• Intelligent Layer 2 Sub-interfaces
Forwarding
• Frame Manipulation
• VLAN Tag Rewrite
Frame Forwarding
• Bridge Domain, Bridged Virtual Interface
• Local Connect, Ethernet over MPLS (EoMPLS),
Virtual Private LAN Service (VPLS), Ethernet
VPN (EVPN)
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Ethernet Flow Point
• EVC Infrastructure introduces the concept of an EFP
interface r/s/module/port.<sub-intf no.> l2transport
<match criteria commands> (VLAN tags, MAC, Ether type)
<rewrite commands> (VLAN tags pop/push/translation)
<feature commands> (QoS, ACL etc)
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
EFP Flexible Tag Classification
The Longest Match Rule and the default option
• Longest match for VLAN tag provides configuration flexibility
10
dot1q 10
10 100
dot1q 10 sec 100 exact
10 100 150
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Traffic Forwarding Through an EFP
L3
EFP (Ethernet
L2/L3 Bridging
Flow Point) or Routing
EoMPLS PW
sub-interface
Bridging
Flexible VLAN tag VPLS PW
classification P2P VPWS
A AG PE PE AG A
Access Aggregation Core Aggregation Access
A AG PE PE AG A
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Point to Point Services Configuration
EoMPLS and EVPN-VPWS
interface gig 0/0/0/4.1 l2transport interface gig 0/0/0/4.1 l2transport
encapsulation dot1q 100 encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric rewrite ingress tag pop 1 symmetric
l2vpn l2vpn
xconnect group CISCO xconnect group CISCO
p2p EoMPLS_VPWS p2p EVPN_VPWS
interface Gig 0/0/0/4.1 interface Gig 0/0/0/4.1
neighbor 1.1.1.1 pw-id 100 neighbor evpn evi 100 target 10 source 10
A AG PE PE AG A
Access Aggregation Core Aggregation Access
A AG PE PE AG A
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Multipoint L2/L3 Services Configuration Example With VPLS
A AG
l2vpn Access
A AG
bridge group CISCO
bridge-domain BD1 Multipoint Bridging between EFPs, if
interface TenGigE0/0/0/0.1 required
interface TenGigE0/0/0/1.1
routed interface bvi 20 BVI Routed Interface integration for L3
termination
neighbor 11.1.1.1 pw-id 20
vfi CISCO-VFI
VPLS configuration with/without
neighbor 1.1.1.1 pw-id 21 Split Horizon for multipoint services
neighbor 22.2.2.2 pw-id 21 through MPLS/SR netwrok
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Multipoint Services Configuration Example with EVPN IRB
evpn A AG
evi 100 Access
bgp A AG
route-target import 65001:100
Ethernet Virtual Instance
route-target export 65001:100
Layer2-vrf or MAC-VRF id.
!
unique for each tenant.
advertise-mac
Globally significant RT’s
interface BVI100
host-routing
vrf Tenant VPLS configuration with/without
ipv4 address 30.10.12.1 255.255.255.0 Split Horizon for multipoint services
mac-address 1000.1000.1001 through MPLS/SR netwrok
l2vpn
bridge group bg100
bridge-domain bd100
interface Bundle-Ether100.1 EVPN Service Configuration
routed interface BVI100
evi 100
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Dual Homed CE Configration Example with EVPN
• Ethernet Segment (ES) is a set of links that connect one tenant site to one of
more PEs.
• Should be unique (10 Octets) for each segment (a segment can a pair of links
from a dual-homed Host
evpn
interface Bundle-Ether100
ethernet-segment
identifier type 0 11.11.11.11.11.11.11.11.11
bgp route-target 1111.1111.1111
A AG PE PE AG A
Access Aggregation Core Aggregation Access
C
A AG PE PE AG A
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
MINIMAL
PBB-EVPN Configuration Example Configuration
router bgp 64
bgp router-id 1.100.100.100
address-family l2vpn evpn
! BGP configuration with
neighbor 2.100.100.100 new EVPN AF
remote-as 64 Note: MPLS / LDP configuration
update-source Loopback0 required on core-facing interfaces (not
address-family l2vpn evpn shown)
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Services Orchestration and
Management
Deployment model: Existing vs NSO
NSO
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
NSO Main Features
Applications Engineers
REST, NETCONF, Java, Python, Erlang, CLI, Web UI • Logically centralized network
services
Service
Service Manager Model • Data models for data
structures
Device
• Structured representations of:
Device Manager
Model • Service instances
• Network configuration
Network Element Drivers (NEDs) and state
• Mapping service operations to
NETCONF, REST, SNMP, CLI, etc network configuration changes
• Transactional integrity
• VNFM • Multiprotocol and multivendor
• Controller Apps support
• EMS and NMS
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
NSO Network Element Driver (NED)
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Services Automation Framework
“Network Abstraction”
WAE Path computation, Network model
XTC
Config Management “Device Abstraction”
(NSO) Controllers, Protocols, NED’s
“Network”
Segment
Routing Equipment and Devices
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
In Conclusion …
In Conclusion …
• Cisco Metro Fabric Provides a reference design for Metro Services Deployment
• Point to Point and Multipoint services
• Flexible, versatile Configuration toolset
• Underlay Configuration using ISIS/OSPF for SR and BGP for EVPN
• Various flavors of EVPN – EVPN VPWS, EVPN IRB – and EoMPLS/VPLS
• Services Orchestration and Management framework
• Summary
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Cisco Spark
Questions?
Use Cisco Spark to communicate
with the speaker after the session
How
1. Find this session in the Cisco Live Mobile App
2. Click “Join the Discussion”
3. Install Spark or go directly to the space
4. Enter messages/questions in the space
cs.co/ciscolivebot#BRKSPG-2002
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Please complete your Online Complete Your Online
Session Evaluations after each
session
Session Evaluation
• Complete 4 Session Evaluations
& the Overall Conference
Evaluation (available from
Thursday) to receive your Cisco
Live T-shirt
• All surveys can be completed via
the Cisco Live Mobile App or the
Communication Stations
Don’t forget: Cisco Live sessions will be available
for viewing on-demand after the event at
www.ciscolive.com/global/on-demand-library/.
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Tech Circle
• Meet the Engineer 1:1 meetings
• Related sessions
BRKSPG-2202 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Thank you