![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MPLS VPN Inter-AS Option AB
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents
MPLS VPN--Inter-AS Option ABLast Updated: December 14, 2011
The MPLS VPN--Inter-AS Option AB 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 to interconnect different autonomous systems to provide VPN services. These networks are defined in RFC 4364 section 10 "Multi-AS Backbones," subsections a and b, respectively. When different autonomous systems are interconnected in an MPLS VPN--Inter-AS Option AB configuration, the entire network configuration is scaled and simplified, and maintains IP quality of service (QoS) functions between Autonomous System Boundary Router (ASBR) peers. In an Inter-AS Option A network, ASBR peers are connected by multiple subinterfaces with at least one interface VPN that spans the two autonomous systems. These ASBRs associate each subinterface with a VPN routing and forwarding (VRF) instance and a Border Gateway Protocol (BGP ) session to signal unlabeled IP prefixes. As a result, traffic between the back-to-back VRFs is IP. In this scenario, the VPNs are isolated from each other, and because the traffic is IP, QoS mechanisms that operate on IP traffic can be applied to achieve customer Service Level Agreements (SLAs). The downside of this configuration is that one BGP session is needed for each subinterface (and at least one subinterface for each VPN), which causes scalability concerns as this network grows. In an Inter-AS Option B network, ASBR peers are connected by one or more subinterfaces that are enabled to receive MPLS traffic. A Multiprotocol Border Gateway Protocol (MP-BGP) session is used to distribute labeled VPN prefixes between the ASBR. As a result, the traffic that flows between them is labeled. The downside of this configuration is that, because the traffic is MPLS, QoS mechanisms that can be applied only to IP traffic cannot be applied and the VRFs cannot be isolated.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for MPLS VPN--Inter-AS Option ABFollow the appropriate configuration tasks outlined in the following documents:
Before configuring the MPLS VPN--Inter-AS Option AB feature, perform these tasks: Restrictions for MPLS VPN--Inter-AS Option AB
Information About MPLS VPN--Inter-AS Option AB
MPLS VPN--Inter-AS Option AB IntroductionMPLS VPN service providers need to interconnect different autonomous systems to provide service for multiple VPN customers. The MPLS VPN--Inter-AS 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. The data plane traffic is on a VRF interface. This traffic can either be IP or MPLS.
Benefits of MPLS VPN--Inter-AS Option ABThe MPLS VPN--Inter-AS Option AB feature provides the following benefits for service providers:
Route Distribution and Packet Forwarding in Non-CSC NetworksThe following sections describe MPLS VPN--Inter-AS Option AB operation:
The following attributes describe the topology of the sample MPLS VPN--Inter-AS Option AB network shown in the figure below:
Route Distribution for VPN 1A route distinguisher (RD) is an identifier attached to a route that identifies which VPN belongs to each route. Each routing instance must have a unique RD autonomous system associated with it. The RD is used to place a boundary around a VPN so that the same IP address prefixes can be used in different VPNs without having these IP address prefixes overlap.
The following process describes the route distribution process for VPN 1 in the figure above. Prefix "N" is used in this process to indicate the IP address of a VPN.
Packet Forwarding for VPN 1The following packet forwarding process works the same as it does in an Option A scenario. The ASBR acts like the PE by terminating the VPN and then forwards its traffic as standard IP packets with no VPN label to the next PE, which in turn repeats the VPN process. Each PE router, therefore, treats the adjacent PE router as a CE router, and the standard Layer 3 MPLS VPN mechanisms are used for route redistribution with each autonomous system; that is, the PEs use external BGP (eBGP) to distribute unlabeled IPv4 addresses to each other.
Route Distribution for VPN 2The following information describes the route distribution process for VPN 2 in the figure above:
Route Distribution and Packet Forwarding for CSCThe following sections describe MPLS VPN--Inter-AS Option AB operation for a CSC scenario for VPN 1. These sections are similar to those found in Route Distribution and Packet Forwarding in Non-CSC Networks for VPN 1, except for the method in which MPLS labels are handled between the two ASBRs.
The figure below shows how VPN 1 provides VPN service to a small customer carrier that in turn provides a VPN service to its customer. This configuration implies that VPN 1 is used to provide a label switched path (LSP) between the PE (PE 3 and PE 4) loopback interfaces of the small customer carrier.
Route Distribution for VPN 1The following information describe the route distribution process for VPN 1 in Figure 1 . Prefix "N" is used in these steps to indicate the IP address of a VPN.
Packet Forwarding for VPN 1The packet forwarding process shown below works the same as it does in an Option A scenario. See the Route Distribution and Packet Forwarding in Non-CSC Networks section for more information about Option A.
How to Configure Inter-AS Option ABThe following sections describe how to configure the Inter-AS Option AB feature on an ASBR for either an MPLS VPN or an MPLS VPN that supports CSC:
Configuring an Inter-AS Option AB ConnectionThe following sections are required and describe how to configure an Inter-AS Option AB connection on an ASBR:
Configuring the VRFs on the ASBR Interface for Each VPN CustomerUse the following steps to configure the VRFs on the ASBR interface for each VPN customer so that these VPNs have connectivity over the MPLS VPN--Inter-AS Option AB network.
Use all of the steps in the following procedure to configure additional VRFs that need to be configured on the ASBR interface and the VRFs that need to be configured on the peer ASBR interface. DETAILED STEPS Configuring the MP-BGP Session Between ASBR PeersBGP propagates reachability information for VPN-IPv4 prefixes among PE routers by means of the BGP multiprotocol extensions (see RFC 2283, Multiprotocol Extensions for BGP-4 ), which define support for address families other than IPv4. Using the extensions ensures that the routes for a given VPN are learned only by other members of that VPN, enabling members of the VPN to communicate with each other. Follow the steps in this section to configure the MP-BGP session on the ASBR. Use all of the steps in the following procedure to configure the MP BGP session on the peer ASBR. DETAILED STEPS Configuring the Routing Policy for VPNs that Need Inter-AS ConnectionsUse the steps in this section to configure VRFs for the VPNs that need Inter-AS connections between ASBR peers, by configuring the appropriate routing policy and Option AB configuration. Use all of the steps in the following procedure to configure additional VPNs that need Inter-AS Option AB connectivity on this ASBR and the peer ASBR. DETAILED STEPS
Changing an Inter-AS Option A Deployment to an Option AB DeploymentIn an Option A deployment, the VRF instances are back-to-back between the ASBR routers and there is direct connectivity between PE routers of different autonomous systems. The PE routers are attached by multiple physical or logical interfaces, each of which is associated with a given VPN (through a VRF instance). In the Option AB deployment, the different autonomous systems interconnect by using a single MP-BGP session in the global routing table to carry control plane traffic. Use the following steps to change an MPLS VPN Inter-AS Option A deployment to an Option AB deployment.
DETAILED STEPS
Configuration Examples for MPLS VPN--Inter-AS Option ABExamples Inter-AS AB Network Configuration
Example CE1! ip cef distributed ! interface lo0 ip address 192.168.13.13 255.255.255.255 no shutdown ! interface et4/0 ip address 192.168.36.1 255.255.255.0 no shutdown ! router ospf 300 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface et4/0 network 192.168.13.13 0.0.0.0 area 300 ! router bgp 300 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization neighbor 192.168.36.2 remote-as 100 neighbor 192.168.36.2 advertisement-interval 5 address-family ipv4 no auto-summary redistribute connected neighbor 192.168.36.2 activate Example CE2! ip cef distributed ! interface lo0 ip address 192.168.14.14 255.255.255.255 no shutdown ! interface et1/6 ip address 192.168.37.1 255.255.255.0 no ipv6 address no shutdown ! router ospf 400 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface et1/6 network 192.168.14.14 0.0.0.0 area 400 ! router bgp 400 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization neighbor 192.168.0.2 remote-as 100 neighbor 192.168.0.2 advertisement-interval 5 address-family ipv4 no auto-summary redistribute connected neighbor 192.168.0.2 activate ! Example PE1! ip cef distributed ! ip vrf vpn1 rd 100:1 route-target import 100:1 route-target import 200:1 route-target export 100:1 ! ip vrf vpn2 rd 100:2 route-target import 100:2 route-target import 200:2 route-target export 100:2 ! mpls ldp router-id lo0 force mpls ldp graceful-restart mpls ip mpls ip propagate-ttl mpls ldp advertise-labels mpls label protocol ldp ! interface lo0 ip address 192.168.17.17 255.255.255.255 no shutdown ! interface gi3/1 ip vrf forwarding vpn1 ip address 192.168.36.2 255.255.255.0 no shutdown ! interface gi3/8 mpls ip mpls label protocol ldp ip address 192.168.31.2 255.255.255.0 ! interface gi3/10 mpls ip mpls label protocol ldp ip address 192.168.40.1 255.255.255.0 no shutdown ! interface gi3/13 ip vrf forwarding vpn2 ip address 192.168.0.2 255.0.0.0 no shutdown ! router ospf 100 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface gi3/1 passive-interface gi3/13 network 192.168.0.0 0.0.255.255 area 10 network 192.168.17.17 0.0.0.0 area 100 network 192.168.0.0 0.0.255.255 area 100 ! router bgp 100 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no bgp default ipv4-unicast no synchronization neighbor 192.168.19.19 remote-as 100 neighbor 192.168.19.19 update-source Loopback0 address-family ipv4 vrf vpn1 no auto-summary redistribute connected neighbor 192.168.36.1 remote-as 300 neighbor 192.168.36.1 activate neighbor 192.168.36.1 advertisement-interval 5 address-family ipv4 vrf vpn2 no auto-summary redistribute connected neighbor 192.168.37.1 remote-as 400 neighbor 192.168.37.1 activate neighbor 192.168.37.1 advertisement-interval 5 address-family vpnv4 bgp scan-time import 5 neighbor 192.168.19.19 activate neighbor 192.168.19.19 send-community extended ! Example Route Reflector 1! ip cef distributed mpls ldp router-id lo0 force mpls ldp graceful-restart mpls ip mpls ip propagate-ttl mpls ldp advertise-labels mpls ip mpls label protocol ldp ! interface lo0 ip address 192.168.19.19 255.255.255.255 no shutdown ! interface gi3/3 mpls ip mpls label protocol ldp ip address 192.168.40.2 255.255.255.0 no shutdown ! router ospf 100 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 network 192.168.19.19 0.0.0.0 area 100 network 192.168.0.0 0.0.255.255 area 100 ! router bgp 100 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.11.11 remote-as 100 neighbor 192.168.11.11 update-source Loopback0 neighbor 192.168.17.17 remote-as 100 neighbor 192.168.17.17 update-source Loopback0 neighbor 192.168.11.11 route-reflector-client address-family ipv4 no neighbor 192.168.17.17 activate neighbor 192.168.11.11 route-reflector-client address-family vpnv4 bgp scan-time import 5 neighbor 192.168.11.11 activate neighbor 192.168.11.11 send-community extended neighbor 192.168.17.17 activate neighbor 192.168.17.17 send-community extended neighbor 192.168.11.11 route-reflector-client neighbor 192.168.17.17 route-reflector-client ! Example ASBR1! ip cef distributed ! ip vrf vpn1 rd 100:1 route-target import 100:1 route-target import 200:1 route-target export 100:1 inter-as-hybrid next-hop 192.168.32.2 exit ip vrf vpn2 rd 100:2 route-target import 100:2 route-target import 200:2 route-target export 100:2 inter-as-hybrid next-hop 192.168.33.2 exit mpls ldp router-id lo0 force mpls ldp graceful-restart mpls ip mpls ip propagate-ttl mpls ldp advertise-labels mpls ip mpls label protocol ldp interface lo0 ip address 192.168.11.11 255.255.255.255 no ipv6 address ip route-cache distributed ip route-cache cef distributed no shutdown interface gi3/8 mpls ip mpls label protocol ldp ip address 192.168.13.1 255.255.255.0 no ipv6 address ip route-cache distributed ip route-cache cef distributed no shutdown interface gi3/10 ip vrf forwarding vpn1 ip address 192.168.32.1 255.255.255.0 no ipv6 address ip route-cache distributed ip route-cache cef distributed no shutdown interface gi3/11 ip vrf forwarding vpn2 ip address 192.168.33.1 255.255.255.0 no ipv6 address ip route-cache distributed ip route-cache cef distributed no shutdown interface gi3/46 ip address 192.168.34.1 255.255.255.0 no ipv6 address ip route-cache distributed ip route-cache cef distributed no shutdown router ospf 100 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface gi3/10 passive-interface gi3/11 passive-interface gi3/46 network 192.168.0.0 0.0.255.255 area 100 network 192.168.11.11 0.0.0.0 area 100 router bgp 100 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization no bgp default route-target filter bgp router-id 192.168.11.11 neighbor 192.168.34.2 remote-as 200 neighbor 192.168.34.2 advertisement-interval 5 neighbor 192.168.19.19 remote-as 100 neighbor 192.168.19.19 update-source Loopback0 address-family ipv4 no auto-summary address-family ipv4 vrf vpn1 no auto-summary address-family ipv4 vrf vpn2 no auto-summary address-family vpnv4 bgp scan-time import 5 neighbor 192.168.34.2 activate neighbor 192.168.34.2 send-community both neighbor 192.168.34.2 inter-as-hybrid neighbor 192.168.19.19 activate neighbor 192.168.19.19 send-community extended ! ip route vrf vpn1 192.168.12.12 255.255.255.255 gi3/10 192.168.32.2 ip route vrf vpn2 192.168.12.12 255.255.255.255 gi3/11 192.168.33.2 ! Example ASBR 3! ip cef distributed ! ip vrf vpn1 rd 200:1 route-target import 100:1 route-target import 200:1 route-target export 200:1 inter-as-hybrid next-hop 192.168.32.1 ! ip vrf vpn2 rd 200:2 route-target import 100:2 route-target import 200:2 route-target export 200:2 inter-as-hybrid next-hop 192.168.33.1 ! mpls ldp router-id lo0 force mpls ldp graceful-restart mpls ip mpls ip propagate-ttl mpls ldp advertise-labels mpls label protocol ldp ! interface lo0 ip address 192.168.12.12 255.255.255.255 no shutdown ! interface po2/1/0 mpls ip mpls label protocol ldp ip address 192.168.35.1 255.255.255.0 crc 16 clock source internal no shutdown ! interface gi3/10 ip vrf forwarding vpn1 ip address 192.168.32.2 255.255.255.0 no shutdown ! interface gi3/11 ip vrf forwarding vpn2 ip address 192.168.33.2 255.255.255.0 no shutdown ! interface gi3/45 ip address 192.168.34.2 255.255.255.0 no shutdown ! router ospf 200 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface gi3/10 passive-interface gi3/11 passive-interface gi3/45 network 192.168.0.0 0.0.255.255 area 200 network 192.168.12.12 0.0.0.0 area 200 router bgp 200 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization no bgp default route-target filter bgp router-id 192.168.12.12 neighbor 192.168.34.1 remote-as 100 neighbor 192.168.34.1 advertisement-interval 5 neighbor 192.168.20.20 remote-as 200 neighbor 192.168.20.20 update-source Loopback0 address-family ipv4 no auto-summary address-family ipv4 vrf vpn1 no auto-summary address-family ipv4 vrf vpn2 no auto-summary address-family vpnv4 bgp scan-time import 5 neighbor 192.168.34.1 activate neighbor 192.168.34.1 send-community both neighbor 192.168.34.1 inter-as-hybrid neighbor 192.168.20.20 activate neighbor 192.168.20.20 send-community extended ! ip route vrf vpn1 192.168.11.11 255.255.255.255 gi3/10 192.168.32.1 ip route vrf vpn2 192.168.11.11 255.255.255.255 gi3/11 192.168.33.1 ! Example PE2! ip cef distributed ! ip vrf vpn1 rd 200:1 route-target import 100:1 route-target import 200:1 route-target export 200:1 ! ip vrf vpn2 rd 200:2 route-target import 100:2 route-target import 200:2 route-target export 200:2 ! mpls ldp router-id lo0 force mpls ldp graceful-restart mpls ip mpls ip propagate-ttl mpls ldp advertise-labels mpls label protocol ldp ! interface lo0 ip address 192.168.18.18 255.255.255.255 no shutdown ! interface po1/0/0 mpls ip mpls label protocol ldp ip address 192.168.35.2 255.255.255.0 crc 16 clock source internal no shutdown ! interface gi3/2 ip vrf forwarding vpn1 ip address 192.168.38.2 255.255.255.0 no shutdown ! interface gi3/8 mpls ip mpls label protocol ldp ip address 192.168.4.1 255.255.255.0 no shutdown ! interface gi3/10 ip vrf forwarding vpn2 ip address 192.168.39.2 255.255.255.0 no shutdown ! router ospf 200 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface gi3/10 passive-interface gi3/2 network 192.168.0.0 0.0.255.255 area 200 network 192.168.18.18 0.0.0.0 area 200 network 192.168.0.0 0.0.255.255 area 200 ! router bgp 200 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no bgp default ipv4-unicast no synchronization neighbor 192.168.20.20 remote-as 200 neighbor 192.168.20.20 update-source Loopback0 address-family ipv4 vrf vpn1 no auto-summary redistribute connected neighbor 192.168.38.1 remote-as 500 neighbor 192.168.38.1 activate neighbor 192.168.38.1 advertisement-interval 5 address-family ipv4 vrf vpn2 no auto-summary redistribute connected neighbor 192.168.9.1 remote-as 600 neighbor 192.168.9.1 activate neighbor 192.168.9.1 advertisement-interval 5 address-family vpnv4 bgp scan-time import 5 neighbor 192.168.20.20 activate neighbor 192.168.20.20 send-community extended ! Example CE3! ip cef distributed ! interface lo0 ip address 192.168.15.15 255.255.255.255 no shutdown ! interface gi0/2 ip address 192.168.38.1 255.255.255.0 no shutdown ! router ospf 500 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface gi0/2 network 192.168.15.15 0.0.0.0 area 500 ! router bgp 500 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization neighbor 192.168.38.2 remote-as 200 neighbor 192.168.38.2 advertisement-interval 5 address-family ipv4 no auto-summary redistribute connected neighbor 192.168.38.2 activate ! Example CE4! ip cef distributed ! interface lo0 ip address 192.168.16.16 255.255.255.255 no shutdown ! interface et6/2 ip address 192.168.9.1 255.255.255.0 no shutdown ! router ospf 600 nsf enforce global redistribute connected subnets auto-cost reference-bandwidth 1000 passive-interface et6/2 network 192.168.16.16 0.0.0.0 area 600 ! router bgp 600 bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart no synchronization neighbor 192.168.39.2 remote-as 200 neighbor 192.168.39.2 advertisement-interval 5 address-family ipv4 no auto-summary redistribute connected neighbor 192.168.39.2 activate ! Examples Inter-AS AB CSC Configuration
Example CE1! ip cef distributed ! interface Loopback0 ip address 192.168.20.20 255.255.255.255 ! interface Ethernet3/3 ip address 192.168.41.2 255.255.255.0 ! ! router bgp 500 bgp router-id 192.168.20.20 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.4.1 remote-as 300 ! address-family ipv4 redistribute connected neighbor 192.168.4.1 activate neighbor 192.168.4.1 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example CE2! ip cef distributed ! interface Loopback0 ip address 192.168.21.21 255.255.255.255 ! interface Ethernet0/0/7 ip address 192.168.42.2 255.255.255.0 ! router bgp 600 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.42.1 remote-as 400 ! address-family ipv4 redistribute connected neighbor 192.168.42.1 activate neighbor 192.168.42.1 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example CE3! ip cef distributed ! interface Loopback0 ip address 192.168.22.22 255.255.255.255 ! interface Ethernet6/2 ip address 192.168.43.2 255.255.255.0 ! router bgp 500 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.43.1 remote-as 300 ! address-family ipv4 redistribute connected neighbor 192.168.43.1 activate neighbor 192.168.43.1 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example CE4! ip cef distributed ! interface Loopback0 ip address 192.168.23.23 255.255.255.255 ! ! interface Ethernet0/0/7 ip address 192.168.44.2 255.255.255.0 ! router bgp 600 bgp router-id 192.168.23.23 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.44.1 remote-as 400 ! address-family ipv4 redistribute connected neighbor 192.168.44.1 activate neighbor 192.168.44.1 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example PE1! ip cef distributed ! ip vrf vpn3 rd 300:3 route-target export 300:3 route-target import 300:3 ! mpls ldp graceful-restart ! mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.192.10 255.255.255.255 ! interface Ethernet3/1 ip vrf forwarding vpn3 ip address 192.168.4.1 255.255.255.0 ! interface Ethernet5/3 ip address 192.168.3.1 255.255.255.0 mpls label protocol ldp mpls ip ! ! router ospf 300 log-adjacency-changes auto-cost reference-bandwidth 1000 redistribute connected subnets network 192.168.192.10 0.0.0.0 area 300 network 192.168.0.0 0.0.255.255 area 300 ! router bgp 300 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.19.19 remote-as 300 neighbor 192.168.19.19 update-source Loopback0 ! address-family vpnv4 neighbor 192.168.19.19 activate neighbor 192.168.19.19 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn3 redistribute connected neighbor 192.168.41.2 remote-as 500 neighbor 192.168.41.2 activate neighbor 192.168.41.2 as-override neighbor 192.168.41.2 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example CSC-CE1! ip cef distributed ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.11.11 255.255.255.255 ! ! interface Ethernet3/4 ip address 192.168.30.2 255.255.255.0 mpls label protocol ldp mpls ip ! router ospf 300 log-adjacency-changes auto-cost reference-bandwidth 1000 redistribute connected subnets redistribute bgp 300 metric 3 subnets passive-interface FastEthernet1/0 network 192.168.11.11 0.0.0.0 area 300 network 192.168.0.0 0.0.255.255 area 300 distance ospf intra-area 19 inter-area 19 ! router bgp 300 bgp router-id 192.168.11.11 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.13.1 remote-as 100 ! address-family ipv4 redistribute ospf 300 metric 4 match internal external 1 external 2 neighbor 192.168.13.1 activate neighbor 192.168.13.1 send-label no auto-summary no synchronization exit-address-family ! Example CSC-PE1! ip vrf vpn1 rd 100:1 route-target export 100:1 route-target import 100:1 route-target import 100:5 route-target import 200:1 ! ip vrf vpn2 rd 100:2 route-target export 100:2 route-target import 100:2 route-target import 100:6 route-target import 200:2 ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.12.12 255.255.255.255 ! ! interface FastEthernet4/0/0 ip address 192.168.34.1 255.255.255.0 mpls label protocol ldp mpls ip ! interface FastEthernet4/0/1 ip vrf forwarding vpn1 ip address 192.168.13.1 255.255.255.0 mpls bgp forwarding ! ! interface FastEthernet4/1/0 ip vrf forwarding vpn2 ip address 192.168.33.1 255.255.255.0 mpls bgp forwarding ! router ospf 100 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.12.12 0.0.0.0 area 100 network 192.168.0.0 0.0.255.255 area 100 ! router bgp 100 bgp router-id 192.168.12.12 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.15.15 remote-as 100 neighbor 192.168.15.15 update-source Loopback0 ! address-family vpnv4 neighbor 192.168.15.15 activate neighbor 192.168.15.15 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn2 neighbor 192.168.33.2 remote-as 400 neighbor 192.168.33.2 update-source FastEthernet4/1/0 neighbor 192.168.33.2 activate neighbor 192.168.33.2 as-override neighbor 192.168.33.2 advertisement-interval 5 neighbor 192.168.33.2 send-label no auto-summary no synchronization exit-address-family ! address-family ipv4 vrf vpn1 neighbor 192.168.31.2 remote-as 300 neighbor 192.168.31.2 update-source FastEthernet4/0/1 neighbor 192.168.31.2 activate neighbor 192.168.31.2 as-override neighbor 192.168.31.2 advertisement-interval 5 neighbor 192.168.31.2 send-label no auto-summary no synchronization exit-address-family ! Example PE 2ip cef distributed ! ip vrf vpn4 rd 400:4 route-target export 400:4 route-target import 400:4 ! ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.13.13 255.255.255.255 ! ! interface Ethernet4/1/2 ip vrf forwarding vpn4 ip address 192.168.42.1 255.255.255.0 ! ! interface Ethernet4/1/6 ip address 192.168.32.1 255.255.255.0 mpls label protocol ldp mpls ip ! ! router ospf 400 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.13.13 0.0.0.0 area 400 network 192.168.0.0 0.0.255.255 area 400 ! router bgp 400 bgp router-id 192.168.13.13 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.25.25 remote-as 400 neighbor 192.168.25.25 update-source Loopback0 ! address-family vpnv4 neighbor 192.168.25.25 activate neighbor 192.168.25.25 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn4 redistribute connected neighbor 192.168.42.2 remote-as 600 neighbor 192.168.42.2 activate neighbor 192.168.42.2 as-override neighbor 192.168.42.2 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Example CSC-CE2! ip cef distributed ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip interface Loopback0 ip address 192.168.14.14 255.255.255.255 ! ! interface GigabitEthernet8/16 ip address 192.168.33.2 255.255.255.0 mpls bgp forwarding ! ! interface GigabitEthernet8/24 ip address 192.168.32.2 255.255.255.0 mpls label protocol ldp mpls ip ! ! router ospf 400 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets redistribute bgp 400 metric 3 subnets passive-interface GigabitEthernet8/16 network 192.168.14.14 0.0.0.0 area 400 network 192.168.0.0 0.0.255.255 area 400 distance ospf intra-area 19 inter-area 19 ! router bgp 400 bgp router-id 192.168.14.14 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.33.1 remote-as 100 ! address-family ipv4 no synchronization redistribute connected redistribute ospf 400 metric 4 match internal external 1 external 2 neighbor 192.168.33.1 activate neighbor 192.168.33.1 advertisement-interval 5 neighbor 192.168.33.1 send-label no auto-summary exit-address-family ! Example ASBR1! ip vrf vpn5 rd 100:5 route-target export 100:5 route-target import 100:5 route-target import 100:1 route-target import 200:5 inter-as-hybrid csc next-hop 192.168.35.2 ! ip vrf vpn6 rd 100:6 route-target export 100:6 route-target import 100:6 route-target import 100:2 route-target import 200:6 inter-as-hybrid csc next-hop 192.168.36.2 ! mpls ldp graceful-restart mpls label protocol ldp ! ! interface Loopback0 ip address 192.168.15.15 255.255.255.255 ! interface GigabitEthernet2/3 ip vrf forwarding vpn5 ip address 192.168.35.1 255.255.255.0 mpls bgp forwarding ! interface GigabitEthernet2/4 ip vrf forwarding vpn6 ip address 192.168.36.1 255.255.255.0 mpls bgp forwarding ! ! interface GigabitEthernet2/5 ip address 192.168.34.2 255.255.255.0 mpls label protocol ldp mpls ip ! ! interface GigabitEthernet2/16 ip address 192.168.37.1 255.255.255.0 mpls bgp forwarding ! ! router ospf 100 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.15.15 0.0.0.0 area 100 network 192.168.0.0 0.0.255.255 area 100 ! router bgp 100 bgp router-id 192.168.15.15 no bgp default ipv4-unicast no bgp default route-target filter bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.12.12 remote-as 100 neighbor 192.168.12.12 update-source Loopback0 neighbor 192.168.0.2 remote-as 200 neighbor 192.168.0.2 disable-connected-check ! address-family ipv4 no synchronization no auto-summary exit-address-family ! address-family vpnv4 neighbor 192.168.12.12 activate neighbor 192.168.12.12 send-community extended neighbor 192.168.0.2 activate neighbor 192.168.0.2 send-community extended neighbor 192.168.0.2 inter-as-hybrid exit-address-family ! address-family ipv4 vrf vpn5 no synchronization exit-address-family ! address-family ipv4 vrf vpn6 no synchronization exit-address-family ! ip route 192.168.16.16 255.255.255.255 GigabitEthernet2/16 192.168.0.2 ip route vrf vpn5 192.168.16.16 255.255.255.255 GigabitEthernet2/3 192.168.35.2 ip route vrf vpn6 192.168.16.16 255.255.255.255 GigabitEthernet2/4 192.168.36.2 ! ip vrf vpn5 rd 200:5 route-target export 200:5 route-target import 200:5 route-target import 200:1 route-target import 100:1 route-target import 100:5 inter-as-hybrid csc next-hop 192.168.35.1 ! ip vrf vpn6 rd 200:6 route-target export 200:6 route-target import 200:6 route-target import 200:2 route-target import 100:2 route-target import 100:6 inter-as-hybrid csc next-hop 192.168.36.1 ! mpls ldp graceful-restart mpls label protocol ldp ! ! interface Loopback0 ip address 192.168.16.16 255.255.255.255 ! ! interface GigabitEthernet3/1 ip vrf forwarding vpn5 ip address 192.168.35.2 255.255.255.0 mpls bgp forwarding ! interface GigabitEthernet3/2 ip vrf forwarding vpn6 ip address 192.168.36.2 255.255.255.0 mpls bgp forwarding ! ! interface GigabitEthernet3/14 ip address 192.168.0.2 255.0.0.0 mpls bgp forwarding ! interface GigabitEthernet3/15 ip address 192.168.38.2 255.255.255.0 mpls label protocol ldp mpls ip ! router ospf 200 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.16.16 0.0.0.0 area 200 network 192.168.0.0 0.0.255.255 area 200 ! router bgp 200 bgp router-id 192.168.16.16 no bgp default ipv4-unicast no bgp default route-target filter bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.17.17 remote-as 200 neighbor 192.168.17.17 update-source Loopback0 neighbor 192.168.37.1 remote-as 100 neighbor 192.168.37.1 disable-connected-check ! address-family ipv4 no synchronization no auto-summary exit-address-family ! address-family vpnv4 neighbor 192.168.17.17 activate neighbor 192.168.17.17 send-community extended neighbor 192.168.37.1 activate neighbor 192.168.37.1 send-community extended neighbor 192.168.37.1 inter-as-hybrid exit-address-family ! address-family ipv4 vrf vpn5 no synchronization exit-address-family ! address-family ipv4 vrf vpn6 no synchronization exit-address-family ! ip route 192.168.15.15 255.255.255.255 GigabitEthernet3/14 192.168.37.1 ip route vrf vpn5 192.168.15.15 255.255.255.255 GigabitEthernet3/1 192.168.35.1 ip route vrf vpn6 192.168.15.15 255.255.255.255 GigabitEthernet3/2 192.168.36.1 ! Example CSC-PE 3ip vrf vpn1 rd 200:1 route-target export 200:1 route-target import 200:1 route-target import 200:5 route-target import 100:1 ! ip vrf vpn2 rd 200:2 route-target export 200:2 route-target import 200:2 route-target import 200:6 route-target import 100:2 ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.17.17 255.255.255.255 ! interface FastEthernet4/0/2 ip vrf forwarding vpn2 ip address 192.168.5.1 255.255.255.0 mpls bgp forwarding ! ! interface FastEthernet4/0/4 ip vrf forwarding vpn1 ip address 192.168.9.1 255.255.255.0 mpls bgp forwarding ! ! interface FastEthernet4/0/7 ip address 192.168.38.1 255.255.255.0 mpls label protocol ldp mpls ip ! router ospf 200 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.17.17 0.0.0.0 area 200 network 192.168.0.0 0.0.255.255 area 200 ! router bgp 200 bgp router-id 192.168.17.17 no bgp default ipv4-unicast bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.16.16 remote-as 200 neighbor 192.168.16.16 update-source Loopback0 ! address-family vpnv4 neighbor 192.168.16.16 activate neighbor 192.168.16.16 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn2 neighbor 192.168.55.0 remote-as 400 neighbor 192.168.55.0 update-source FastEthernet4/0/2 neighbor 192.168.55.0 activate neighbor 192.168.55.0 as-override neighbor 192.168.55.0 advertisement-interval 5 neighbor 192.168.55.0 send-label no auto-summary no synchronization exit-address-family ! address-family ipv4 vrf vpn1 neighbor 192.168.39.2 remote-as 300 neighbor 192.168.39.2 update-source FastEthernet4/0/4 neighbor 192.168.39.2 activate neighbor 192.168.39.2 as-override neighbor 192.168.39.2 advertisement-interval 5 neighbor 192.168.39.2 send-label no auto-summary no synchronization exit-address-family ! Example CSC-CE3! interface Loopback0 ip address 192.168.18.18 255.255.255.255 ! ! interface Ethernet3/3 ip address 192.168.40.2 255.255.255.0 mpls label protocol ldp mpls ip ! ! interface FastEthernet5/0 ip address 192.168.39.2 255.255.255.0 mpls bgp forwarding ! ! router ospf 300 log-adjacency-changes auto-cost reference-bandwidth 1000 redistribute connected subnets redistribute bgp 300 metric 3 subnets network 192.168.18.18 0.0.0.0 area 300 network 192.168.0.0 0.0.255.255 area 300 distance ospf intra-area 19 inter-area 19 ! router bgp 300 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.9.1 remote-as 200 ! address-family ipv4 redistribute connected redistribute ospf 300 metric 4 match internal external 1 external 2 neighbor 192.168.9.1 activate neighbor 192.168.9.1 advertisement-interval 5 neighbor 192.168.9.1 send-label no auto-summary no synchronization exit-address-family ! Example CSC-CE 4! ip cef distributed ! mpls ldp graceful-restart mpls label protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.24.24 255.255.255.255 ! ! interface FastEthernet1/1 ip address 192.168.55.0 255.255.255.0 mpls bgp forwarding ! ! interface Ethernet3/5 ip address 192.168.56.2 255.255.255.0 mpls label protocol ldp mpls ip ! ! router ospf 400 log-adjacency-changes auto-cost reference-bandwidth 1000 redistribute connected subnets redistribute bgp 400 metric 3 subnets network 192.168.24.24 0.0.0.0 area 400 network 192.168.0.0 0.0.255.255 area 400 ! router bgp 400 bgp log-neighbor-changes neighbor 192.168.5.1 remote-as 200 ! address-family ipv4 redistribute connected redistribute ospf 400 metric 4 match internal external 1 external 2 neighbor 192.168.5.1 activate neighbor 192.168.5.1 advertisement-interval 5 neighbor 192.168.5.1 send-label no auto-summary no synchronization exit-address-family Example PE 3! ip cef distributed ! ip vrf vpn3 rd 300:3 route-target export 300:3 route-target import 300:3 mpls ip ! ! mpls ldp graceful-restart mpls label protocol ldp ! ! interface Loopback0 ip address 192.168.19.19 255.255.255.255 ! ! interface Ethernet5/1/1 ip vrf forwarding vpn3 ip address 192.168.43.1 255.255.255.0 ! ! interface Ethernet5/1/4 ip address 192.168.40.1 255.255.255.0 mpls label protocol ldp mpls ip ! ! router ospf 300 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.19.19 0.0.0.0 area 300 network 192.168.0.0 0.0.255.255 area 300 network 192.168.0.0 0.0.255.255 area 300 ! router bgp 300 bgp router-id 192.168.19.19 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.192.10 remote-as 300 neighbor 192.168.192.10 update-source Loopback0 ! address-family ipv4 no neighbor 192.168.192.10 activate no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 192.168.192.10 activate neighbor 192.168.192.10 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn3 neighbor 192.168.43.2 remote-as 500 neighbor 192.168.43.2 activate neighbor 192.168.43.2 as-override neighbor 192.168.43.2 advertisement-interval 5 no auto-summary no synchronization exit-address-family Example PE 4! ip cef distributed ! ip vrf vpn4 rd 400:4 route-target export 400:4 route-target import 400:4 ! mpls ldp graceful-restart mpls ldp protocol ldp ! mpls ip ! interface Loopback0 ip address 192.168.25.25 255.255.255.255 ! ! interface Ethernet5/0/4 ip address 192.168.56.1 255.255.255.0 mpls label protocol ldp mpls ip ! ! interface Ethernet5/0/7 ip vrf forwarding vpn4 ip address 192.168.44.1 255.255.255.0 ! ! router ospf 400 log-adjacency-changes auto-cost reference-bandwidth 1000 nsf enforce global redistribute connected subnets network 192.168.25.25 0.0.0.0 area 400 network 192.168.0.0 0.0.255.255 area 400 ! router bgp 400 bgp router-id 192.168.25.25 bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart neighbor 192.168.13.13 remote-as 400 neighbor 192.168.13.13 ebgp-multihop 7 neighbor 192.168.13.13 update-source Loopback0 ! address-family ipv4 no neighbor 192.168.13.13 activate no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 192.168.13.13 activate neighbor 192.168.13.13 send-community extended bgp scan-time import 5 exit-address-family ! address-family ipv4 vrf vpn4 neighbor 192.168.44.2 remote-as 600 neighbor 192.168.44.2 activate neighbor 192.168.44.2 as-override neighbor 192.168.44.2 advertisement-interval 5 no auto-summary no synchronization exit-address-family ! Additional ReferencesRelated DocumentsMIBsTechnical Assistance
Feature Information for MPLS VPN--Inter-AS Option ABThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
GlossaryASBR -- Autonomous System Boundary router. A router that connects one autonomous system to another. autonomous system --A collection of networks under a common administration sharing a common routing strategy. BGP --Border Gateway Protocol. An interdomain routing protocol that exchanges network reachability information with other BGP systems (which may be within the same autonomous system or between multiple autonomous systems). CE router--customer edge router. A router that is part of a customer network and that interfaces to a provider edge (PE) router. CE routers do not recognize associated MPLS VPNs. CSC --Carrier Supporting Carrier. A hierarchical VPN model that allows small service providers, or customer carriers, to interconnect their IP or MPLS networks over an MPLS backbone. This eliminates the need for customer carriers to build and maintain their own MPLS backbone. eBGP --external Border Gateway Protocol. A BGP between routers located within different autonomous systems. When two routers, located in different autonomous systems, are more than one hop away from one another, the eBGP session between the two routers is considered a multihop BGP. edge router--A router that is at the edge of the network. It defines the boundary of the MPLS network. It receives and transmits packets. Also referred to as edge label switch router and label edge router. iBGP --internal Border Gateway Protocol. A BGP between routers within the same autonomous system. IGP --Interior Gateway Protocol. Internet protocol used to exchange routing information within a single autonomous system. Examples of common Internet IGP protocols include IGRP, OSPF, IS-IS, and RIP. IP --Internet Protocol. Network layer protocol in the TCP/IP stack offering a connectionless internetwork service. IP provides features for addressing, type-of-service specification, fragmentation and reassembly, and security. Defined in RFC 791. LDP --Label Distribution Protocol. A standard protocol between MPLS-enabled routers to negotiate the labels (addresses) used to forward packets. LFIB --Label Forwarding Information Base. Data structure used in MPLS to hold information about incoming and outgoing labels and associated Forwarding Equivalence Class (FEC) packets. MP-BGP --Multiprotocol BGP. MPLS --Multiprotocol Label Switching. The name of the IETF working group responsible for label switching, and the name of the label switching approach it has standardized. NLRI --Network Layer Reachability Information. The BGP sends routing update messages containing NLRI to describe a route and how to get there. In this context, an NLRI is a prefix. A BGP update message carries one or more NLRI prefixes and the attributes of a route for the NLRI prefixes; the route attributes include a BGP next hop gateway address and extended community values. NSF --Nonstop forwarding enables routers to continuously forward IP packets following a Route Processor takeover or switchover to another Route Processor. NSF maintains and updates Layer 3 routing and forwarding information in the backup Route Processor to ensure that IP packets and routing protocol information are forwarded continuously during the switchover and route convergence process. PE router--provider edge router. A router that is part of a service provider's network. It is connected to a customer edge (CE) router. All MPLS VPN processing occurs in the PE router. QoS --quality of service. Measure of performance for a transmission system that indicates its transmission quality and service availability. RD --route distinguisher. An 8-byte value that is concatenated with an IPv4 prefix to create a unique VPN-IPv4 prefix. RT --route target. Extended community attribute used to identify the VRF routing table into which a prefix is imported. SLA --Service Level Agreement given to VPN subscribers. VPN --Virtual Private Network. A secure MPLS-based network that shares resources on one or more physical networks (typically implemented by one or more service providers). A VPN contains geographically dispersed sites that can communicate securely over a shared backbone network. VRF --VPN routing and forwarding instance. Routing information that defines a VPN site that is attached to a PE router. A VRF consists of an IP routing table, a derived forwarding table, a set of interfaces that use the forwarding table, and a set of rules and routing protocols that determine what goes into the forwarding table. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2011 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||