[j-nsp] ipv6 route aggregation

Nicolas Fevrier nicolas.fevrier at free.fr
Wed Mar 5 23:53:44 EST 2003


Christian Malo wrote:

>Hi list,
>I tried to aggregate a /32 I received from ARIN.
>Seems like there's no way to aggregate it in routing-options
>Any idea ?
>I'm using junos 5.4
>Thanks,
>-chris
>  
>
Hi Chris :
a config like this should do the job :

routing-options {
    rib inet6.0 {
        aggregate {
            route 2001:cafe:babe:face::/32;
        }
    }
    autonomous-system your-ASN;
}
protocols {
    bgp {
        group ext-IPv6 {
            type external;
            local-address your-local-address;    /* <---- prolly not 
necessary here */
            export [advertise-IPv6-aggregate default-policy];
            peer-as neighbor-ASN;
            neighbor neighbor-address;
        }
    }
}
policy-options {
    policy-statement advertise-IPv6-aggregate {
        term 1 {
            from protocol aggregate;
            then accept;
        }
        term 2 {
            then next policy;
        }
    }
    policy-statement default-policy {
            then reject;
    }
}




More information about the juniper-nsp mailing list