The configuration for Router E is very similar to the configuration for Router B:
- [edit]
- protocols {
-
- rsvp {
- interface fe-1/1/2.0;
- }
-
- mpls {
-
- label-switched-path to-routerD {
- to 10.255.14.173;
- description "to-routerD for use with VPNa";
- }
- interface fe-1/1/2.0;
- interface so-1/2/0.0;
- }
-
- bgp {
-
- group to-ibgp-pe {
- type internal;
- local-address 10.255.14.177;
-
- family inet-vpn {
- unicast;
- }
- neighbor 10.255.14.173;
- }
- }
-
- ospf {
- traffic-engineering;
- reference-bandwidth 4g;
-
- area 0.0.0.0 {
- interface fe-1/1/2.0;
-
- interface lo0.0 {
- passive;
- }
- }
- }
- }
- routing-instances {
-
- vpna {
- instance-type vrf;
- interface so-1/2/0.0;
- route-distinguisher 10.255.14.177:11;
- vrf-import vpna-import;
- vrf-export vpna-export;
-
- protocols {
-
- bgp {
-
- group to-routerF-ce {
-
- neighbor 192.168.198.14 {
- peer-as 11;
- }
- }
- }
- }
- }
- }
- policy-options {
-
- policy-statement vpna-import {
-
- term 1 {
-
- from {
- protocol bgp;
- community vpna-comm;
- }
- then accept;
- }
-
- term 2 {
- then reject;
- }
- }
-
- policy-statement vpna-export {
-
- term 1 {
- from protocol bgp;
-
- then {
- community add vpna-comm;
- accept;
- }
- }
-
- term 2 {
- then reject;
- }
- }
- community vpna-comm members target:100:1001;
- }