ASBR1 @ 9 – Inter-AS Option B

## Last commit: 2015-07-26 13:53:11 UTC by juniper
version 15.1-20150327_ib_15_1_psd.1;
system {
    host-name 00-ASBR1;
    root-authentication {
        encrypted-password “$5$FV2b.dFQ$wMlmSVyup..fms6AW9G71iU/oYy6/Ld7WyvJ0zxeaX7”; ## SECRET-DATA
    }
    login {
        user juniper {
            uid 2000;
            class super-user;
            authentication {
                encrypted-password “$5$0vtcwSgA$YMjkK.jwZOIgSF1SsfgeA.PyWfqWuvDxnobhmlBbO92”; ## 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:73:03;
        unit 0 {
            family inet {
                address 10.255.0.51/16;
            }
        }
    }
    ge-2/0/1 {
        mac 00:50:56:8b:ed:44;
        unit 0 {
            family inet {
                address 10.0.0.9/31;
            }
            family iso;
            family inet6;
            family mpls;
        }
    }
    ge-2/0/2 {
        mac 00:50:56:8b:c0:8c;
        unit 0 {
            family inet {
                address 10.0.0.12/31;
            }
            family iso;
            family inet6;
            family mpls;
        }
    }
    ge-2/0/3 {
        mac 00:50:56:8b:eb:b9;
        unit 0 {
            family inet {
                address 10.0.1.0/31;
            }
            family inet6 {
                address fc00::10:0:1:0/127;
            }
            family mpls;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 172.16.0.101/32 {
                    primary;
                }
            }
            family iso {
                address 49.0000.1720.1600.0101.00;
            }
        }
    }
}
forwarding-options {
    no-load-balance-label-capability;
}
routing-options {
    rib inet.3 {
        static {
            route 172.16.0.201/32 discard;
            route 172.16.0.202/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.0.101;
    autonomous-system 65100;
    forwarding-table {
        export PL-LB;
    }
}
protocols {
    rsvp {
        interface ge-2/0/1.0;
        interface ge-2/0/2.0;
    }
    mpls {
        ipv6-tunneling;
        icmp-tunneling;
        label-switched-path ASBR1–>PE1 {
            to 172.16.0.11;
        }
        label-switched-path ASBR1–>PE2 {
            to 172.16.0.22;
        }
        interface ge-2/0/1.0;
        interface ge-2/0/2.0;
    }
    bgp {
        group IBGP-RR {
            type internal;
            local-address 172.16.0.101;
            family inet-vpn {
                unicast;
            }
            family inet6-vpn {
                unicast;
            }
            family route-target;
            export PL-IBGP-RR-OUT;
            neighbor 172.16.0.201;
            neighbor 172.16.0.202;
        }
        group eBGP-VPN {
            family inet-vpn {
                unicast;
            }
            family inet6-vpn {
                unicast;
            }
            family route-target;
            export eBGP-IPv6-NH;
            peer-as 65101;
            neighbor 10.0.1.1;
        }
    }
    isis {
        no-ipv6-routing;
        level 1 disable;
        level 2 wide-metrics-only;
        interface ge-2/0/1.0 {
            point-to-point;
        }
        interface ge-2/0/2.0 {
            point-to-point;
            level 2 metric 100;
        }
        interface lo0.0;
    }
}
policy-options {
    policy-statement PL-IBGP-RR-OUT {
        term NHS {
            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:0;
            }
        }
    }
}

Advertisements