In the BGP protocol configuration for Router C, include the keep all statement. When this statement is included, BGP must store every route learned through BGP. Configure two BGP sessions (configure family inet-vpn on both sessions):
Interface t3-0/2/0 is added at the [edit protocols mpls] hierarchy level, allowing BGP to announce routes with labels over the EBGP session.
Configure Router C:
- [edit]
- protocols {
-
- rsvp {
- interface t3-0/2/0.0;
- }
-
- mpls {
-
- label-switched-path to-routerB {
- to 10.255.14.175;
- description "to-routerB for use with vpns";
- }
- interface t3-0/2/0.0;
- interface so-0/0/0.0;
- }
-
- bgp {
- keep all;
-
- group to-ibgp {
- type internal;
- local-address 10.255.14.171;
-
- family inet-vpn {
- unicast;
- }
- neighbor 10.255.14.175;
- }
-
- group to-ebgp-pe {
- type external;
-
- family inet-vpn {
- unicast;
- }
-
- neighbor 192.168.197.22 {
- peer-as 10045;
- }
- }
- }
-
- ospf {
- traffic-engineering;
- reference-bandwidth 4g;
-
- area 0.0.0.0 {
- interface t3-0/2/0.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
- }