Configure Router D:
- [edit]
- protocols {
-
- bgp {
-
- group to-ibgp-pe {
- type internal;
-
- family inet {
- labeled-unicast;
- }
- neighbor 10.255.14.177;
- }
-
- group to-ebgp-pe {
- type external;
-
- family inet {
- labeled-unicast;
- }
- export internal;
- peer-as 10023;
- neighbor 192.168.197.21;
- }
-
- mpls {
-
- label-switched-path to-E {
- to 10.255.14.177;
- description "to-routerE for vpna";
- }
- interface fe-1/1/0.0;
- interface so-0/1/0.0;
- traffic-engineering bgp-igp;
- }
-
- ospf {
- traffic-engineering;
- reference-bandwidth 4g;
-
- area 0.0.0.0 {
- interface fe-1/1/0.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
-
- rsvp {
- interface fe-1/1/0.0;
- }
- }
-
- policy-options {
-
- policy-statement internal {
-
- term 1 {
- from protocol [ospf direct ldp];
- then accept;
- }
-
- term 2 {
- then reject;
- }
- }
- }
- }