Segment Routing on Cisco Nexus 9500, 9300, 9200, 3200, and 3100 Platform Switches

Size: px
Start display at page:

Download "Segment Routing on Cisco Nexus 9500, 9300, 9200, 3200, and 3100 Platform Switches"

Transcription

1 White Paper Segment Routing on Cisco Nexus 9500, 9300, 9200, 3200, and 3100 Platform Switches Authors Ambrish Mehta, Cisco Systems Inc. Haider Salman, Cisco Systems Inc Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 30

2 Contents What You Will Learn 3 Challenges in Data Center Networks 3 What Is Segment Routing?. 3 General MPLS Operations: PUSH, SWAP, and POP 3 Control Plane.. 4 MPLS Label Exchange with Peers 4 MPLS Label Allocation 4 Prefix and Node Segment Identifiers 8 MPLS-Enabled Data Center Fabric. 8 Traffic Steering Using Segment Routing. 11 Over-the-Top Service with Multihop BGP 13 Layer 3 EVPN 17 Orchestration 28 Conclusion. 29 For More Information Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 2 of 30

3 What You Will Learn This document provides a closer look at the segment routing available on Cisco Nexus 9500, 9300, 9200, 3200, and 3100 platform data center switches. Its goal is to help network architects and engineers understand segment routing technology and how it can be used to achieve application traffic engineering and various deployment scenarios. It assumes that the reader has a high-level understanding of Cisco Nexus 9500, 9300, 9200, 3200, and 3100 platform data center switches, routing and Multiprotocol Label Switching (MPLS) concepts. Challenges in Data Center Networks Today s data center network needs to be agile to meet the increasing demands of the new workloads constantly being brought online. Many deployments are being implemented with Equal-Cost Multipath (ECMP) to make use of available link capacity while adding redundancy in the end-to-end network. Although ECMP is generally a good approach, it presents several challenges: The application that originates the traffic has no control over the data-forwarding path through the network. The hop-by-hop flow-forwarding decision to choose the next hop makes it prone to hotspots in the event of link failure. Also, the application is not aware of this hotspot and will continue to send data traffic as if the hotspot did not exist. ECMP uses a hop-by-hop decision calculated by hashing at every node in the network, and the decision is per flow. Large elephant flows can affect the performance of short-lived mouse flows. Troubleshooting a data-plane drop with ECMP poses a unique set of challenges. This document discusses segment routing as a technology, its benefits, and the deployment options that are available. What Is Segment Routing? Segment routing uses a source routing model. A node steers a packet through an ordered list of instructions, called segments. A segment can represent any instruction in a topology or service. A segment can have local semantics for a segment routing node, or it can be global within a segment routing domain. The segment routing architecture can be directly applied to the MPLS data plane with little to no change on the forwarding plane. Before exploring segment routing and its components in detail, you should be familiar with general MPLS terminology and operations. General MPLS Operations: PUSH, SWAP, and POP In a PUSH operation, a new label is affixed to the IP packet or to the MPLS label stack of the packet. Typically, the ingress router (except in some traffic-engineering scenarios) performs this operation. In a SWAP operation, the incoming label is replaced (swapped) with outgoing label, and the packet is forwarded to the next hop as determined by the incoming label. In a POP operation, the label is removed from the packet, which may reveal an inner label beneath it. If the popped label was the last label on the label stack, the packet exits the MPLS domain. This process typically occurs at the egress label switching router (LSR) Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 3 of 30

4 Control Plane Segment routing relies on two critical control-plane elements: MPLS label exchange with peers and MPLS label allocation. MPLS Label Exchange with Peers To support segment routing on the Cisco Nexus 9500, 9300, 9200, 3200, and 3100 platforms, Cisco NX-OS Software has been enhanced to support a new Border Gateway Protocol (BGP) address family (AF): the IPv4 labeled-unicast (LU) address family (LUAF). The BGP LUAF capability between LSRs facilitates label exchange through BGP update messages. RFC 3107 specifies the way in which the label mapping information is carried in a BGP update message (Figure 1). Label distribution is carried in the BGP update message by using the BGP-4 Multiprotocol Extensions attribute (RFC 2283). The label is encoded in the Network Layer Reachability Information (NLRI) field of the attribute, and the Subsequent Address Family Identifier (SAFI) field is used to indicate that the NLRI includes a label (SAFI value of 4). Figure 1. MPLS Label Exchange Through BGP Update MPLS Label Allocation Every MPLS-enabled switch needs to allocate an MPLS label so that it can be associated with IP prefixes. The MPLS label can be any value between 16 and The switch can be configured with minimum and maximum values to define the label range. A(config)# mpls label range? < > Minimum label value Two approaches to label allocation are available: Allocate the MPLS label from the entire label range. In this case, label allocation relies on selection of an available label from the configured MPLS label range on the switch. This label is then associated with the IP prefix. To control the prefix to which a label should be allocated, use the following command in the BGP configuration. A route map can be used for more precise control. router bgp <#> address-family ipv4 unicast allocate-label route-map <name> 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 4 of 30

5 Figure 2. MPLS Label Allocation Using Dynamic Range As shown in Figure 2, label details for prefix /24 are exchanged between nodes A, B, and C. Node C learns the /24 IP prefix from an upstream switch as a general IP prefix. On node C, using the allocate-label command shown in the preceding code, you can allocate an MPLS label. Because node C originates this label, it allocates the Implicit-NULL label and sends it to downstream neighbor node B via BGP update. Node B performs a similar label allocation process and sends the label using BGP update to node A. Because node B is the penultimate hop, it programs the Out label as POP, and the In label is dynamically allocated. Node A programs the Out label using the label value received in the BGP update from node B. Node A allocates the local MPLS label as well, which is the In label. The following output shows dynamically allocated labels on one of the LSRs. Prefix /24 is received on LSR A through BGP update from BGP neighbor B with label value 116, which is programmed as the Out label. Also, LSR A allocates the MPLS label, which is programmed as the In label. The In label is allocated from the available label space from the overall MPLS label range (configured using the MPLS label range command at the command-line interface [CLI]). This label is locally significant. A# show mpls switching /24 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. IPV4: In-Label Out-Label FEC name Out-Interface Next-Hop /24 Eth1/ A# show bgp ipv4 labeled-unicast /24 BGP routing table information for VRF default, address family IPv4 Label Unicast BGP routing table entry for /24, version Paths: (1 available, best #1) Flags: (0x20c001a) on xmit-list, is in urib, is best urib route, is in HW, has label label af: version , (0x100002) on xmit-list local label: 126 Advertised path-id 1, Label AF advertised path-id 1 Path type: internal, path is valid, is best path, no labeled nexthop, in rib 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 5 of 30

6 AS-Path: 100, path sourced external to AS (metric 0) from ( ) Origin incomplete, MED 0, localpref 100, weight 0 Received label 116 Although this approach to MPLS label allocation can do the job of associating an MPLS label with an IP prefix, for a large data center network with hundreds of devices, managing and troubleshooting any MPLS forwarding problem can be challenging. Also, with almost every node allocating a different label for the same prefix, use of a controller or some similar mechanism for label management is almost impossible. To address these challenges, another approach is available. The segment routing global block (SRGB) provides an alternative approach to MPLS label allocation. NX-OS supports SRGB. The SRGB is a subset of the overall MPLS label range defined on the switch. The default SRGB range is to 23999; however, this range can be changed through the global-block CLI command under segment-routing mpls in configuration mode. A#config terminal A(config)# segment-routing mpls A(config-segment-routing-mpls)# global-block The SRGB should be configured on every node in the network. For simplicity and ease of operation, all nodes should be configured with same SRGB values. Another parameter that plays a role in segment routing along with SRGB is label-index, which is also carried as part of the BGP update message. The label-index parameter should be associated with the prefix on the originating switch as part of the BGP configuration. C#router bgp <#> address-family ipv4 unicast network /24 route-map ADD_2000 route-map ADD_2000 permit 10 set label-index 2000 Figure 3. MPLS Label Allocation Using SRGB 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 6 of 30

7 As shown in Figure 3 and highlighted in the following output, a label index of 2000 is received as part of the BGP update message between BGP peers. Adding the label index to the starting value of the SRGB calculates the local label. In this case, the calculation is = 18000; hence, a local label of is allocated. Also, if the SRGB is the same across all nodes in the network, then the received label and local label values will be same. In this case, nodes A and B have the same label. A# show bgp ipv4 labeled-unicast /024 BGP routing table information for VRF default, address family IPv4 Label Unicast BGP routing table entry for /24, version Paths: (1 available, best #1) Flags: (0x20c001a) on xmit-list, is in urib, is best urib route, is in HW, has label label af: version , (0x100002) on xmit-list local label: Advertised path-id 1, Label AF advertised path-id 1 Path type: internal, path is valid, is best path, no labeled nexthop, in rib AS-Path: 100, path sourced external to AS (metric 0) from ( ) Origin IGP, MED not set, localpref 100, weight 0 Received label Prefix-SID Attribute: Length: 10 Label Index TLV: Length 7, Flags 0x0 Label Index 2000 A# show mpls switching /24 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. IPV4: In-Label Out-Label FEC name Out-Interface Next-Hop /24 Eth1/ With the label index being carried in the BGP update message and all nodes having the same SRGB configuration, the prefix will have the same In label and Out label across the entire network. This approach makes provisioning using any outside entity (such as a controller) much easier, and the configuration is simple to troubleshoot as well. Thus, although the use of different SRGB configurations on different nodes in the network is supported, this approach is not recommended because of the complexity in provisioning and troubleshooting Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 7 of 30

8 Prefix and Node Segment Identifiers A prefix segment identifier (SID) is an MPLS label attached to an IP prefix. Typically, the prefix SID is advertised by top-of-the-rack (ToR) switches using network statements (as shown in following configuration). The prefix SID represents a subnet on which hosts are provisioned behind the ToR switch. With the same SRGB configuration used on all nodes in the network, the MPLS label associated with this prefix will be the same as well. route-map ADD_2000 permit 10 set label-index 2000 router bgp 100 address-family ipv4 unicast network /24 route-map ADD_2000 A node SID is an MPLS label attached to an IP prefix associated with a given node in the network. For example, a loopback interface configured on a node is advertised in BGP through a network statement as a prefix SID. In terms of control-plane propagation and the forwarding plane, the node SID is the same as the prefix SID. With the same SRGB configuration used on all nodes in the network, the MPLS label associated with this prefix will be same as well. The node SID is used primarily to identify a given node in the network with an MPLS label. The node SID is used in several use cases, which are explored in detail later in this document. MPLS-Enabled Data Center Fabric Figure 4 shows an MPLS-enabled data center fabric with a three-layer data center network. Node E is a ToR switch in BGP AS 100, and it is advertising the /24 subnet as part of MPLS. Nodes B, C, and D are leaf switches in BGP AS 200. Node A is a spine switch in BGP AS 300. Figure 4. MPLS Enabled Data Center Fabric 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 8 of 30

9 For all nodes, BGP peering with the LUAF capability negotiated. The following sample configuration between node E and node D establishes BGP neighbors and exchanges LUAF capabilities. On node E, prefix /24 is advertised through the network statement, and a label index of 10 is set through a route map.!node E interface ethernet1/1 ip address /31 router bgp 100 address-family ipv4 unicast network /24 route-map ADD_LABEL_INDEX template peer AF-LABEL address-family ipv4 labeled-unicast neighbor inherit peer AF-LABEL remote-as 200 update-source ethernet1/1 route-map ADD_LABEL_INDEX permit 10 set label-index 10!Node D interface ethernet1/1 ip address /31 router bgp 200 template peer AF-LABEL address-family ipv4 labeledunicast neighbor inherit peer AF-LABEL remote-as 100 update-source ethernet1/1 D# show bgp ipv4 labeled-unicast summary BGP summary information for VRF default, address family IPv4 Label Unicast Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd :08:49 1 D# show bgp ipv4 labeled-unicast /24 BGP routing table information for VRF default, address family IPv4 Label Unicast BGP routing table entry for /24, version Paths: (1 available, best #1) Flags: (0x20c001a) on xmit-list, is in urib, is best urib route, is in HW, has label label af: version 74170, (0x100002) on xmit-list local label: < SRGB base value of Label Index of 10 is making it Advertised path-id 1, Label AF advertised path-id Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 9 of 30

10 Path type: external, path is valid, received and used, is best path, no labeled nexthop, in rib AS-Path: 100, path sourced external to AS (metric 0) from ( ) Origin IGP, MED not set, localpref 100, weight 0 Received label 3 < This means that Node D is Penultimate Hop for prefix /24 Prefix-SID Attribute: Length: 10 Label Index TLV: Length 7, Flags 0x0 Label Index 10 < This is the label index we received D# show mpls switching /24 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. IPV4: In-Label Out-Label FEC name Out-Interface Next-Hop Pop Label /24 Eth1/ Output from Node A A# show bgp ipv4 labeled-unicast /24 BGP routing table information for VRF default, address family IPv4 Label Unicast BGP routing table entry for /24, version Paths: (16 available, best #1) Flags: (0x20c001a) on xmit-list, is in urib, is best urib route, is in HW, has label label af: version 18842, (0x100002) on xmit-list local label: < Again SRGB base value + label index giving us same label. Advertised path-id 1, Label AF advertised path-id 1 Path type: external, path is valid, received and used, is best path, no labeled nexthop, in rib AS-Path: 1 100, path sourced external to AS (metric 0) from ( ) Origin IGP, MED not set, localpref 100, weight 0 Received label < This was the label allocated by D, which is sent to A. Prefix-SID Attribute: Length: 10 Label Index TLV: Length 7, Flags 0x0 Label Index 10 < Same label index is carried in BGP update 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 10 of 30

11 A-sys08-eor3# show mpls switching /24 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. IPV4: In-Label Out-Label FEC name Out-Interface Next-Hop /24 Eth1/ /24 Eth1/ /24 Eth1/ A# show ip route /24 IP Route Table for VRF "default" '*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] '%<string>' in via output denotes VRF <string> /24, ubest/mbest: 3/0 < This is 3-way ECMP via B, C, and D *via , [20/0], 07:25:30, bgp-300, external, tag 200 (mpls) *via , [20/0], 07:25:30, bgp-300, external, tag 200 (mpls) *via , [20/0], 07:25:30, bgp-300, external, tag 200 (mpls) A# Traffic Steering Using Segment Routing Segment routing architecture allows an application to steer a packet flow through any topology and service chain by using source routing. Segment routing is fundamental to providing end-to-end policy, scalability, functions, and simplicity. A typical use case for segment routing is traffic steering across an explicit path as the BGP-LU control plane establishes segment routing forwarding paths on specific nodes. Labels stacks can be allocated at the hosts through an external controller or other similar mechanism. Stacking labels at the host allows path splicing, as explained in the following section. The topology in Figure 5 shows a three-tier data center design with ToR, leaf, and spine switches. For every node, there is also an associated node SID Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 11 of 30

12 Figure 5. Traffic Steering Using Segment Routing Switch Node SID E D C B A For data traffic from ToR switch E to spine switch A, you can see how to steer the traffic with an explicit path embedded in the application through the label stack. Next consider the case in which you want data traffic to follow a path from node E to node D to node A. As shown in Figure 6, two labels are inserted into the MPLS header in the application, with the top label being the node SID of switch D. When node E performs an MPLS forwarding operation, it will pop the top label (16002) because it is penultimate hopfor node D. This packet will be sent to node D. When node D performs the MPLS forwarding function, it sees that the MPLS label is for node A, for which it is penultimate hop, so it will pop the MPLS label and send the payload to node A Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 12 of 30

13 Figure 6. Traffic Steering Using Segment Routing Data Path Similarly, the following label stack sent from the application will steer traffic along a path from node E to node C to node A (Figure 7). Figure 7. Traffic Steering Using Segment Routing Data Path Over-the-Top Service with Multihop BGP As shown in previous section, data center nodes have redundancy at every level to protect against link and device failures. With redundancy in place at various locations in the network, any MPLS prefix, also known as forwarding equivalence class (FEC) will be reachable through more than one path and will be seen as ECMP. For each FEC, a unique MPLS label needs to be pushed or swapped. With this approach, you need to maintain a separate ECMP object for each FEC, and at some point you will reach the hardware resource limit for ECMP objects. Previously, this document discussed the way that the control plane and data plane works with an MPLS prefix (FEC) Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 13 of 30

14 Although it is good to propagate the same FEC information in all nodes, in some scenarios the transit nodes don t need to know about all the FECs. This requirement depends on hardware resource use, and operationally it can be achieved in several ways. To facilitate this approach, you can use an overlay with BGP peering and an MPLS underlay. The MPLS underlay is built with hop-by-hop BGP-LU neighbors. For the overlay, you would use multihop BGP peering between two endpoints (typically loopback interfaces of the nodes). These endpoints are learned through the MPLS underlay. For example, in the topology in Figure 8, node A (spine switch) and node E (ToR switch) are advertising their loopback interfaces in the MPLS underlay. Using this loopback address, multihop BGP peering is performed between them. This multihop BGP peering negotiates IPv4 address family unicast capabilities. Figure 8. Over-the-Top-Service with Multihop BGP With this multihop BGP session in place between nodes E and A, IP prefixes can be exchanged directly between them as plain IPv4 prefixes with the BGP peering endpoint as the next hop. This peering endpoint is learned through the MPLS underlay using hop-by-hop BGP neighbors with LUAF. Hence, when this route is recursively programmed into the hardware, it is programmed as an MPLS route. Transit nodes B, C, and D do not learn these prefixes. This approach typically is used when MPLS-enabled services to and from the outside need to be used. In this case, only one MPLS label is used to service multiple prefixes.!node E interface loopback1 ip address /32 router bgp 100 address-family ipv4 unicast!advertise loopback1 in MPLS with label-index network /32 route-map ADD_1!Node A interface loopback1 ip address /32 router bgp 300 address-family ipv4 unicast!advertise loopback1 in MPLS with label-index network /32 route-map ADD_ Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 14 of 30

15 template peer MULTI-HOP-BGP-V4 ebgp-multihop 3 address-family ipv4 unicast!below route policy is needed to avoid underlay!prefixes going over overlay route-map AVOID-LOOP out neighbor inherit peer MULTI-HOP-BGP-V4 remote-as 300 update-source loopback1 route-map AVOID-LOOP deny 10 match ip address prefix-list MATCH_MPLS_PFX route-map AVOID-LOOP permit 20!Avoid advertising loopback used for peering over the peering session itself ip prefix-list MATCH_MPLS_PFX seq 5 permit /32 ip prefix-list MATCH_MPLS_PFX seq 10 permit /32!Avoid MPLS underlay routes going over overlay ip prefix-list MATCH_MPLS_PFX seq 15 permit /24 template peer MULTI-HOP-BGP-V4 ebgp-multihop 3 address-family ipv4 unicast!below route policy is needed to avoid underlay!prefixes going over overlay route-map AVOID-LOOP out neighbor inherit peer MULTI-HOP-BGP-V4 remote-as 100 update-source loopback1 route-map AVOID-LOOP deny 10 match ip address prefix-list MATCH_MPLS_PFX route-map AVOID-LOOP permit 20!Avoid advertising loopback used for peering over the peering session itself ip prefix-list MATCH_MPLS_PFX seq 5 permit /32 ip prefix-list MATCH_MPLS_PFX seq 10 permit /32!Avoid MPLS underlay routes going over overlay ip prefix-list MATCH_MPLS_PFX seq 15 permit /24 The following example shows a route learned on node A from the multihop BGP neighbor of node E. A# show ip bgp summary BGP summary information for VRF default, address family IPv4 Unicast BGP router identifier , local AS number 300 BGP table version is 58787, IPv4 Unicast config peers 3, capable peers network entries and paths using bytes of memory BGP attribute entries [15/2340], BGP AS path entries [1/10] BGP community entries [0/0], BGP clusterlist entries [0/0] received paths for inbound soft reconfiguration identical, 0 modified, 0 filtered received paths using 0 bytes Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd :22: A# A# show ip bgp / Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 15 of 30

16 BGP routing table information for VRF default, address family IPv4 Unicast BGP routing table entry for /24, version Paths: (1 available, best #1) Flags: (0x08001a) on xmit-list, is in urib, is best urib route, is in HW label af: version 66266, (0x100002) on xmit-list Multipath: ebgp ibgp Advertised path-id 1, Label AF advertised path-id 1 Path type: external, path is valid, received and used, is best path, no labeled nexthop, in rib AS-Path: , path sourced external to AS (metric 0) from ( ) Origin IGP, MED not set, localpref 100, weight 0 Path-id 1 not advertised to any peer Label AF advertisement Path-id 1 not advertised to any peer A# A# show ip route IP Route Table for VRF "default" '*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] '%<string>' in via output denotes VRF <string> /24, ubest/mbest: 1/0 *via , [20/0], 06:07:19, bgp-300, external, tag 100 A-sys08-eor3# show ip route IP Route Table for VRF "default" '*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] '%<string>' in via output denotes VRF <string> /32, ubest/mbest: 16/0 *via , [20/0], 06:23:28, bgp-300, external, tag 200 (mpls) *via , [20/0], 06:23:28, bgp-300, external, tag 200 (mpls) A# 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 16 of 30

17 Layer 3 EVPN Beginning with Cisco NX-OS Release 7.0(3)I6(1), you can configure EVPN over segment routing MPLS. EVPN is control plane that has been used in virtualized DC. It s becoming a common control plane for L2 and L3 services into the DC as it supports multiple data plane encapsulation as it uses the same traditional building blocks: Route-Target (RT), Route-Distinguisher (RD), and VRFs. EVPN family introduces next generation solutions for Ethernet services as BGP takes the role of the control plane for Ethernet Segment and MAC distribution learning over MPLS and VXLAN data-plane EVPN over segment routing MPLS offers the following main benefits: Multi-tenant, scalable, high performance data center Provides common operation models across DC & WAN Seamless transport with SR & efficient control plane with EVPN BGP EVPN Route type Type 1: Ethernet autodiscovery (EAD) route Type 2: MAC and MAC-IP route advertisements Type 3: Inclusive multicast route Type 4: Ethernet segment route Type 5: IP prefix route With EVPN over segment routing MPLS, there are 2 parts, L2 and L3. With Cisco NX-OS Release 7.0(3)I6(1), we will be supporting L3 only which means it s a Type-5 route which is IP/Prefix route. The IP prefix routes (Type-5) are: Type-5 route with VXLAN encapsulation RT-5 Route IP Prefix RD: L3 RD IP Length: prefix length IP address: IP Label1: Route Target L3VNI RT for IP-VRF Tunnel Type VxLAN Router MAC Type-5 route with MPLS encapsulation RT-5 Route IP Prefix RD: L3 RD IP Length: prefix length IP address: IP Label1: BGP MPLS Label Route Target RT for IP-VRF 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 17 of 30

18 Layer 3 EVPN over Segment Routing MPLS Configuration Table 1 outlines a sample configuration for enabling L3 EVPN over segment routing Command or Action feature BGP install feature-set mpls feature-set mpls feature mpls segment-routing feature mpls evpn Purpose Enables BGP feature and BGP configurations Enables MPLS configuration commands Enables MPLS configuration commands Enables Segment Routing configuration commands Enables EVPN over MPLS configuration commands Sample Configuration IBGP Network with route reflector In the above topology, we have a BGP SR session over the physical interfaces forming the Segment Routing underlay and a BGP EVPN session over the loopback of the nodes. Route- Reflectors are deployed for scaling purposes and optionally user can use ebgp for overlay peering Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 18 of 30

19 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 19 of 30

20 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 20 of 30

21 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 21 of 30

22 Layer 3 EVPN over SR Functionality Verification 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 22 of 30

23 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 23 of 30

24 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 24 of 30

25 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 25 of 30

26 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 26 of 30

27 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 27 of 30

28 Orchestration The segment routing configuration can be pushed to the switch using the orchestration tool. Orchestration can be performed using the Cisco NX-API and the representational state transfer (REST) API. The following configuration example shows how to enable segment routing using the NX-API. The first step is to enable the NX-API feature on the switch. If it is not already configured, you need to configure the management IP address and the username and password. A#config t A(config)#feature nx-api A(config)#interface mgmt 0 A(config-if)#ip address /24 A(config-if)#no shut A(config-if)#exit A(config)#username administrator password cisco123 A(config)#end A# Next, you push the configuration to the switch. You can do this from the web interface (Figure 9). You need to type the command as when you configure a switch through the CLI. Then you click POST to push the configuration to the switch. This interface will also generate pseudocode, which you can then copy to the clipboard and use as part of the script. Figure 9. Configuration via NX-API Using Web Interface 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 28 of 30

29 The following Python script was built using the pseudocode generated from the web interface. import requests import json url=' switchuser='administrator' switchpassword='cisco123' myheaders={'content-type':'application/json-rpc'} payload=[ ] { }, { } "jsonrpc": "2.0", "method": "cli", "params": { }, "cmd": "config t", "version": 1 "id": 1 "jsonrpc": "2.0", "method": "cli", "params": { }, "cmd": "segment-routing mpls", "version": 1 "id": 2 response = requests.post(url,data=json.dumps(payload, headers=myheaders,auth=(switchuser,switchpassword)).json() Conclusion Segment routing provides a flexible forwarding framework to support growing network infrastructure needs. It uses simple extensions to standardized BGP for the control plane, thereby eliminating the complexity and performance and scale limitations of Label Distribution Protocol (LDP) and Resource Reservation Protocol (RSVP). Segment routing can easily be added on top of existing MPLS forwarding infrastructure. Traffic engineering can easily be achieved without the need to maintain additional states in data center switches. Segment routing addresses WAN, enterprise, and data center needs all at the same time. It thus provides the opportunity to deliver end-to-end traffic engineering through a single operational model, and it allows application-based data path enforcement, making it an excellent choice for software-defined networking (SDN) Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 29 of 30

30 For More Information For additional information, see the following resources: See the blog about segment routing for the data center at For more information about the Cisco Nexus 9000 Series Switches, see the detailed product information at the product homepage at For more information about the Cisco Nexus 3000Series Switches, see the detailed product information at the product homepage at For more information about segment routing, visit Printed in USA C / Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 30 of 30

Nexus 9000/3000 Graceful Insertion and Removal (GIR)

Nexus 9000/3000 Graceful Insertion and Removal (GIR) White Paper Nexus 9000/3000 Graceful Insertion and Removal (GIR) White Paper September 2016 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 21

More information

MPLS VPN Multipath Support for Inter-AS VPNs

MPLS VPN Multipath Support for Inter-AS VPNs The feature supports Virtual Private Network (VPN)v4 multipath for Autonomous System Boundary Routers (ASBRs) in the interautonomous system (Inter-AS) Multiprotocol Label Switching (MPLS) VPN environment.

More information

Introduction to External Connectivity

Introduction to External Connectivity Before you begin Ensure you know about Programmable Fabric. Conceptual information is covered in the Introduction to Cisco Programmable Fabric and Introducing Cisco Programmable Fabric (VXLAN/EVPN) chapters.

More information

Configuring Static MPLS

Configuring Static MPLS This chapter contains information on how to configure static multiprotocol label switching (MPLS). About Static MPLS, page 1 Licensing Requirements for Static MPLS, page 4 Prerequisites for Static MPLS,

More information

Introduction to Segment Routing

Introduction to Segment Routing Segment Routing (SR) is a flexible, scalable way of doing source routing. Overview of Segment Routing, page 1 How Segment Routing Works, page 2 Examples for Segment Routing, page 3 Benefits of Segment

More information

Configure Segment Routing for BGP

Configure Segment Routing for BGP Border Gateway Protocol (BGP) is an Exterior Gateway Protocol (EGP) that allows you to create loop-free inter-domain routing between autonomous systems. An autonomous system is a set of routers under a

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP First Published: May 2, 2005 Last Updated: August 21, 2007 This module describes configuration tasks that will enable your Border Gateway Protocol (BGP)

More information

Provisioning Overlay Networks

Provisioning Overlay Networks This chapter has the following sections: Using Cisco Virtual Topology System, page 1 Creating Overlays, page 2 Creating Network using VMware, page 4 Creating Subnetwork using VMware, page 4 Creating Routers

More information

Routing Design. Transit Routing. About Transit Routing

Routing Design. Transit Routing. About Transit Routing Transit Routing, page 1 L3Out Ingress Policy Enforcement, page 16 L3Out MTU Considerations, page 20 Shared L3Outs, page 22 L3Out Router IDs, page 27 Multiple External Connectivity, page 30 Transit Routing

More information

BGP Enhancements for IPv6. ISP Training Workshops

BGP Enhancements for IPv6. ISP Training Workshops BGP Enhancements for IPv6 ISP Training Workshops Adding IPv6 to BGP RFC4760 Defines Multi-protocol Extensions for BGP4 Enables BGP to carry routing information of protocols other than IPv4 e.g. MPLS, IPv6,

More information

Configuring a BGP Route Server

Configuring a BGP Route Server BGP route server is a feature designed for internet exchange (IX) operators that provides an alternative to full ebgp mesh peering among the service providers who have a presence at the IX. The route server

More information

BGP mvpn BGP safi IPv4

BGP mvpn BGP safi IPv4 The BGP mvpn BGP safi 129 IPv4 feature provides the capability to support multicast routing in the service provider s core IPv4 network This feature is needed to support BGP-based MVPNs BGP MVPN provides

More information

MPLS VPN--Inter-AS Option AB

MPLS VPN--Inter-AS Option AB The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) service provider

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP This module describes configuration tasks that will enable your Border Gateway Protocol (BGP) network to access peer devices in external networks such

More information

Hierarchical Fabric Designs The Journey to Multisite. Lukas Krattiger Principal Engineer September 2017

Hierarchical Fabric Designs The Journey to Multisite. Lukas Krattiger Principal Engineer September 2017 Hierarchical Fabric Designs The Journey to Multisite Lukas Krattiger Principal Engineer September 2017 A Single Fabric, a Single Data Center External Layer-3 Network Pod 1 Leaf/ Topologies (aka Folded

More information

Configuring VXLAN EVPN Multi-Site

Configuring VXLAN EVPN Multi-Site This chapter contains the following sections: About VXLAN EVPN Multi-Site, page 1 Licensing Requirements for VXLAN EVPN Multi-Site, page 2 Guidelines and Limitations for VXLAN EVPN Multi-Site, page 2 Enabling

More information

CCIE R&S Techtorial MPLS

CCIE R&S Techtorial MPLS CCIE R&S Techtorial MPLS Ing. Tomáš Kelemen Partner Systems Engineer CCIE #24395 Ing. Peter Mesjar Systems Engineer CCIE #17428 2011 Cisco Systems, Inc. All rights reserved. 1 Agenda Introduction to MPLS

More information

Configuring MPLS Label Imposition

Configuring MPLS Label Imposition This chapter contains information on how to configure multiprotocol label switching (MPLS) label imposition. About MPLS Label Imposition, page 1 Guidelines and Limitations for MPLS Label Imposition, page

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

MPLS VPN Inter-AS Option AB

MPLS VPN Inter-AS Option AB First Published: December 17, 2007 Last Updated: September 21, 2011 The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol

More information

Configuring Advanced BGP

Configuring Advanced BGP CHAPTER 6 This chapter describes how to configure advanced features of the Border Gateway Protocol (BGP) on the Cisco NX-OS switch. This chapter includes the following sections: Information About Advanced

More information

Configuring IPv6 Provider Edge over MPLS (6PE)

Configuring IPv6 Provider Edge over MPLS (6PE) Finding Feature Information, page 1 Configuring 6PE, page 1 Finding Feature Information Your software release may not support all the features documented in this module. For the latest caveats and feature

More information

InterAS Option B. Information About InterAS. InterAS and ASBR

InterAS Option B. Information About InterAS. InterAS and ASBR This chapter explains the different InterAS option B configuration options. The available options are InterAS option B, InterAS option B (with RFC 3107), and InterAS option B lite. The InterAS option B

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

Configuring VXLAN EVPN Multi-Site

Configuring VXLAN EVPN Multi-Site This chapter contains the following sections: About VXLAN EVPN Multi-Site, page 1 Guidelines and Limitations for VXLAN EVPN Multi-Site, page 2 Enabling VXLAN EVPN Multi-Site, page 2 Configuring VNI Dual

More information

Deploy Application Load Balancers with Source Network Address Translation in Cisco DFA

Deploy Application Load Balancers with Source Network Address Translation in Cisco DFA White Paper Deploy Application Load Balancers with Source Network Address Translation in Cisco DFA Last Updated: 1/27/2016 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco

More information

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label 7 C H A P T E R S U P P L E M E N T This online supplement of Chapter 7 focuses on two important developments. The first one is Inter-Autonomous. Inter-Autonomous is a concept whereby two service provider

More information

Border Provisioning Use Case in VXLAN BGP EVPN Fabrics - Multi-Site

Border Provisioning Use Case in VXLAN BGP EVPN Fabrics - Multi-Site Border Provisioning Use Case in VXLAN BGP EVPN Fabrics - Multi-Site This chapter explains LAN Fabric border provisioning using EVPN Multi-Site feature. Overview, page 1 Prerequisites, page 1 Limitations,

More information

Multiprotocol BGP Extensions for IP Multicast Commands

Multiprotocol BGP Extensions for IP Multicast Commands Multiprotocol BGP Extensions for IP Multicast Commands Use the commands in this chapter to configure and monitor multiprotocol BGP. Multiprotocol BGP is based on RFC 2283, Multiprotocol Extensions for

More information

MPLS VPN Route Target Rewrite

MPLS VPN Route Target Rewrite The feature allows the replacement of route targets on incoming and outgoing Border Gateway Protocol (BGP) updates Typically, Autonomous System Border Routers (ASBRs) perform the replacement of route targets

More information

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN Platformă de e-learning și curriculă e-content pentru învățământul superior tehnic Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN MPLS VPN 5-ian-2010 What this lecture is about: IP

More information

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF MODULE 05 MULTIPROTOCOL LABEL SWITCHING (MPLS) AND LABEL DISTRIBUTION PROTOCOL (LDP) 1 by Xantaro IP Routing In IP networks, each router makes an independent

More information

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS Computer Network Architectures and Multimedia Guy Leduc Chapter 2 MPLS networks Chapter based on Section 5.5 of Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross Addison-Wesley,

More information

Implementing MPLS VPNs over IP Tunnels

Implementing MPLS VPNs over IP Tunnels The MPLS VPNs over IP Tunnels feature lets you deploy Layer 3 Virtual Private Network (L3VPN) services, over an IP core network, using L2TPv3 multipoint tunneling instead of MPLS. This allows L2TPv3 tunnels

More information

Feature Information for BGP Control Plane, page 1 BGP Control Plane Setup, page 1. Feature Information for BGP Control Plane

Feature Information for BGP Control Plane, page 1 BGP Control Plane Setup, page 1. Feature Information for BGP Control Plane Feature Information for, page 1 Setup, page 1 Feature Information for Table 1: Feature Information for Feature Releases Feature Information PoAP diagnostics 7.2(0)N1(1) Included a new section on POAP Diagnostics.

More information

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by:

Deploy MPLS L3 VPN. APNIC Technical Workshop October 23 to 25, Selangor, Malaysia Hosted by: Deploy MPLS L3 VPN APNIC Technical Workshop October 23 to 25, 2017. Selangor, Malaysia Hosted by: Issue Date: [201609] Revision: [01] Acknowledgement Cisco Systems Course Outline MPLS L3 VPN Models L3

More information

ibgp Multipath Load Sharing

ibgp Multipath Load Sharing This feature module describes the feature. This feature enables the BGP speaking router to select multiple ibgp paths as the best paths to a destination. The best paths or multipaths are then installed

More information

Implementing VXLAN. Prerequisites for implementing VXLANs. Information about Implementing VXLAN

Implementing VXLAN. Prerequisites for implementing VXLANs. Information about Implementing VXLAN This module provides conceptual information for VXLAN in general and configuration information for layer 2 VXLAN on Cisco ASR 9000 Series Router. For configuration information of layer 3 VXLAN, see Implementing

More information

IP Fabric Reference Architecture

IP Fabric Reference Architecture IP Fabric Reference Architecture Technical Deep Dive jammon@brocade.com Feng Shui of Data Center Design 1. Follow KISS Principle Keep It Simple 2. Minimal features 3. Minimal configuration 4. Configuration

More information

BGP Additional Paths. Finding Feature Information. Information About BGP Additional Paths. Problem That Additional Paths Can Solve

BGP Additional Paths. Finding Feature Information. Information About BGP Additional Paths. Problem That Additional Paths Can Solve The feature allows the advertisement of multiple paths through the same peering session for the same prefix without the new paths implicitly replacing any previous paths. This behavior promotes path diversity

More information

MPLS VPN. 5 ian 2010

MPLS VPN. 5 ian 2010 MPLS VPN 5 ian 2010 What this lecture is about: IP CEF MPLS architecture What is MPLS? MPLS labels Packet forwarding in MPLS MPLS VPNs 3 IP CEF & MPLS Overview How does a router forward packets? Process

More information

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth The Border Gateway Protocol (BGP) Link Bandwidth feature is used to advertise the bandwidth of an autonomous system exit link as an extended community. This feature is configured for links between directly

More information

Data Center Configuration. 1. Configuring VXLAN

Data Center Configuration. 1. Configuring VXLAN Data Center Configuration 1. 1 1.1 Overview Virtual Extensible Local Area Network (VXLAN) is a virtual Ethernet based on the physical IP (overlay) network. It is a technology that encapsulates layer 2

More information

Configuring VXLAN EVPN Multi-Site

Configuring VXLAN EVPN Multi-Site This chapter contains the following sections: About VXLAN EVPN Multi-Site, on page 1 Licensing Requirements for VXLAN EVPN Multi-Site, on page 2 Guidelines and Limitations for VXLAN EVPN Multi-Site, on

More information

Solution Guide. Infrastructure as a Service: EVPN and VXLAN. Modified: Copyright 2016, Juniper Networks, Inc.

Solution Guide. Infrastructure as a Service: EVPN and VXLAN. Modified: Copyright 2016, Juniper Networks, Inc. Solution Guide Infrastructure as a Service: EVPN and VXLAN Modified: 2016-10-16 Juniper Networks, Inc. 1133 Innovation Way Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net All rights reserved.

More information

What You Will Learn By the end of this appendix, you should know and be able to explain the following:

What You Will Learn By the end of this appendix, you should know and be able to explain the following: What You Will Learn By the end of this appendix, you should know and be able to explain the following: What static MPLS labels are and how they can be used The difference between static MPLS bindings and

More information

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution This feature lets you configure your carrier supporting carrier network to enable Border Gateway Protocol (BGP) to transport routes and Multiprotocol

More information

BGP Support for the L2VPN Address Family

BGP Support for the L2VPN Address Family BGP support for the Layer 2 Virtual Private Network (L2VPN) address family introduces a BGP-based autodiscovery mechanism to distribute L2VPN endpoint provisioning information. BGP uses a separate L2VPN

More information

Configuring Virtual Private LAN Service (VPLS) and VPLS BGP-Based Autodiscovery

Configuring Virtual Private LAN Service (VPLS) and VPLS BGP-Based Autodiscovery Configuring Virtual Private LAN Service (VPLS) and VPLS BGP-Based Autodiscovery Finding Feature Information, page 1 Configuring VPLS, page 1 Configuring VPLS BGP-based Autodiscovery, page 17 Finding Feature

More information

Implementing DCI VXLAN Layer 3 Gateway

Implementing DCI VXLAN Layer 3 Gateway This chapter module provides conceptual and configuration information for Data Center Interconnect (DCI) VXLAN Layer 3 Gateway on Cisco ASR 9000 Series Router. Release Modification Release 5.3.2 This feature

More information

MPLS VPN Explicit Null Label Support with BGP. BGP IPv4 Label Session

MPLS VPN Explicit Null Label Support with BGP. BGP IPv4 Label Session MPLS VPN Explicit Null Label Support with BGP IPv4 Label Session The MPLS VPN Explicit Null Label Support with BGP IPv4 Label Session feature provides a method to advertise explicit null in a Border Gateway

More information

IOS-XR EVPN Distributed Anycast IRB Gateway, L2/L3VPN Service with MPLS Data Plane

IOS-XR EVPN Distributed Anycast IRB Gateway, L2/L3VPN Service with MPLS Data Plane IOS-XR EVPN Distributed Anycast IRB Gateway, L2/L3VPN Service with MPLS Data Plane Table of Content: 1. Overview... 2 2. Transport... 3 3. Services EVPN IRB L2/l3VPN Multipoint... 4 3.1. VRF/IRB Configuration...

More information

BGP FlowSpec Route-reflector Support

BGP FlowSpec Route-reflector Support The BGP (Border Gateway Protocol) Flowspec (Flow Specification) Route Reflector feature enables service providers to control traffic flows in their network. This helps in filtering traffic and helps in

More information

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0 From the technology basics to advanced VPN configuration. $3,995.00 5 Days Upcoming Dates Dec 10 - Dec 14 Mar 25 - Mar 29 Course Description

More information

Configure Segment Routing for IS-IS Protocol

Configure Segment Routing for IS-IS Protocol Integrated Intermediate System-to-Intermediate System (IS-IS), Internet Protocol Version 4 (IPv4), is a standards-based Interior Gateway Protocol (IGP). The Cisco IOS XR software implements the IP routing

More information

Module 6 Implementing BGP

Module 6 Implementing BGP Module 6 Implementing BGP Lesson 1 Explaining BGP Concepts and Terminology BGP Border Gateway Protocol Using BGP to Connect to the Internet If only one ISP, do not need BGP. If multiple ISPs, use BGP,

More information

VXLAN Design with Cisco Nexus 9300 Platform Switches

VXLAN Design with Cisco Nexus 9300 Platform Switches Guide VXLAN Design with Cisco Nexus 9300 Platform Switches Guide October 2014 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 39 Contents What

More information

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

BGP Cost Community. Prerequisites for the BGP Cost Community Feature The feature introduces the cost extended community attribute. The cost community is a non-transitive extended community attribute that is passed to internal BGP (ibgp) and confederation peers but not to

More information

BGP Support for 4-byte ASN

BGP Support for 4-byte ASN The Cisco implementation of 4-byte autonomous system (AS) numbers uses asplain (65538, for example) as the default regular expression match and the output display format for AS numbers. However, you can

More information

Configuring BGP: RT Constrained Route Distribution

Configuring BGP: RT Constrained Route Distribution Configuring BGP: RT Constrained Route Distribution BGP: RT Constrained Route Distribution is a feature that can be used by service providers in Multiprotocol Label Switching (MPLS) Layer 3 VPNs to reduce

More information

BGP Best External. Finding Feature Information

BGP Best External. Finding Feature Information The feature provides the network with a backup external route to avoid loss of connectivity of the primary external route. The feature advertises the most preferred route among those received from external

More information

BGP Event-Based VPN Import

BGP Event-Based VPN Import The feature introduces a modification to the existing Border Gateway Protocol (BGP) path import process. The enhanced BGP path import is driven by events; when a BGP path changes, all of its imported copies

More information

Implementing MPLS Layer 3 VPNs

Implementing MPLS Layer 3 VPNs A Multiprotocol Label Switching (MPLS) Layer 3 Virtual Private Network (VPN) consists of a set of sites that are interconnected by means of an MPLS provider core network. At each customer site, one or

More information

MPLS VPN Inter-AS IPv4 BGP Label Distribution

MPLS VPN Inter-AS IPv4 BGP Label Distribution MPLS VPN Inter-AS IPv4 BGP Label Distribution This feature enables you to set up a Virtual Private Network (VPN) service provider network so that the autonomous system boundary routers (ASBRs) exchange

More information

BGP Dynamic Neighbors

BGP Dynamic Neighbors BGP dynamic neighbor support allows BGP peering to a group of remote neighbors that are defined by a range of IP addresses. Each range can be configured as a subnet IP address. BGP dynamic neighbors are

More information

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth The BGP (Border Gateway Protocol) Link Bandwidth feature is used to advertise the bandwidth of an autonomous system exit link as an extended community. This feature is configured for links between directly

More information

VXLAN EVPN Multihoming with Cisco Nexus 9000 Series Switches

VXLAN EVPN Multihoming with Cisco Nexus 9000 Series Switches White Paper VXLAN EVPN Multihoming with Cisco Nexus 9000 Series Switches 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. Page 1 of 27 Contents Introduction...

More information

Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6)

Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6) Next Generation MULTICAST In-band Signaling (VRF MLDP: Profile 6) Contents Introduction Background Information MLDP Signaling In-Band Signaling Overlay or Out-Of-Band Signaling Label Distribution Protocol

More information

Configuring Multicast VPN Inter-AS Support

Configuring Multicast VPN Inter-AS Support Configuring Multicast VPN Inter-AS Support Last Updated: December 23, 2011 The Multicast VPN Inter-AS Support feature enables Multicast Distribution Trees (MDTs) used for Multicast VPNs (MVPNs) to span

More information

BGP Tutorial AFNOG2000 Class IP Assignments

BGP Tutorial AFNOG2000 Class IP Assignments BGP Tutorial AFNOG2000 Class IP Assignments Note: Refer to this sheet for your IP assignments throughout the BGP lab exercises. Anatomy of a BGP Configuration ip bgp-community new-format router bgp 3582

More information

BGP Support for the L2VPN Address Family

BGP Support for the L2VPN Address Family BGP Support for the L2VPN Address Family Last Updated: November 21, 2012 BGP support for the Layer 2 Virtual Private Network (L2VPN) address family introduces a BGP-based autodiscovery mechanism to distribute

More information

Segment Routing Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.1.x

Segment Routing Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.1.x Segment Routing Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.1.x First Published: 2015-09-01 Last Modified: 2016-11-21 Americas Headquarters Cisco Systems, Inc. 170 West Tasman

More information

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution This feature enables you to configure your carrier supporting carrier network to enable Border Gateway Protocol (BGP) to transport routes

More information

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP MPLS VPN Carrier Supporting Carrier Using LDP and an IGP Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Carrier Supporting Carrier (CSC) enables one MPLS VPN-based service provider

More information

VXLAN EVPN Fabric and automation using Ansible

VXLAN EVPN Fabric and automation using Ansible VXLAN EVPN Fabric and automation using Ansible Faisal Chaudhry, Principal Architect Umair Arshad, Sr Network Consulting Engineer Lei Tian, Solution Architecture Cisco Spark How Questions? Use Cisco Spark

More information

Cisco BGP Overview. Finding Feature Information. Prerequisites for Cisco BGP

Cisco BGP Overview. Finding Feature Information. Prerequisites for Cisco BGP Border Gateway Protocol (BGP) is an interdomain routing protocol designed to provide loop-free routing between separate routing domains that contain independent routing policies (autonomous systems). The

More information

MPLS Label Distribution Protocol (LDP)

MPLS Label Distribution Protocol (LDP) MPLS Label Distribution Protocol (LDP) Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) enables peer label switch routers (LSRs) in an MPLS network to exchange label binding information

More information

Provisioning Overlay Networks

Provisioning Overlay Networks This chapter has the following sections: Using Cisco Virtual Topology System, page 1 Creating Overlays, page 2 Creating Network using VMware, page 3 Creating Subnetwork using VMware, page 4 Creating Routers

More information

IOS Implementation of the ibgp PE CE Feature

IOS Implementation of the ibgp PE CE Feature IOS Implementation of the ibgp PE CE Feature Document ID: 117567 Contributed by Luc De Ghein, Cisco TAC Engineer. Apr 04, 2014 Contents Introduction Background Information Implement ibgp PE CE BGP Customer

More information

Configure SR-TE Policies

Configure SR-TE Policies This module provides information about segment routing for traffic engineering (SR-TE) policies, how to configure SR-TE policies, and how to steer traffic into an SR-TE policy. About SR-TE Policies, page

More information

Configure Segment Routing Mapping Server

Configure Segment Routing Mapping Server The mapping server is a key component of the interworking between LDP and segment routing. It enables SR-capable nodes to interwork with LDP nodes. The mapping server advertises Prefix-to-SID mappings

More information

Contents. EVPN overview 1

Contents. EVPN overview 1 Contents EVPN overview 1 EVPN network model 1 MP-BGP extension for EVPN 2 Configuration automation 3 Assignment of traffic to VXLANs 3 Traffic from the local site to a remote site 3 Traffic from a remote

More information

Segment Routing Configuration Guide

Segment Routing Configuration Guide Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 2017 Cisco Systems, Inc. All rights

More information

Ethernet VPN (EVPN) in Data Center

Ethernet VPN (EVPN) in Data Center Ethernet VPN (EVPN) in Data Center Description and Design considerations Vasilis Stavropoulos Sparkle GR EVPN in Data Center The necessity for EVPN (what it is, which problems it solves) EVPN with MPLS

More information

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses The Multiprotocol Label Switching (MPLS) VPN Inter-AS with Autonomous System Boundary Routers (ASBRs) Exchanging VPN-IPv4 Addresses feature allows

More information

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF MODULE 07 - MPLS BASED LAYER 2 SERVICES 1 by Xantaro MPLS BASED LAYER 2 VPNS USING MPLS FOR POINT-TO-POINT LAYER 2 SERVICES 2 by Xantaro Why are Layer-2

More information

Segment Routing With IS-IS v4 Node SID

Segment Routing With IS-IS v4 Node SID This chapter describes how Segment Routing (SR) works with IS-IS. Restrictions for, page 1 Information About Segment Routing IS-IS v4 Node SID, page 1 How to Configure Segment Routing IS-IS v4 Node SID,

More information

Optimizing Layer 2 DCI with OTV between Multiple VXLAN EVPN Fabrics (Multifabric)

Optimizing Layer 2 DCI with OTV between Multiple VXLAN EVPN Fabrics (Multifabric) White Paper Optimizing Layer 2 DCI with OTV between Multiple VXLAN EVPN Fabrics (Multifabric) What You Will Learn This document describes how to achieve a VXLAN EVPN multifabric design by integrating Virtual

More information

BGP Route Reflector Commands

BGP Route Reflector Commands This chapter provides details of the commands used for configuring Border Gateway Protocol (BGP) Route Reflector (RR). address-family (BGP), on page 2 keychain, on page 5 neighbor (BGP), on page 7 remote-as

More information

MPLS VPN Carrier Supporting Carrier

MPLS VPN Carrier Supporting Carrier MPLS VPN Carrier Supporting Carrier Feature History Release 12.0(14)ST 12.0(16)ST 12.2(8)T 12.0(21)ST 12.0(22)S 12.0(23)S Modification This feature was introduced in Cisco IOS Release 12.0(14)ST. Support

More information

BGP Commands: M through N

BGP Commands: M through N match additional-paths advertise-set, on page 3 match as-path, on page 6 match community, on page 8 match extcommunity, on page 10 match local-preference, on page 12 match policy-list, on page 14 match

More information

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP MPLS VPN Carrier Supporting Carrier Using LDP and an IGP Last Updated: December 14, 2011 Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Carrier Supporting Carrier (CSC) enables one

More information

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0 APNIC elearning: BGP Basics 30 September 2015 1:00 PM AEST Brisbane (UTC+10) Issue Date: 07 July 2015 Revision: 2.0 Presenter Nurul Islam (Roman) Senior Training Specialist, APNIC Nurul maintains the APNIC

More information

MPLS Label Distribution Protocol (LDP)

MPLS Label Distribution Protocol (LDP) MPLS Label Distribution Protocol (LDP) First Published: January 1, 1999 Last Updated: May 1, 2008 Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) enables peer label switch routers

More information

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08) BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 17.3, 2017/12/04 13:20:08) Tuesday, December 5, 2017 Karst Koymans (UvA) BGP Tuesday,

More information

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER

Tag Switching. Background. Tag-Switching Architecture. Forwarding Component CHAPTER CHAPTER 23 Tag Switching Background Rapid changes in the type (and quantity) of traffic handled by the Internet and the explosion in the number of Internet users is putting an unprecedented strain on the

More information

Cisco Evolved Programmable Network Implementation Guide for Large Network with End-to-End Segment Routing, Release 5.0

Cisco Evolved Programmable Network Implementation Guide for Large Network with End-to-End Segment Routing, Release 5.0 Cisco Evolved Programmable Network Implementation Guide for Large Network with End-to-End Segment Routing, Release 5.0 First Published: 2017-06-22 Americas Headquarters Cisco Systems, Inc. 170 West Tasman

More information

Network Configuration Example

Network Configuration Example Network Configuration Example Interconnecting a Layer 2 Circuit with a Layer 3 VPN Modified: 2017-01-19 Juniper Networks, Inc. 1133 Innovation Way Sunnyvale, California 94089 USA 408-745-2000 www.juniper.net

More information

Segment Routing Configuration Guide, Cisco IOS XE Fuji 16.7.x

Segment Routing Configuration Guide, Cisco IOS XE Fuji 16.7.x Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 2018 Cisco Systems, Inc. All rights

More information

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015 .. MPLS Multi Protocol Label Switching (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 4.3, 2015/03/09 13:07:57) Thursday, March 12, 2015 Karst Koymans (UvA) MPLS

More information