Because Router B is the PE router for the end customer CE router (Router A), you need to configure a routing instance (vpna). Configure the labeled-unicast statement on the IBGP session to Router D, and configure family-inet-vpn for the IBGP session to the other side of the network (see Figure 53) with Router I:
- [edit]
- protocols {
-
- mpls {
- interface fe-1/0/2.0;
- interface fe-1/0/3.0;
- }
-
- bgp {
-
- group int {
- type internal;
- local-address 10.255.14.179;
-
- neighbor 10.255.14.175 {
-
- family inet {
- labeled-unicast;
- resolve-vpn;
- }
- }
- }
-
- neighbor 10.255.14.181 {
-
- family inet-vpn {
- any;
- }
- }
- }
-
- ospf {
-
- area 0.0.0.0 {
-
- interface lo0.0 {
- passive;
- }
- interface fe-1/0/3.0;
- }
- }
-
- ldp {
- interface fe-1/0/3.0;
- }
- }
- routing-instances {
-
- vpna {
- instance-type vrf;
- interface fe-1/0/2.0;
- route-distinguisher 10.255.14.179:21;
- vrf-import vpna-import;
- vrf-export vpna-export;
-
- protocols {
-
- bgp {
-
- group vpna-06 {
- peer-as 1;
- neighbor 192.168.197.170;
- }
- }
- }
- }
- }
- policy-options {
-
- policy-statement vpna-import {
-
- term a {
-
- from {
- protocol bgp;
- community vpna-comm;
- }
- then accept;
- }
-
- term b {
- then reject;
- }
- }
-
- policy-statement vpna-export {
-
- term a {
- from protocol bgp;
-
- then {
- community add vpna-comm;
- accept;
- }
- }
-
- term b {
- then reject;
- }
- }
- community vpna-comm members target:100:1001;
- }