cisco · Cisco IOS · 40 pp.

Cisco IOS MPLS VPN InterAS Options Configuration Manual PDF

Руководство по настройке MPLS VPN InterAS Options (Option B и Option AB по RFC4364) для межсистемного соединения VPN между разными автономными системами MPLS-провайдеров.

Related manuals

Contents

Document text

Autonomous Systems and ASBRs

Configuring MPLS VPN InterAS Options Information About MPLS VPN InterAS Options, on page 1 How to Configure MPLS VPN InterAS Options, on page 7 Verifying MPLS VPN InterAS Options Configuration, on page 22 Configuration Examples for MPLS VPN InterAS Options, on page 23 Additional References for MPLS VPN InterAS Options, on page 39 Feature History for MPLS VPN InterAS Options, on page 39 Information About MPLS VPN InterAS Options The MPLS VPN InterAS Options feature provides various ways of interconnecting VPNs between different MPLS VPN service providers.

This allows sites of a customer to exist on several carrier networks (autonomous systems) and have seamless VPN connectivity between these sites. Autonomous Systems and ASBRs An autonomous system (AS) is a single network or group of networks that is controlled by a common system administration group and using a single, clearly defined protocol. In many cases, VPNs extend to different ASes in different geographical areas. Some VPNs must extend across multiple service providers; these VPNs are called overlapping VPNs. The connection between ASes must be seamless to the customer, regardless of the complexity or location of the VPNs.

An autonomous system boundary router (ASBR) is a device in an AS that is configured by using more than one routing protocol, and exchanges routing information with other ASBRs by using an exterior routing protocol (for example, eBGP), or use static routes, or both. Separate autonomous systems from different service providers communicate by exchanging information in the form of VPN IP addresses and they use the following protocols to share routing information: • Within an AS, routing information is shared using iBGP. iBGP distributes network layer information for IP prefixes within each VPN and each AS. • Between autonomous systems, routing information is shared using eBGP.

eBGP allows service providers to set up an interdomain routing system that guarantees loop-free exchange of routing information between separate autonomous systems. The primary function of eBGP is to exchange network reachability information between autonomous systems, including information about the list of AS routes. The autonomous systems use eBGP border edge routers to distribute the routes, Configuring MPLS VPN InterAS Options 1

Page 1

InterAS Option B

which includes label-switching information. Each border edge router rewrites the next-hop and MPLS labels. MPLS VPN InterAS Options configuration is supported and can include an inter provider VPN, which is MPLS VPNs that include two or more autonomous systems, connected by separate border edge routers. The autonomous systems exchange routes using eBGP, and no iBGP or routing information is exchanged between the autonomous systems. MPLS VPN InterAS Options The following options defined in RFC4364 provide MPLS VPN connectivity between different autonomous systems: • InterAS Option B: This option provides VPNv4 route distribution between ASBRs. • InterAS Option AB:

This option combines the best functionality of an interAS option A and interAS option B network to allow an MPLS VPN service provider to interconnect different autonomous systems to provide VPN services. InterAS Option B In an interAS option B network, ASBR ports are connected by one or more interfaces that are enabled to receive MPLS traffic. With this option, the ASBRs peer with each other using eBGP session. The ASBR also functions as a PE router and peers with every PE router in their AS. The ASBR does not hold any VRFs but holds all or a subset of VPNv4 routes from PE router that need to be passed to the other AS.

VPNv4 routes are kept unique in ASBR using route-distinguisher and are filtered using route targets. The ASBRs exchange VPNv4 routes and VPN labels using eBGP. Figure 1: Topology for InterAS Option B Two methods are supported to distribute the next hop for VPNv4 routes between ASBRs. There is no requirement for LDP or any IGP to be enabled on the link connecting the two ASBRs. The MP-eBGP session Configuring MPLS VPN InterAS Options MPLS VPN InterAS Options Configuring MPLS VPN InterAS Options 2

Page 2

Next-Hop Self Method

between directly connected interfaces on the ASBRs enables the interfaces to forward labeled packets. To ensure this MPLS forwarding for directly connected BGP peers, you must configure mpls bgp forwarding command on the interface connecting to ASBR. This command is implemented in the IOS for directly connected interfaces. Upto 200 BGP neighbors can be configured. Next-hop-self Method: Changing next-hop to that of the local ASBR for all VPNv4 routes learnt from the other ASBR. Redistribute Connected Subnets Method:

Redistributing the next hop address of the remote ASBR into the local IGP using redistribute connected subnets command , i.e., the next hop is not changed when the VPNv4 routes are redistributed into the local AS. In case of multiple equal paths - ECMP towards remote AS, you have to configure MPLS static label bindings towards remote Loopback on ASBR. Otherwise, you may experience packet loss. Note The label switch path forwarding sections described below has AS200 configured with the Next-hop-self method and the AS300 is configured with Redistribute-subnet method. Next-Hop Self Method The following figure shows the label forwarding path for next-hop-self method.

The labels get pushed, swapped and popped on the stack as packet makes its way from PE-200 in AS 200 to PE-300 in AS 300. In step 5, ASBR-A300 receives labeled frame, replaces label 164 with label 161 pushes IGP label 162 onto the label stack. Configuring MPLS VPN InterAS Options Next-Hop Self Method Configuring MPLS VPN InterAS Options 3

Page 3

InterAS Option AB

Redistribute Connected Subnet Method The following figure shows the label forwarding path for Redistribute connected subnets method. The labels get pushed, swapped and popped on the stack as packet travels from PE- 300 in AS 300 to PE-200 in AS 200. In step 5, ASBR-A200 receives frame with BGP label 20, swaps it with label 29 and pushes label 17. InterAS Option AB MPLS VPN service providers need to interconnect different autonomous systems to provide service for multiple VPN customers. The MPLS VPN InterAS Option AB feature allows the different autonomous systems to interconnect by using a single MP-BGP session in the global routing table to carry control plane traffic.

This MP-BGP session signals VPN prefixes between two ASBRs for each VRF instance. This traffic can either be IP or MPLS. MPLS BGP forwarding or LDP does not have to be configured between the two ASBRs because the VPN traffic that is IP traffic over a VRF-specific interface. The interAS option AB feature provides the following benefits for service providers: • IP QoS functions between ASBR peers are maintained for customer SLAs. • Dataplane traffic is isolated on a per-VRF basis for security purposes. • A dedicated QoS policy can be applied on each VRF by attaching the policy on an SVI.

Configuring MPLS VPN InterAS Options Redistribute Connected Subnet Method Configuring MPLS VPN InterAS Options 4

Page 4