Router D acts as the CE router for the VPN services provided by the AS 10023 network. In the BGP group configuration for group int, which handles traffic to Router B (10.255.14.179), you include the labeled-unicast statement. You also need to configure the BGP group to-isp-red to send labeled internal routes to the PE router (Router E).
- [edit]
- protocols {
-
- mpls {
- traffic-engineering bgp-igp;
- interface fe-0/3/0.0;
- interface t3-0/0/0.0;
- }
-
- bgp {
-
- group int {
- type internal;
- local-address 10.255.14.175;
-
- neighbor 10.255.14.179 {
-
- family inet {
- labeled-unicast;
- }
- }
- }
-
- group to-isp-red {
- export internal;
- peer-as 10023;
-
- neighbor 192.168.197.13 {
-
- family inet {
- labeled-unicast;
- }
- }
- }
- }
-
- ospf {
-
- area 0.0.0.0 {
-
- interface lo0.0 {
- passive;
- }
- interface fe-0/3/0.0;
- }
- }
-
- ldp {
- interface fe-0/3/0.0;
- }
- }
- policy-options {
-
- policy-statement internal {
-
- term a {
- from protocol [ ospf direct ];
- then accept;
- }
-
- term b {
- then reject;
- }
- }
- }