Configuring Carrier-of-Carriers VPNs for Customers That Provide VPN Service
You can configure a carrier-of-carriers VPN service for customers who want VPN service. Carrier-of-Carriers VPNs shows how the routers in this type of service interconnect.
To configure the following routers in the customer’s and provider’s networks to enable carrier-of-carriers VPN service, you perform the steps in the following sections:
Configuring the Carrier-of-Carriers Customer’s PE Router
The carrier-of-carriers customer’s PE router is connected to the end customer’s CE router.
The following sections describe how to configure the carrier-of-carriers customer’s PE router:
- Configuring MPLS
- Configuring BGP
- Configuring OSPF
- Configuring LDP
- Configuring VPN Service in the Routing Instance
- Configuring Policy Options
Configuring MPLS
To configure MPLS on the carrier-of-carriers customer’s PE router, include the mpls statement:
You can include this statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring BGP
Include the labeled-unicast statement in the configuration for the IBGP session to the carrier-of-carriers customer’s CE router (see Configuring Carrier-of-Carriers VPNs for Customers That Provide VPN Service), and include the family-inet-vpn statement in the configuration for the IBGP session to the carrier-of-carriers PE router on the other side of the network:
You can include these statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring OSPF
To configure OSPF on the carrier-of-carriers customer’s PE router, include the ospf statement:
You can include this statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring LDP
To configure LDP on the carrier-of-carriers customer’s PE router, include the ldp statement:
You can include this statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring VPN Service in the Routing Instance
To configure VPN service for the end customer’s CE router on the carrier-of-carriers customer’s PE router, include the following statements:
You can include these statements at the following hierarchy levels:
- [edit routing-instances routing-instance-name]
- [edit logical-systems logical-system-name routing-instances routing-instance-name]
Configuring Policy Options
To configure policy options to import and export routes to and from the end customer’s CE router, include the policy-statement and community statements:
You can include these statements at the following hierarchy levels:
- [edit policy-options]
- [edit logical-systems logical-system-name policy-options]
Configuring the Carrier-of-Carriers Customer’s CE Router
The carrier-of-carriers customer’s CE router connects to the provider’s PE router. Complete the instructions in the following sections to configure the carrier-of-carriers customers’ CE router:
Configuring MPLS
In the MPLS configuration for the carrier-of-carriers customer’s CE router, include the interfaces to the provider’s PE router and to a P router in the customer’s network:
You can include these statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring BGP
In the BGP configuration for the carrier-of-carriers customer’s CE router, configure a group that includes the labeled-unicast statement to extend VPN service to the PE router connected to the end customer’s CE router:
You can include the bgp statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
To configure a group to send labeled internal routes to the provider’s PE router, include the bgp statement:
You can include this statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring OSPF and LDP
To configure OSPF and LDP on the carrier-of-carriers customer’s CE router, include the ospf and ldp statements:
You can include these statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring Policy Options
To configure the policy options on the carrier-of-carriers customer’s CE router, include the policy-statement statement:
You can include this statement at the following hierarchy levels:
- [edit policy-options]
- [edit logical-systems logical-system-name policy-options]
Configuring the Provider’s PE Router
The carrier-of-carriers provider’s PE routers connect to the carrier customer’s CE routers. Complete the instructions in the following sections to configure the provider’s PE router:
- Configuring MPLS
- Configuring a PE-Router-to-PE-Router BGP Session
- Configuring IS-IS and LDP
- Configuring Policy Options
- Configuring a Routing Instance to Send Routes to the CE Router
Configuring MPLS
In the MPLS configuration, specify at least two interfaces—one to the customer’s CE router and one to connect to the provider’s PE router on the other side of the provider’s network:
You can include these statements at the following hierarchy levels:
- [edit protocols mpls]
- [edit logical-systems logical-system-name protocols mpls]
Configuring a PE-Router-to-PE-Router BGP Session
To configure a PE-router-to-PE-router BGP session on the provider’s PE routers to allow VPN-IPv4 routes to pass between the PE routers, include the bgp statement:
You can include this statement at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring IS-IS and LDP
To configure IS-IS and LDP on the provider’s PE routers, include the isis and ldp statements:
You can include these statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
Configuring Policy Options
To configure policy statements on the provider’s PE router to export routes to and import routes from the carrier customer’s network, include the policy-statement and community statements:
You can include these statements at the following hierarchy levels:
- [edit policy-options]
- [edit logical-systems logical-system-name policy-options]
Configuring a Routing Instance to Send Routes to the CE Router
To configure the routing instance on the provider’s PE router to send labeled routes to the carrier customer’s CE router, include the following statements:
You can include these statements at the following hierarchy levels:
- [edit routing-instances routing-instance-name]
- [edit logical-systems logical-system-name routing-instances routing-instance-name]