RR3 @ 9 – Inter-AS Option C

## Last commit: 2015-07-26 23:11:37 UTC by juniper
version 14.1R1.4;
system {
    host-name 00-RR3;
    root-authentication {
        encrypted-password “$1$SFOryLE.$c4cyacPQ5u0nvHuvfI/2x.”; ## SECRET-DATA
    }
    login {
        user juniper {
            uid 2000;
            class super-user;
            authentication {
                encrypted-password “$1$smm3MSmB$sz2DDW9CA77QeDWZLyu9F.”; ## 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:a7:1b;
        unit 0 {
            family inet {
                address 10.255.0.43/24;
            }
        }
    }
    ge-0/0/1 {
        mac 00:50:56:8b:7e:10;
        unit 0 {
            family inet {
                address 10.0.10.17/31;
            }
            family iso;
            family mpls;
        }
    }
    ge-0/0/2 {
        mac 00:50:56:8b:fa:b4;
        unit 0 {
            family inet {
                address 10.0.10.14/31;
            }
            family iso;
            family mpls;
        }
    }
    ge-0/0/3 {
        mac 00:50:56:8b:82:f8;
        unit 0 {
            family inet {
                address 10.0.10.19/31;
            }
            family iso;
            family mpls;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 172.16.10.203/32;
            }
            family iso {
                address 49.0000.1720.1601.0203.00;
            }
        }
    }
}
routing-options {
    interface-routes {
        rib-group inet RG-LOCAL-LOOPBACK;
    }
    rib inet.3 {
        static {
            route 0.0.0.0/0 discard;
        }
    }
    rib inet6.0 {
        static {
            route 0::0/0 discard;
        }
    }
    rib inet6.3 {
        static {
            route 0::0/0 discard;
        }
    }
    static {
        route 0.0.0.0/0 discard;
    }
    rib-groups {
        RG-LOCAL-LOOPBACK {
            import-rib [ inet.0 inet.3 ];
            import-policy PL-LOCAL-LOOPBACK;
        }
    }
    autonomous-system 65101;
}
protocols {
    bgp {
        group eBGP-RR-65100 {
            multihop {
                no-nexthop-change;
            }
            local-address 172.16.10.203;
            family inet-vpn {
                unicast;
            }
            family inet6-vpn {
                unicast;
            }
            peer-as 65100;
            neighbor 172.16.0.201;
            neighbor 172.16.0.202;
        }
        group CLIENTS {
            type internal;
            local-address 172.16.10.203;
            family inet-vpn {
                unicast;
            }
            family inet6 {
                labeled-unicast;
            }
            family inet6-vpn {
                unicast;
            }
            family route-target {
                advertise-default;
            }
            cluster 172.16.10.203;
            neighbor 172.16.10.33;
            neighbor 172.16.10.44;
        }
        group ASBR {
            type internal;
            local-address 172.16.10.203;
            family inet {
                labeled-unicast;
            }
            export PL-LOCAL-LOOPBACK;
            neighbor 172.16.10.103;
            neighbor 172.16.10.104;
        }
    }
    isis {
        overload;
        level 1 disable;
        level 2 wide-metrics-only;
        interface ge-0/0/1.0 {
            point-to-point;
        }
        interface ge-0/0/2.0 {
            point-to-point;
        }
        interface ge-0/0/3.0 {
            point-to-point;
            level 2 metric 100;
        }
        interface lo0.0;
    }
    ldp {
        interface ge-0/0/1.0;
        interface ge-0/0/2.0;
        interface ge-0/0/3.0;
    }
}
policy-options {
    policy-statement PL-LOCAL-LOOPBACK {
        term LOCAL-LOOPBACK {
            from interface lo0.0;
            then {
                metric 0;
                origin incomplete;
                community add CM-RR1;
                accept;
            }
        }
        term DIRECT {
            from protocol direct;
            then reject;
        }
    }
    community CM-RR1 members 65000:101;
}

Advertisements