Table Of Contents
Prerequisites for MPLS VPN—Inter-AS Option AB
Restrictions for MPLS VPN—Inter-AS Option AB
Information About MPLS VPN—Inter-AS Option AB
MPLS VPN—Inter-AS Option AB Introduction
Benefits of MPLS VPN—Inter-AS Option AB
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding for CSC
How to Configure Inter-AS Option AB
Configuring an Inter-AS Option AB Connection
Configuring the VRFs on the ASBR Interface for Each VPN Customer
Configuring the MP-BGP Session Between ASBR Peers
Configuring the Routing Policy for VPNs that Need Inter-AS Connections
Changing an Inter-AS Option A Deployment to an Option AB Deployment
Configuration Examples for MPLS VPN—Inter-AS Option AB
Inter-AS AB Network Configuration: Examples
Inter-AS AB CSC Configuration: Examples
Feature Information for MPLS VPN—Inter-AS Option AB
MPLS VPN—Inter-AS Option AB
First Published: December 17, 2007Last Updated: October 2, 2009The 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," option "a" and option "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 sub-interfaces with at least one interface VPN that spans the two autonomous systems. These ASBRs associate each sub-interface with a VRF and a 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 there needs to be one BGP session for each sub-interface (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 sub-interfaces that are enabled to receive MPLS traffic. A Multi-protocol 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 only be applied to IP traffic cannot be applied and the VRFs cannot be isolated.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. For the latest feature information and caveats, see the release notes for your Cisco IOS software release. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for MPLS VPN—Inter-AS Option AB" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for MPLS VPN—Inter-AS Option AB
•
Restrictions for MPLS VPN—Inter-AS Option AB
•
Information About MPLS VPN—Inter-AS Option AB
•
How to Configure Inter-AS Option AB
•
Configuration Examples for MPLS VPN—Inter-AS Option AB
•
Feature Information for MPLS VPN—Inter-AS Option AB
Prerequisites for MPLS VPN—Inter-AS Option AB
Follow the appropriate configuration tasks outlined in the following documents:
•
Configuring MPLS Layer 3 VPNs
•
MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses
•
MPLS VPN Inter-AS with ASBRs Exchanging IPv4 Routes and MPLS Labels
Perform the following requirements before configuring the MPLS VPN—Inter-AS Option AB feature.
•
Enable Cisco Express Forwarding, which is required for MPLS VPN routing and forwarding operation.
•
Identify the VPNs for the MPLS VPN—Inter-AS Option AB network and configure the VRFs to which these VPNs belong. These VRFs are used for Inter-AS Option AB connections on the ASBR interface.
Restrictions for MPLS VPN—Inter-AS Option AB
This feature has the following restrictions:
•
The In Service Software Upgrade (ISSU) feature can only be configured on the active Route Processor (RP) if the standby RP supports this feature. The ISSU feature can be configured if both the active and standby RP support this feature.
•
Carrier Supporting Carrier (CSC) MPLS load-balancing on ASBR Option AB VRF interfaces is not supported.
•
VPNv6 is not supported.
Information About MPLS VPN—Inter-AS Option AB
This section provides an introduction to the MPLS VPN—Inter-AS Option AB feature and describes its benefits:
•
MPLS VPN—Inter-AS Option AB Introduction, page 2
•
Benefits of MPLS VPN—Inter-AS Option AB, page 2
•
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks
•
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding for CSC
MPLS VPN—Inter-AS Option AB Introduction
MPLS 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 virtual routing and forwarding (VRF) instance. The data plane traffic is on a VRF interface. This traffic can either be IP or MPLS.
Note
Inter-AS connections can be configured between ASBRs that either have or do not have connections between different providers.
Benefits of MPLS VPN—Inter-AS Option AB
The MPLS VPN—Inter-AS Option AB feature provides the following benefits for service providers:
•
Network configuration can be simplified because only one BGP session is configured for each VRF on the ASBR.
•
One BGP session reduces CPU utilization.
•
Networks can be scaled because a single MP-BGP session, which is enabled globally on the router, reduces the number of sessions required by multiple VPNs, while continuing to keep VPNs isolated and secured from each other.
•
IP QoS functions between ASBR peers are maintained for customer SLAs.
•
Dataplane traffic is isolated on a per-VRF basis for security purposes.
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks
The following sections describe MPLS VPN—Inter-AS Option AB operation:
Note
All imported routes are accomplished by configuring the appropriate route targets (RTs).
The following attributes describe the topology of the sample MPLS VPN—Inter-AS Option AB network shown in Figure 1:
•
Customer edge 1 (CE1) and CE3 belong to VPN 1.
•
CE2 and CE 4 belong to VPN 2.
•
Provider edge 1 (PE1) uses route distinguisher 1 (RD 1) for VPN 1 (VRF 1) and RD 2 for VPN 2 (VRF 2).
•
PE2 uses RD 3 for VPN 1 (VRF 1) and RD 4 for VPN 2 (VRF 2).
•
ASBR1 has VRF 1 provisioned with RD 5 and VRF 2 provisioned with RD 6.
•
ASBR2 has VRF 1 provisioned with RD 7 and VRF 2 provisioned and RD 8.
•
ASBR1 and ASBR2 have three links between them:
–
VRF 1
–
VRF 2
–
MP-BGP session
Note
The VRFs configured on the ASBRs are called "Option AB VRFs." The eBGP peers on the ASBRs are called "Option AB Peers."
Figure 1 MPLS VPN Inter-AS Option AB Topology
Route Distribution for VPN 1
A 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.
Note
An RD statement is required if the instance type is a VRF.
The following process describes the route distribution process for VPN 1 in Figure 1. Prefix "N" is used in this process to indicate the IP address of a VPN.
1.
CE1 advertises the prefix N to PE1.
2.
PE1 advertises a VPN prefix RD 1:N to ASBR1 through MP internal BGP (iBGP).
3.
ASBR1 imports the prefix into VPN 1 and creates a prefix RD 5:N.
4.
ASBR1 advertises the imported prefix RD 5:N to ASBR2. ASBR1 sets itself as the next hop for prefix RD 5:N and allocates a local label that is signaled with this prefix.
5.
ASBR1 advertises the route with the export RT configured on the VRF rather than the originally received RTs. By default, ASBR1 does not advertise the source prefix RD 1:N to ASBR2. This advertisement is suppressed because the prefix is being imported into an Option AB VRF.
Note
In an Option 10B connection, the source prefix can be advertised to another ASBR on which ASBR1 has an Option 10B connection. An ASBR with an Option 10B connection maintains all VPNv4 routes in its BGP table.
6.
ASBR2 receives the prefix RD 5:N and imports it into VPN 1 as RD 7:N.
7.
ASBR2 advertises the route with the export RT configured on the VRF rather than the originally received RTs.
8.
While importing the prefix, ASBR2 sets the next hop of RD 7:N to the ASBR1 interface IP address in VRF 1. The next hop table ID is also set to VRF 1. When installing the MPLS forwarding entry for RD 7:N, the outgoing label is not installed in forwarding by default. This enables the traffic between the ASBRs to be IP.
9.
ASBR2 advertises the imported prefix RD 7:N to PE2. It sets itself as the next hop for this prefix and also allocates a local label that is signaled with the prefix. By default, ASBR2 does not advertise the source prefix RD 5:N to PE2. This advertisement is suppressed because the prefix is being imported into an Option AB VRF.
10.
PE2 imports the RD 7:N into VRF 1 as RD 3:N.
Packet Forwarding for VPN 1
The 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.
Note
Prefix "N" is used in this process to indicate the IP address of a VPN.
1.
CE3 sends a packet destined for N to PE2.
2.
PE2 encapsulates the packet with the VPN label allocated by ASBR2 and the IGP label needed to tunnel the packet to ASBR2.
3.
The packet arrives on ASBR2 with the VPN label. ASBR2 removes the VPN label and sends the packet as IP to ASBR1 on the VRF 1 interface.
4.
The IP packet arrives at ASBR1 on the VRF 1 interface. ASBR1 then encapsulates the packet with the VPN label allocated by PE1 and the IGP label needed to tunnel the packet to PE1.
5.
The packet arrives on PE1 with the VPN label. PE1 disposes the VPN label and forwards the IP packet to CE1.
Route Distribution for VPN 2
The following information describes the route distribution process for VPN 2 in Figure 1:
1.
CE2 advertises prefix N to PE1, where N is the VPN IP address.
2.
PE1 advertises a VPN prefix RD 2:N to ASBR1 through MP-iBGP.
3.
ASBR1 imports the prefix into VPN 2 and creates a prefix RD 6:N.
4.
ASBR1 advertises the imported prefix RD 6:N to ASBR2. It sets itself as the next hop for this prefix and also allocates a local label that is signaled with the prefix. By default, ASBR1 does not advertise the source prefix RD 2:N to ASBR2. This advertisement is suppressed as the prefix is being imported into an Option AB VRF.
Note
In the case of an Option 10B connection, the source prefix can be advertised to another ASBR on which ASBR1 has an Option 10B connection. An ASBR with an Option 10B connection maintains all VPNv4 routes in its BGP table.
5.
ASBR2 receives the prefix RD 6:N and imports it into VPN 2 as RD 8:N.
6.
While importing the prefix, ASBR2 sets the next hop of RD 8:N to ASBR1s interface address in VRF 2. The next hop table ID is also set to that of VRF 2. While installing the MPLS forwarding entry for RD 8:N, by default the outgoing label is not installed in forwarding. This enables traffic between the ASBRs to be IP.
7.
ASBR2 advertises the imported prefix RD 8:N to PE2. It sets itself as the next hop for this prefix and also allocates a local label that is signaled with the prefix. By default, ASBR2 does not advertise the source prefix RD 6:N to PE2. This advertisement is suppressed because the prefix is being imported into an Option AB VRF.
8.
PE2 imports the RD 8:N into VRF 2 as RD 4:N.
MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding for CSC
The 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 "MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks" section for VPN 1, except for the method in which MPLS labels are handled between the two ASBRs.
Note
VPN 2 is not shown or discussed in this section.
Figure 2 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.
Figure 2 MPLS VPN Inter-AS Option AB CSC Topology
Note
The RD, RT, VRF, and Link provisioning in this section is the same as in the "MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks" section example for VPN 1.
Route Distribution for VPN 1
The 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.
1.
CE1 advertises PE 3 loopback N to PE1.
2.
PE1 advertises a VPN prefix RD 1:N to ASBR1 through MP-iBGP.
3.
ASBR1 imports the prefix into VPN 1 and creates a prefix RD 5:N.
4.
ASBR1 advertises the imported prefix RD 5:N to ASBR2. It sets itself as the next hop for this prefix and also allocates a local label that is signaled with the prefix.
5.
ASBR1 advertises the route with the export RT configured on the VRF rather than the originally received RTs. By default, ASBR1 does not advertise the source prefix RD 1:N to ASBR2. This advertisement is suppressed as the prefix is being imported into an Option AB VRF.
Note
In an Option 10B connection, the source prefix can be advertised to another ASBR on which ASBR1 has an Option 10B connection. An ASBR with an Option 10B connection maintains all VPNv4 routes in its BGP table.
6.
ASBR2 receives the prefix RD 5:N and imports it into VPN 1 as RD 7:N.
7.
ASBR2 advertises the route with the export RT configured on the VRF rather than the originally received RTs.
8.
While importing the prefix, ASBR2 sets the next hop of RD 7:N to ASBR1 interface address in VRF 1. The next hop table ID is also set to that of VRF 1.
Note
In a CSC scenario, an outgoing MPLS label can be installed in forwarding by making a configuration change. See "How to Configure Inter-AS Option AB" section.
9.
While installing the MPLS forwarding entry for RD 7:N, the outgoing label is installed during the forwarding process, which enables the traffic between the ASBRs to be MPLS traffic.
10.
ASBR2 advertises the imported prefix RD 7:N to PE2. It sets itself as the next hop for this prefix and also allocates a local label that is signaled with the prefix. By default, ASBR2 does not advertise the source prefix RD 5:N to PE2. This advertisement is suppressed as the prefix is being imported into an Option AB VRF.
11.
PE2 imports the RD 7:N into VRF 1 as RD 3:N.
Packet Forwarding for VPN 1
The packet forwarding process shown below works the same as it does in an Option A scenario. See "MPLS VPN—Inter-AS Option AB Route Distribution and Packet Forwarding in Non-CSC Networks" section for more information about Option A.
1.
PE 4 sends an MPLS packet destined for N to CE2.
2.
CE2 swaps the MPLS label and sends a packet destined for N to PE2.
3.
PE2 encapsulates the packet with the VPN label allocated by ASBR2 and the IGP label needed to tunnel the packet to ASBR2.
4.
The packet arrives on ASBR2 with the VPN label. ASBR2 swaps the received VPN label with the outgoing label received from ASBR1 and sends the MPLS packet on to the VRF 1 interface.
5.
The MPLS packet arrives at ASBR1 on the VRF 1 interface. ASBR1 then swaps the received MPLS label with a label stack consisting of the VPN label allocated by PE1 and the IGP label needed to tunnel the packet to PE1.
6.
The packet arrives on PE1 with the VPN label. PE1 disposes the VPN label and forwards the MPLS packet to CE1. CE1 in turn swaps the label and forwards the labeled packet to PE 3.
How to Configure Inter-AS Option AB
The 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 Connection
•
Changing an Inter-AS Option A Deployment to an Option AB Deployment
Configuring an Inter-AS Option AB Connection
The 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 Customer
•
Configuring the MP-BGP Session Between ASBR Peers
•
Configuring the Routing Policy for VPNs that Need Inter-AS Connections
Note
See the Configuring MPLS Layer 3 VPNs feature module for more information on configuring PE and CE routers in an MPLS VPN.
Configuring the VRFs on the ASBR Interface for Each VPN Customer
Use 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.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip vrf forwarding vrf-name
5.
mpls bgp forwarding (Optional)
6.
end
Note
The mpls bgp forwarding command is used only on the ASBR interface for VRFs that support CSC.
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 Peers
BGP 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.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
router bgp as-number
4.
neighbor {ip-address | peer-group-name} remote-as as-number
5.
address-family vpnv4 [unicast]
6.
neighbor {ip-address | peer-group-name} activate
7.
neighbor {ip-address | peer-group-name} inter-as-hybrid
8.
exit-address-family
9.
end
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 Connections
Use 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.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
vrf definition vrf-name
4.
rd route-distinguisher
5.
address-family ipv4
6.
route-target {import | export | both} route-target-ext-community
7.
inter-as-hybrid [csc]
8.
inter-as-hybrid [csc] next-hop ip-address
9.
exit
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 Deployment
In 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.
1.
Configure the MP-BGP session on the ASBR. BGP multiprotocol extensions are used to define support for address families other than IPv4 so 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. See "Configuring the MP-BGP Session Between ASBR Peers" section for detailed configuration information.
2.
Identify the VRFs that need an upgrade from Option A and configure them for Option AB by using the inter-as-hybrid command. See "Configuring the Routing Policy for VPNs that Need Inter-AS Connections" section for detailed configuration information.
3.
Use the following steps in this section to remove the configuration for the eBGP (peer ASBR) neighbor.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
router bgp as-number
4.
address-family ipv4 vrf vrf-name
5.
no neighbor {ip-address | peer-group-name}
6.
exit-address-family
7.
end
Repeat all the steps in the following procedure to remove the configuration for additional eBGP (peer ASBR) neighbors.
DETAILED STEPS
Configuration Examples for MPLS VPN—Inter-AS Option AB
The following sections describe standard and CSC MPLS VPN configurations between two ASBR peers that use the Inter-AS AB feature:
•
Inter-AS AB Network Configuration: Examples
•
Inter-AS AB CSC Configuration: Examples
Inter-AS AB Network Configuration: Examples
The following examples show the configuration of an inter-AS option AB network that uses non overlapping IP addresses:
CE1: Example
!ip cef distributed!interface lo0ip address 192.168.13.13 255.255.255.255no shutdown!interface et4/0ip address 192.168.36.1 255.255.255.0no shutdown!router ospf 300nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface et4/0network 192.168.13.13 0.0.0.0 area 300!router bgp 300bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationneighbor 192.168.36.2 remote-as 100neighbor 192.168.36.2 advertisement-interval 5address-family ipv4 no auto-summaryredistribute connectedneighbor 192.168.36.2 activateCE2: Example
!ip cef distributed!interface lo0ip address 192.168.14.14 255.255.255.255no shutdown!interface et1/6ip address 192.168.37.1 255.255.255.0no ipv6 addressno shutdown!router ospf 400nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface et1/6network 192.168.14.14 0.0.0.0 area 400!router bgp 400bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationneighbor 192.168.0.2 remote-as 100neighbor 192.168.0.2 advertisement-interval 5address-family ipv4 no auto-summaryredistribute connectedneighbor 192.168.0.2 activate!PE1: Example
!ip cef distributed!ip vrf vpn1rd 100:1route-target import 100:1route-target import 200:1route-target export 100:1!ip vrf vpn2rd 100:2route-target import 100:2route-target import 200:2route-target export 100:2!mpls ldp router-id lo0 forcempls ldp graceful-restartmpls ipmpls ip propagate-ttlmpls ldp advertise-labelsmpls label protocol ldp!interface lo0ip address 192.168.17.17 255.255.255.255no shutdown!interface gi3/1ip vrf forwarding vpn1ip address 192.168.36.2 255.255.255.0no shutdown!interface gi3/8mpls ipmpls label protocol ldpip address 192.168.31.2 255.255.255.0!interface gi3/10mpls ipmpls label protocol ldpip address 192.168.40.1 255.255.255.0no shutdown!interface gi3/13ip vrf forwarding vpn2ip address 192.168.0.2 255.0.0.0no shutdown!router ospf 100nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface gi3/1passive-interface gi3/13network 192.168.0.0 0.0.255.255 area 10network 192.168.17.17 0.0.0.0 area 100network 192.168.0.0 0.0.255.255 area 100!router bgp 100bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno bgp default ipv4-unicastno synchronizationneighbor 192.168.19.19 remote-as 100neighbor 192.168.19.19 update-source Loopback0address-family ipv4 vrf vpn1no auto-summaryredistribute connectedneighbor 192.168.36.1 remote-as 300neighbor 192.168.36.1 activateneighbor 192.168.36.1 advertisement-interval 5address-family ipv4 vrf vpn2 no auto-summaryredistribute connectedneighbor 192.168.37.1 remote-as 400neighbor 192.168.37.1 activateneighbor 192.168.37.1 advertisement-interval 5address-family vpnv4bgp scan-time import 5neighbor 192.168.19.19 activateneighbor 192.168.19.19 send-community extended!Route Reflector 1: Example
!ip cef distributedmpls ldp router-id lo0 forcempls ldp graceful-restartmpls ipmpls ip propagate-ttlmpls ldp advertise-labelsmpls ipmpls label protocol ldp!interface lo0ip address 192.168.19.19 255.255.255.255no shutdown!interface gi3/3mpls ipmpls label protocol ldpip address 192.168.40.2 255.255.255.0no shutdown!router ospf 100nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000network 192.168.19.19 0.0.0.0 area 100network 192.168.0.0 0.0.255.255 area 100 !router bgp 100bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.11.11 remote-as 100neighbor 192.168.11.11 update-source Loopback0neighbor 192.168.17.17 remote-as 100neighbor 192.168.17.17 update-source Loopback0neighbor 192.168.11.11 route-reflector-clientaddress-family ipv4no neighbor 192.168.17.17 activateneighbor 192.168.11.11 route-reflector-clientaddress-family vpnv4bgp scan-time import 5neighbor 192.168.11.11 activateneighbor 192.168.11.11 send-community extendedneighbor 192.168.17.17 activateneighbor 192.168.17.17 send-community extendedneighbor 192.168.11.11 route-reflector-clientneighbor 192.168.17.17 route-reflector-client!ASBR1: Example
!ip cef distributed!ip vrf vpn1rd 100:1route-target import 100:1route-target import 200:1route-target export 100:1inter-as-hybrid next-hop 192.168.32.2exitip vrf vpn2rd 100:2route-target import 100:2route-target import 200:2route-target export 100:2inter-as-hybrid next-hop 192.168.33.2exitmpls ldp router-id lo0 forcempls ldp graceful-restartmpls ipmpls ip propagate-ttlmpls ldp advertise-labelsmpls ipmpls label protocol ldpinterface lo0ip address 192.168.11.11 255.255.255.255no ipv6 addressip route-cache distributedip route-cache cef distributedno shutdowninterface gi3/8mpls ipmpls label protocol ldpip address 192.168.13.1 255.255.255.0no ipv6 addressip route-cache distributedip route-cache cef distributedno shutdowninterface gi3/10ip vrf forwarding vpn1ip address 192.168.32.1 255.255.255.0no ipv6 addressip route-cache distributedip route-cache cef distributedno shutdowninterface gi3/11ip vrf forwarding vpn2ip address 192.168.33.1 255.255.255.0no ipv6 addressip route-cache distributedip route-cache cef distributedno shutdowninterface gi3/46ip address 192.168.34.1 255.255.255.0no ipv6 addressip route-cache distributedip route-cache cef distributedno shutdownrouter ospf 100nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface gi3/10passive-interface gi3/11passive-interface gi3/46network 192.168.0.0 0.0.255.255 area 100network 192.168.11.11 0.0.0.0 area 100router bgp 100bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationno bgp default route-target filterbgp router-id 192.168.11.11neighbor 192.168.34.2 remote-as 200neighbor 192.168.34.2 advertisement-interval 5neighbor 192.168.19.19 remote-as 100neighbor 192.168.19.19 update-source Loopback0address-family ipv4no auto-summaryaddress-family ipv4 vrf vpn1no auto-summaryaddress-family ipv4 vrf vpn2no auto-summaryaddress-family vpnv4bgp scan-time import 5neighbor 192.168.34.2 activateneighbor 192.168.34.2 send-community bothneighbor 192.168.34.2 inter-as-hybridneighbor 192.168.19.19 activateneighbor 192.168.19.19 send-community extended !ip route vrf vpn1 192.168.12.12 255.255.255.255 gi3/10 192.168.32.2ip route vrf vpn2 192.168.12.12 255.255.255.255 gi3/11 192.168.33.2!ASBR 3: Example
!ip cef distributed!ip vrf vpn1rd 200:1route-target import 100:1route-target import 200:1route-target export 200:1inter-as-hybrid next-hop 192.168.32.1!ip vrf vpn2rd 200:2route-target import 100:2route-target import 200:2route-target export 200:2inter-as-hybrid next-hop 192.168.33.1!mpls ldp router-id lo0 forcempls ldp graceful-restartmpls ipmpls ip propagate-ttlmpls ldp advertise-labelsmpls label protocol ldp!interface lo0ip address 192.168.12.12 255.255.255.255no shutdown!interface po2/1/0mpls ipmpls label protocol ldpip address 192.168.35.1 255.255.255.0crc 16clock source internalno shutdown!interface gi3/10ip vrf forwarding vpn1ip address 192.168.32.2 255.255.255.0no shutdown!interface gi3/11ip vrf forwarding vpn2ip address 192.168.33.2 255.255.255.0no shutdown!interface gi3/45ip address 192.168.34.2 255.255.255.0no shutdown!router ospf 200nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface gi3/10passive-interface gi3/11passive-interface gi3/45network 192.168.0.0 0.0.255.255 area 200 network 192.168.12.12 0.0.0.0 area 200router bgp 200bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationno bgp default route-target filterbgp router-id 192.168.12.12neighbor 192.168.34.1 remote-as 100neighbor 192.168.34.1 advertisement-interval 5neighbor 192.168.20.20 remote-as 200neighbor 192.168.20.20 update-source Loopback0address-family ipv4no auto-summaryaddress-family ipv4 vrf vpn1no auto-summaryaddress-family ipv4 vrf vpn2no auto-summaryaddress-family vpnv4bgp scan-time import 5neighbor 192.168.34.1 activateneighbor 192.168.34.1 send-community bothneighbor 192.168.34.1 inter-as-hybridneighbor 192.168.20.20 activateneighbor 192.168.20.20 send-community extended !ip route vrf vpn1 192.168.11.11 255.255.255.255 gi3/10 192.168.32.1ip route vrf vpn2 192.168.11.11 255.255.255.255 gi3/11 192.168.33.1!PE2: Example
!ip cef distributed!ip vrf vpn1rd 200:1route-target import 100:1route-target import 200:1route-target export 200:1!ip vrf vpn2rd 200:2route-target import 100:2route-target import 200:2route-target export 200:2!mpls ldp router-id lo0 forcempls ldp graceful-restartmpls ipmpls ip propagate-ttlmpls ldp advertise-labelsmpls label protocol ldp!interface lo0ip address 192.168.18.18 255.255.255.255no shutdown!interface po1/0/0mpls ipmpls label protocol ldpip address 192.168.35.2 255.255.255.0crc 16clock source internalno shutdown!interface gi3/2ip vrf forwarding vpn1ip address 192.168.38.2 255.255.255.0no shutdown!interface gi3/8mpls ipmpls label protocol ldpip address 192.168.4.1 255.255.255.0no shutdown!interface gi3/10ip vrf forwarding vpn2ip address 192.168.39.2 255.255.255.0no shutdown!router ospf 200nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface gi3/10passive-interface gi3/2network 192.168.0.0 0.0.255.255 area 200network 192.168.18.18 0.0.0.0 area 200network 192.168.0.0 0.0.255.255 area 200 !router bgp 200bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno bgp default ipv4-unicastno synchronizationneighbor 192.168.20.20 remote-as 200neighbor 192.168.20.20 update-source Loopback0address-family ipv4 vrf vpn1no auto-summaryredistribute connectedneighbor 192.168.38.1 remote-as 500neighbor 192.168.38.1 activateneighbor 192.168.38.1 advertisement-interval 5address-family ipv4 vrf vpn2no auto-summaryredistribute connectedneighbor 192.168.9.1 remote-as 600neighbor 192.168.9.1 activateneighbor 192.168.9.1 advertisement-interval 5address-family vpnv4bgp scan-time import 5neighbor 192.168.20.20 activateneighbor 192.168.20.20 send-community extended!CE3: Example
!ip cef distributed!interface lo0ip address 192.168.15.15 255.255.255.255no shutdown!interface gi0/2ip address 192.168.38.1 255.255.255.0no shutdown!router ospf 500nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface gi0/2network 192.168.15.15 0.0.0.0 area 500!router bgp 500bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationneighbor 192.168.38.2 remote-as 200neighbor 192.168.38.2 advertisement-interval 5address-family ipv4no auto-summaryredistribute connectedneighbor 192.168.38.2 activate!CE 4: Example
!ip cef distributed!interface lo0ip address 192.168.16.16 255.255.255.255no shutdown!interface et6/2ip address 192.168.9.1 255.255.255.0no shutdown!router ospf 600nsf enforce globalredistribute connected subnetsauto-cost reference-bandwidth 1000passive-interface et6/2network 192.168.16.16 0.0.0.0 area 600!router bgp 600bgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartno synchronizationneighbor 192.168.39.2 remote-as 200neighbor 192.168.39.2 advertisement-interval 5address-family ipv4 no auto-summaryredistribute connectedneighbor 192.168.39.2 activate!Inter-AS AB CSC Configuration: Examples
The following examples show the configuration of an inter-AS option AB network with CSC:
CE1: Example
!ip cef distributed!interface Loopback0ip address 192.168.20.20 255.255.255.255!interface Ethernet3/3ip address 192.168.41.2 255.255.255.0!!router bgp 500bgp router-id 192.168.20.20bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.4.1 remote-as 300!address-family ipv4redistribute connectedneighbor 192.168.4.1 activateneighbor 192.168.4.1 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!CE2: Example
!ip cef distributed!interface Loopback0ip address 192.168.21.21 255.255.255.255!interface Ethernet0/0/7ip address 192.168.42.2 255.255.255.0!router bgp 600bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restart neighbor 192.168.42.1 remote-as 400!address-family ipv4redistribute connectedneighbor 192.168.42.1 activateneighbor 192.168.42.1 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!CE3: Example
!ip cef distributed!interface Loopback0ip address 192.168.22.22 255.255.255.255!interface Ethernet6/2ip address 192.168.43.2 255.255.255.0!router bgp 500bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restart neighbor 192.168.43.1 remote-as 300!address-family ipv4redistribute connectedneighbor 192.168.43.1 activateneighbor 192.168.43.1 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!CE 4: Example
!ip cef distributed!interface Loopback0ip address 192.168.23.23 255.255.255.255!!interface Ethernet0/0/7ip address 192.168.44.2 255.255.255.0!router bgp 600bgp router-id 192.168.23.23bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.44.1 remote-as 400!address-family ipv4redistribute connectedneighbor 192.168.44.1 activateneighbor 192.168.44.1 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!PE1: Example
!ip cef distributed!ip vrf vpn3rd 300:3route-target export 300:3route-target import 300:3!mpls ldp graceful-restart!mpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.192.10 255.255.255.255!interface Ethernet3/1ip vrf forwarding vpn3ip address 192.168.4.1 255.255.255.0!interface Ethernet5/3ip address 192.168.3.1 255.255.255.0mpls label protocol ldpmpls ip!!router ospf 300log-adjacency-changesauto-cost reference-bandwidth 1000redistribute connected subnetsnetwork 192.168.192.10 0.0.0.0 area 300network 192.168.0.0 0.0.255.255 area 300!router bgp 300no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.19.19 remote-as 300neighbor 192.168.19.19 update-source Loopback0!address-family vpnv4neighbor 192.168.19.19 activateneighbor 192.168.19.19 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn3redistribute connectedneighbor 192.168.41.2 remote-as 500neighbor 192.168.41.2 activateneighbor 192.168.41.2 as-overrideneighbor 192.168.41.2 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!CSC-CE1: Example
!ip cef distributed!mpls ldp graceful-restartmpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.11.11 255.255.255.255!!interface Ethernet3/4ip address 192.168.30.2 255.255.255.0mpls label protocol ldpmpls ip!router ospf 300log-adjacency-changesauto-cost reference-bandwidth 1000redistribute connected subnetsredistribute bgp 300 metric 3 subnetspassive-interface FastEthernet1/0network 192.168.11.11 0.0.0.0 area 300network 192.168.0.0 0.0.255.255 area 300distance ospf intra-area 19 inter-area 19!router bgp 300bgp router-id 192.168.11.11no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.13.1 remote-as 100!address-family ipv4redistribute ospf 300 metric 4 match internal external 1 external 2neighbor 192.168.13.1 activateneighbor 192.168.13.1 send-labelno auto-summaryno synchronizationexit-address-family!CSC-PE1: Example
!ip vrf vpn1rd 100:1route-target export 100:1route-target import 100:1route-target import 100:5route-target import 200:1!ip vrf vpn2rd 100:2route-target export 100:2route-target import 100:2route-target import 100:6route-target import 200:2!mpls ldp graceful-restartmpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.12.12 255.255.255.255!!interface FastEthernet4/0/0ip address 192.168.34.1 255.255.255.0mpls label protocol ldpmpls ip!interface FastEthernet4/0/1ip vrf forwarding vpn1ip address 192.168.13.1 255.255.255.0mpls bgp forwarding!!interface FastEthernet4/1/0ip vrf forwarding vpn2ip address 192.168.33.1 255.255.255.0mpls bgp forwarding!router ospf 100log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.12.12 0.0.0.0 area 100network 192.168.0.0 0.0.255.255 area 100!router bgp 100bgp router-id 192.168.12.12no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.15.15 remote-as 100neighbor 192.168.15.15 update-source Loopback0!address-family vpnv4neighbor 192.168.15.15 activateneighbor 192.168.15.15 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn2neighbor 192.168.33.2 remote-as 400neighbor 192.168.33.2 update-source FastEthernet4/1/0neighbor 192.168.33.2 activateneighbor 192.168.33.2 as-overrideneighbor 192.168.33.2 advertisement-interval 5neighbor 192.168.33.2 send-labelno auto-summaryno synchronizationexit-address-family!address-family ipv4 vrf vpn1neighbor 192.168.31.2 remote-as 300neighbor 192.168.31.2 update-source FastEthernet4/0/1neighbor 192.168.31.2 activateneighbor 192.168.31.2 as-overrideneighbor 192.168.31.2 advertisement-interval 5neighbor 192.168.31.2 send-labelno auto-summaryno synchronizationexit-address-family!PE 2: Example
ip cef distributed!ip vrf vpn4rd 400:4route-target export 400:4route-target import 400:4!!mpls ldp graceful-restartmpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.13.13 255.255.255.255!!interface Ethernet4/1/2ip vrf forwarding vpn4ip address 192.168.42.1 255.255.255.0!!interface Ethernet4/1/6ip address 192.168.32.1 255.255.255.0mpls label protocol ldpmpls ip!!router ospf 400log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.13.13 0.0.0.0 area 400network 192.168.0.0 0.0.255.255 area 400!router bgp 400bgp router-id 192.168.13.13no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.25.25 remote-as 400neighbor 192.168.25.25 update-source Loopback0!address-family vpnv4neighbor 192.168.25.25 activateneighbor 192.168.25.25 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn4redistribute connectedneighbor 192.168.42.2 remote-as 600neighbor 192.168.42.2 activateneighbor 192.168.42.2 as-overrideneighbor 192.168.42.2 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!CSC-CE2: Example
!ip cef distributed!mpls ldp graceful-restartmpls label protocol ldp!mpls ipinterface Loopback0ip address 192.168.14.14 255.255.255.255!!interface GigabitEthernet8/16ip address 192.168.33.2 255.255.255.0mpls bgp forwarding!!interface GigabitEthernet8/24ip address 192.168.32.2 255.255.255.0mpls label protocol ldpmpls ip!!router ospf 400log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsredistribute bgp 400 metric 3 subnetspassive-interface GigabitEthernet8/16network 192.168.14.14 0.0.0.0 area 400network 192.168.0.0 0.0.255.255 area 400distance ospf intra-area 19 inter-area 19!router bgp 400bgp router-id 192.168.14.14no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.33.1 remote-as 100!address-family ipv4no synchronizationredistribute connectedredistribute ospf 400 metric 4 match internal external 1 external 2neighbor 192.168.33.1 activateneighbor 192.168.33.1 advertisement-interval 5neighbor 192.168.33.1 send-labelno auto-summaryexit-address-family!ASBR1: Example
!ip vrf vpn5rd 100:5route-target export 100:5route-target import 100:5route-target import 100:1route-target import 200:5inter-as-hybrid csc next-hop 192.168.35.2!ip vrf vpn6rd 100:6route-target export 100:6route-target import 100:6route-target import 100:2route-target import 200:6inter-as-hybrid csc next-hop 192.168.36.2!mpls ldp graceful-restartmpls label protocol ldp!!interface Loopback0ip address 192.168.15.15 255.255.255.255!interface GigabitEthernet2/3ip vrf forwarding vpn5ip address 192.168.35.1 255.255.255.0mpls bgp forwarding!interface GigabitEthernet2/4ip vrf forwarding vpn6ip address 192.168.36.1 255.255.255.0mpls bgp forwarding!!interface GigabitEthernet2/5ip address 192.168.34.2 255.255.255.0mpls label protocol ldpmpls ip!!interface GigabitEthernet2/16ip address 192.168.37.1 255.255.255.0mpls bgp forwarding!!router ospf 100log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.15.15 0.0.0.0 area 100network 192.168.0.0 0.0.255.255 area 100!router bgp 100bgp router-id 192.168.15.15no bgp default ipv4-unicastno bgp default route-target filterbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.12.12 remote-as 100neighbor 192.168.12.12 update-source Loopback0neighbor 192.168.0.2 remote-as 200neighbor 192.168.0.2 disable-connected-check!address-family ipv4no synchronizationno auto-summaryexit-address-family!address-family vpnv4neighbor 192.168.12.12 activateneighbor 192.168.12.12 send-community extendedneighbor 192.168.0.2 activateneighbor 192.168.0.2 send-community extendedneighbor 192.168.0.2 inter-as-hybridexit-address-family!address-family ipv4 vrf vpn5no synchronizationexit-address-family!address-family ipv4 vrf vpn6no synchronizationexit-address-family!ip route 192.168.16.16 255.255.255.255 GigabitEthernet2/16 192.168.0.2ip route vrf vpn5 192.168.16.16 255.255.255.255 GigabitEthernet2/3 192.168.35.2ip route vrf vpn6 192.168.16.16 255.255.255.255 GigabitEthernet2/4 192.168.36.2!ip vrf vpn5rd 200:5route-target export 200:5route-target import 200:5route-target import 200:1route-target import 100:1route-target import 100:5inter-as-hybrid csc next-hop 192.168.35.1!ip vrf vpn6rd 200:6route-target export 200:6route-target import 200:6route-target import 200:2route-target import 100:2route-target import 100:6inter-as-hybrid csc next-hop 192.168.36.1!mpls ldp graceful-restartmpls label protocol ldp!!interface Loopback0ip address 192.168.16.16 255.255.255.255!!interface GigabitEthernet3/1ip vrf forwarding vpn5ip address 192.168.35.2 255.255.255.0mpls bgp forwarding!interface GigabitEthernet3/2ip vrf forwarding vpn6ip address 192.168.36.2 255.255.255.0mpls bgp forwarding! !interface GigabitEthernet3/14ip address 192.168.0.2 255.0.0.0mpls bgp forwarding!interface GigabitEthernet3/15ip address 192.168.38.2 255.255.255.0mpls label protocol ldpmpls ip!router ospf 200log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.16.16 0.0.0.0 area 200network 192.168.0.0 0.0.255.255 area 200!router bgp 200bgp router-id 192.168.16.16no bgp default ipv4-unicastno bgp default route-target filterbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.17.17 remote-as 200neighbor 192.168.17.17 update-source Loopback0neighbor 192.168.37.1 remote-as 100neighbor 192.168.37.1 disable-connected-check!address-family ipv4no synchronizationno auto-summaryexit-address-family!address-family vpnv4neighbor 192.168.17.17 activateneighbor 192.168.17.17 send-community extendedneighbor 192.168.37.1 activateneighbor 192.168.37.1 send-community extendedneighbor 192.168.37.1 inter-as-hybridexit-address-family!address-family ipv4 vrf vpn5no synchronizationexit-address-family!address-family ipv4 vrf vpn6no synchronizationexit-address-family!ip route 192.168.15.15 255.255.255.255 GigabitEthernet3/14 192.168.37.1ip route vrf vpn5 192.168.15.15 255.255.255.255 GigabitEthernet3/1 192.168.35.1ip route vrf vpn6 192.168.15.15 255.255.255.255 GigabitEthernet3/2 192.168.36.1!CSC-PE 3: Example
ip vrf vpn1rd 200:1route-target export 200:1route-target import 200:1route-target import 200:5route-target import 100:1!ip vrf vpn2rd 200:2route-target export 200:2route-target import 200:2route-target import 200:6route-target import 100:2!mpls ldp graceful-restartmpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.17.17 255.255.255.255!interface FastEthernet4/0/2ip vrf forwarding vpn2ip address 192.168.5.1 255.255.255.0mpls bgp forwarding!!interface FastEthernet4/0/4ip vrf forwarding vpn1ip address 192.168.9.1 255.255.255.0mpls bgp forwarding!!interface FastEthernet4/0/7ip address 192.168.38.1 255.255.255.0mpls label protocol ldpmpls ip!router ospf 200log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.17.17 0.0.0.0 area 200network 192.168.0.0 0.0.255.255 area 200!router bgp 200bgp router-id 192.168.17.17no bgp default ipv4-unicastbgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.16.16 remote-as 200neighbor 192.168.16.16 update-source Loopback0!address-family vpnv4neighbor 192.168.16.16 activateneighbor 192.168.16.16 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn2neighbor 192.168.55.0 remote-as 400neighbor 192.168.55.0 update-source FastEthernet4/0/2neighbor 192.168.55.0 activateneighbor 192.168.55.0 as-overrideneighbor 192.168.55.0 advertisement-interval 5neighbor 192.168.55.0 send-labelno auto-summaryno synchronizationexit-address-family!address-family ipv4 vrf vpn1neighbor 192.168.39.2 remote-as 300neighbor 192.168.39.2 update-source FastEthernet4/0/4neighbor 192.168.39.2 activateneighbor 192.168.39.2 as-overrideneighbor 192.168.39.2 advertisement-interval 5neighbor 192.168.39.2 send-labelno auto-summaryno synchronizationexit-address-family!CSC-CE3: Example
!interface Loopback0ip address 192.168.18.18 255.255.255.255!!interface Ethernet3/3ip address 192.168.40.2 255.255.255.0mpls label protocol ldpmpls ip!!interface FastEthernet5/0ip address 192.168.39.2 255.255.255.0mpls bgp forwarding!!router ospf 300log-adjacency-changesauto-cost reference-bandwidth 1000redistribute connected subnetsredistribute bgp 300 metric 3 subnetsnetwork 192.168.18.18 0.0.0.0 area 300network 192.168.0.0 0.0.255.255 area 300distance ospf intra-area 19 inter-area 19!router bgp 300bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.9.1 remote-as 200!address-family ipv4redistribute connectedredistribute ospf 300 metric 4 match internal external 1 external 2neighbor 192.168.9.1 activateneighbor 192.168.9.1 advertisement-interval 5neighbor 192.168.9.1 send-labelno auto-summaryno synchronizationexit-address-family!CSC-CE 4: Example
!ip cef distributed!mpls ldp graceful-restartmpls label protocol ldp!mpls ip!interface Loopback0ip address 192.168.24.24 255.255.255.255!!interface FastEthernet1/1ip address 192.168.55.0 255.255.255.0mpls bgp forwarding!!interface Ethernet3/5ip address 192.168.56.2 255.255.255.0mpls label protocol ldpmpls ip!!router ospf 400log-adjacency-changesauto-cost reference-bandwidth 1000redistribute connected subnetsredistribute bgp 400 metric 3 subnetsnetwork 192.168.24.24 0.0.0.0 area 400network 192.168.0.0 0.0.255.255 area 400!router bgp 400bgp log-neighbor-changesneighbor 192.168.5.1 remote-as 200!address-family ipv4redistribute connectedredistribute ospf 400 metric 4 match internal external 1 external 2neighbor 192.168.5.1 activateneighbor 192.168.5.1 advertisement-interval 5neighbor 192.168.5.1 send-labelno auto-summaryno synchronizationexit-address-familyPE 3: Example
!ip cef distributed!ip vrf vpn3rd 300:3route-target export 300:3route-target import 300:3mpls ip!!mpls ldp graceful-restartmpls label protocol ldp!!interface Loopback0ip address 192.168.19.19 255.255.255.255!!interface Ethernet5/1/1ip vrf forwarding vpn3ip address 192.168.43.1 255.255.255.0!!interface Ethernet5/1/4ip address 192.168.40.1 255.255.255.0mpls label protocol ldpmpls ip!!router ospf 300log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.19.19 0.0.0.0 area 300network 192.168.0.0 0.0.255.255 area 300network 192.168.0.0 0.0.255.255 area 300!router bgp 300bgp router-id 192.168.19.19bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.192.10 remote-as 300neighbor 192.168.192.10 update-source Loopback0!address-family ipv4no neighbor 192.168.192.10 activateno auto-summaryno synchronizationexit-address-family!address-family vpnv4neighbor 192.168.192.10 activateneighbor 192.168.192.10 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn3neighbor 192.168.43.2 remote-as 500neighbor 192.168.43.2 activateneighbor 192.168.43.2 as-overrideneighbor 192.168.43.2 advertisement-interval 5no auto-summaryno synchronizationexit-address-familyPE 4: Example
!ip cef distributed!ip vrf vpn4rd 400:4route-target export 400:4route-target import 400:4!mpls ldp graceful-restartmpls ldp protocol ldp!mpls ip!interface Loopback0ip address 192.168.25.25 255.255.255.255!!interface Ethernet5/0/4ip address 192.168.56.1 255.255.255.0mpls label protocol ldpmpls ip!!interface Ethernet5/0/7ip vrf forwarding vpn4ip address 192.168.44.1 255.255.255.0!!router ospf 400log-adjacency-changesauto-cost reference-bandwidth 1000nsf enforce globalredistribute connected subnetsnetwork 192.168.25.25 0.0.0.0 area 400network 192.168.0.0 0.0.255.255 area 400!router bgp 400bgp router-id 192.168.25.25bgp log-neighbor-changesbgp graceful-restart restart-time 120bgp graceful-restart stalepath-time 360bgp graceful-restartneighbor 192.168.13.13 remote-as 400neighbor 192.168.13.13 ebgp-multihop 7neighbor 192.168.13.13 update-source Loopback0!address-family ipv4no neighbor 192.168.13.13 activateno auto-summaryno synchronizationexit-address-family!address-family vpnv4neighbor 192.168.13.13 activateneighbor 192.168.13.13 send-community extendedbgp scan-time import 5exit-address-family!address-family ipv4 vrf vpn4neighbor 192.168.44.2 remote-as 600neighbor 192.168.44.2 activateneighbor 192.168.44.2 as-overrideneighbor 192.168.44.2 advertisement-interval 5no auto-summaryno synchronizationexit-address-family!Additional References
The following sections provide references related to the MPLS VPN—Inter-AS Option AB feature.
•
MIBs
•
RFCs
Related Documents
Related Topic Document TitleMPLS VPNs
MPLS VPN Interautonomous Systems
•
MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses
•
MPLS VPN Inter-AS with ASBRs Exchanging IPv4 Routes and MPLS Labels
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
Technical Assistance
Feature Information for MPLS VPN—Inter-AS Option AB
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Glossary
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.
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.
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.
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco Nurse Connect, Cisco Pulse, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, and Flip Gift Card are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Fast Step, Follow Me Browsing, FormShare, GainMaker, GigaDrive, HomeLink, iLYNX, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website 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. (0908R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 20079 Cisco Systems, Inc. All rights reserved.



