CE2 @ 5 – BGP MVPN with mLDP Transport

## Last commit: 2015-01-21 08:13:07 UTC by juniper
version 14.1R1.4;
system {
    host-name CE2;
    root-authentication {
        encrypted-password “$1$Flx4p.fg$rT9Bf9k9pKcSZuAADwgqU1”; ## SECRET-DATA
    }
    login {
        user juniper {
            uid 2000;
            class super-user;
            authentication {
                encrypted-password “$1$YZIEAzQv$lzJuMIoeLtZTJKq/CWy6p0”; ## SECRET-DATA
            }
        }
    }
    services {
        ssh;
        telnet;
    }
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any notice;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
}
interfaces {
    ge-0/0/0 {
        mac 00:50:56:8b:1f:01;
        unit 0 {
            family inet {
                address 10.255.0.12/24;
            }
        }
    }
    ge-0/0/1 {
        vlan-tagging;
        mac 00:50:56:8b:25:14;
        unit 1002 {
            vlan-id 1002;
            family inet {
                address 10.1.2.2/24;
            }
        }
    }
    ge-0/0/2 {
        vlan-tagging;
        mac 00:50:56:8b:67:6e;
    }
    ge-0/0/3 {
        vlan-tagging;
        mac 00:50:56:8b:55:e1;
        unit 1020 {
            vlan-id 1020;
            family inet {
                address 10.1.0.2/31;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 192.168.10.2/32;
            }
        }
    }
}
routing-options {
    static {
        route 0.0.0.0/0 discard;
    }
    autonomous-system 65001;
    forwarding-table {
        export PL-LB;
    }
}
protocols {
    igmp {
        interface ge-0/0/1.1002 {
            version 3;
        }
    }
    sap {
        listen 232.1.1.1;
        listen 224.1.1.1;
    }
    bgp {
        group EBGP-65000 {
            peer-as 65000;
            neighbor 10.1.0.3 {
                export PL-EBGP-65000-OUT;
            }
        }
    }
    pim {
        interface ge-0/0/1.1002;
        interface ge-0/0/3.1020;
    }
}
policy-options {
    policy-statement PL-EBGP-65000-OUT {
        term DIRECT {
            from {
                protocol direct;
                route-filter 192.168.10.2/32 exact;
                route-filter 10.1.2.0/24 exact;
            }
            then {
                metric 100;
                accept;
            }
        }
    }
    policy-statement PL-LB {
        then {
            load-balance per-packet;
        }
    }
}