Router D is the CE router with respect to AS 10023. In a carrier-of-carriers VPN, the CE router must be able to send labels to the carrier provider; this is done with the labeled-unicast statement in group to-isp-red.
- [edit]
- protocols {
-
- mpls {
- interface t3-0/0/0.0;
- }
-
- bgp {
-
- group int {
- type internal;
- local-address 10.255.14.175;
- neighbor 10.255.14.179;
- neighbor 10.255.14.176;
- neighbor 10.255.14.177;
- neighbor 10.255.14.178;
- neighbor 10.255.14.181;
- }
-
- 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;
-
- interface t3-0/0/0.0 {
- passive;
- }
- }
- }
- }
- policy options {
-
- policy-statement internal {
-
- term a {
- from protocol [ ospf direct ];
- then accept;
- }
-
- term b {
- then reject;
- }
- }
- }