ASBR3 @ 9 – Inter-AS Option B

## Last commit: 2015-07-26 11:57:24 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 {
    rib inet.3 {
        static {
            route 172.16.10.203/32 discard;
            route 172.16.10.204/32 discard;
        }
    }
    rib bgp.rtarget.0 {
        static {
            route-target-filter 65000:1001/64 group IBGP-RR;
            route-target-filter 65000:1002/64 group IBGP-RR;
        }
    }
    static {
        route 0.0.0.0/0 discard;
    }
    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 eBGP-VPN {
            family inet-vpn {
                unicast;
            }
            family inet6-vpn {
                unicast;
            }
            family route-target;
            export eBGP-IPv6-NH;
            peer-as 65100;
            neighbor 10.0.1.0;
        }
        group IBGP-RR {
            type internal;
            local-address 172.16.10.103;
            family inet-vpn {
                unicast;
            }
            family inet6-vpn {
                unicast;
            }
            family route-target;
            export PL-IBGP-RR-OUT;
            neighbor 172.16.10.203;
            neighbor 172.16.10.204;
        }
    }
    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 eBGP-IPv6-NH {
        term IPv6 {
            from family inet6-vpn;
            then {
                next-hop fc00::10:0:1:1;
            }
        }
    }
    community RT-ALL members target:*:*;
}

Advertisements