ASBR3 @ 9 – Inter-AS Option C

## Last commit: 2015-07-26 22:37:50 UTC by juniper
version 15.1-20150327_ib_15_1_psd.1;
system {
    host-name 00-ASBR3;
    root-authentication {
        encrypted-password “$5$CjJUsSUl$fjh4t9tFppl5I1EUx7G1M7XAW7MvZDgKyU2IIX5vPh2”; ## SECRET-DATA
    }
    login {
        user juniper {
            uid 2000;
            class super-user;
            authentication {
                encrypted-password “$5$d.Uu1AYN$QrObaWnvRXR24QxKlaiUXLwvuWAFyePyV5Nij8Du581”; ## SECRET-DATA
            }
        }
    }
    services {
        ssh;
        telnet;
    }
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any notice;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
}
interfaces {
    ge-2/0/0 {
        mac 00:50:56:8b:4e:85;
        unit 0 {
            family inet {
                address 10.255.0.53/16;
            }
        }
    }
    ge-2/0/1 {
        mac 00:50:56:8b:2a:64;
        unit 0 {
            family inet {
                address 10.0.1.1/31;
            }
            family inet6 {
                address fc00::10:0:1:1/127;
            }
            family mpls;
        }
    }
    ge-2/0/2 {
        mac 00:50:56:8b:11:0e;
        unit 0 {
            family inet {
                address 10.0.10.0/31;
            }
            family iso;
            family inet6;
            family mpls;
        }
    }
    ge-2/0/3 {
        mac 00:50:56:8b:9f:79;
        unit 0 {
            family inet {
                address 10.0.10.2/31;
            }
            family iso;
            family inet6;
            family mpls;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 172.16.10.103/32 {
                    primary;
                }
            }
            family iso {
                address 49.0000.1720.1610.0103.00;
            }
        }
    }
}
routing-options {
    interface-routes {
        rib-group inet RG-LOCAL-LOOPBACK;
    }
    rib inet.3;
    rib bgp.rtarget.0 {
        static {
            route-target-filter 65000:1001/64 group IBGP-RR;
            route-target-filter 65000:1002/64 group IBGP-RR;
        }
    }
    rib inet6.3;
    static {
        route 0.0.0.0/0 discard;
    }
    rib-groups {
        RG-LOCAL-LOOPBACK {
            import-rib [ inet.0 inet.3 ];
            import-policy PL-LOCAL-LOOPBACK;
        }
    }
    router-id 172.16.10.103;
    autonomous-system 65101;
    forwarding-table {
        export PL-LB;
    }
}
protocols {
    rsvp {
        interface ge-2/0/2.0;
        interface ge-2/0/3.0;
    }
    mpls {
        ipv6-tunneling;
        icmp-tunneling;
        interface ge-2/0/2.0;
        interface ge-2/0/3.0;
    }
    bgp {
        group iBGP-LU {
            type internal;
            local-address 172.16.10.103;
            family inet {
                labeled-unicast {
                    rib {
                        inet.3;
                    }
                }
            }
            export PL-LOCAL-LOOPBACK;
            neighbor 172.16.10.33;
            neighbor 172.16.10.44;
            neighbor 172.16.10.203;
            neighbor 172.16.10.204;
        }
        group eBGP-LU {
            family inet {
                labeled-unicast {
                    rib {
                        inet.3;
                    }
                }
            }
            export PL-LOCAL-LOOPBACK;
            peer-as 65100;
            neighbor 10.0.1.0;
        }
    }
    isis {
        no-ipv6-routing;
        level 1 disable;
        level 2 wide-metrics-only;
        interface ge-2/0/2.0 {
            point-to-point;
            level 2 metric 100;
        }
        interface ge-2/0/3.0 {
            point-to-point;
        }
        interface lo0.0;
    }
    ldp {
        track-igp-metric;
        interface ge-2/0/2.0;
        interface ge-2/0/3.0;
        interface lo0.0;
    }
    lldp {
        interface all;
    }
}
policy-options {
    policy-statement PL-IBGP-RR-OUT {
        term NHS {
            from family inet;
            then {
                next-hop self;
            }
        }
    }
    policy-statement PL-LB {
        then {
            load-balance per-packet;
        }
    }
    policy-statement PL-LOCAL-LOOPBACK {
        term LOCAL-LOOPBACK {
            from interface lo0.0;
            then {
                metric 0;
                origin incomplete;
                community add CM-ASBR;
                accept;
            }
        }
        term DIRECT {
            from protocol direct;
            then reject;
        }
    }
    policy-statement eBGP-IPv6-NH {
        term IPv6 {
            from family inet6-vpn;
            then {
                next-hop fc00::10:0:1:1;
            }
        }
    }
    community CM-ASBR members 65000:1;
    community RT-ALL members target:*:*;
}

Advertisements