Router K acts as the CE router at the end of the connection to the carrier provider. As in the configuration for Router D, include the labeled-unicast statement for the EBGP session:
- [edit]
- protocols {
-
- mpls {
- interface fe-1/1/2.0;
- interface fe-1/0/2.0;
- }
-
- bgp {
-
- group int {
- type internal;
- local-address 10.255.14.177;
- neighbor 10.255.14.181;
- neighbor 10.255.14.178;
- neighbor 10.255.14.175;
- neighbor 10.255.14.176;
- neighbor 10.255.14.179;
- }
-
- group to-isp-red {
- export internal;
- peer-as 10023;
-
- neighbor 192.168.197.93 {
-
- family inet {
- labeled-unicast;
- }
- }
- }
- }
-
- ospf {
-
- area 0.0.0.0 {
-
- interface lo0.0 {
- passive;
- }
- interface fe-1/0/2.0;
-
- interface fe-1/1/2.0 {
- passive;
- }
- }
- }
- }
- policy-options {
-
- policy-statement internal {
-
- term a {
- from protocol [ ospf direct ];
- then accept;
- }
-
- term b {
- then reject;
- }
- }
- }