Sie sind auf Seite 1von 4

IPv6 Default and Full BGP

@BANGIAG2A> show configuration policy-options policy-statement STPI_IPv6-OUT


term advertise_default {
from {
protocol bgp;
route-filter ::/0 exact;
}
then accept;
}
term end {
then reject;
}

*******
BANGIAG2A> show configuration policy-options policy-statement STPI_IPv6-BANG-OUT
term no-more-than-48-bits {
from {
family inet6;
route-filter ::/0 prefix-length-range /49-/128;
}
then reject;
}
term infrastructure {
from {
family inet6;
route-filter 2001:4528:F000::/36 orlonger;
}
then reject;
}
term private_asn {
from as-path private_ASN;
}
term advertise_IPv6_Pools {
from {
family inet6;
protocol [ static bgp aggregate ];
}
}
then accept;
************
BANGIAG2A> show configuration policy-options as-path private_ASN
64512-65535;
************

IPv6 In Policy
BANGIAG2A> show configuration policy-options policy-statement STPI_IPv6-BANG-IN

term no-more-than-49-bits {
from {
route-filter ::/0 prefix-length-range /50-/128;
}
then reject;
}
term Block_IPv6_Bogons {
from {
protocol bgp;
prefix-list bogon_v6;
}
then reject;
}
term reject_RCOM_Pool {
from {
family inet6;
route-filter 2001:4528::/32 orlonger reject;
}
then reject;
}
term recieve_STPI {
from {
protocol bgp;
neighbor 2001:4528:0FFF:0C02::1;
route-filter 2001:f30::/40 upto /64;
}
then {
local-preference 600;
accept;
}
}
term end {
then reject;
}
ri042506@BANGIAG2A> show configuration policy-options policy-statement STPI_IPv6
-OUT
term advertise_default {
from {
protocol bgp;
route-filter ::/0 exact;
}
then accept;
}
term end {
then reject;
}
*************

BANGIAG2A> show configuration policy-options prefix-list bogon_v6


::/3;
2000::/16;
2001:0::/26;
2001:1::/32;
2001:2::/31;
2001:4::/30;

2001:8::/29;
2001:10::/28;
2001:20::/27;
2001:80::/25;
2001:100::/24;
2001:db8::/32;
2001:1000::/23;
2001:4e00::/23;
2001:6000::/19;
2001:c000::/18;
2003:4000::/18;
2003:8000::/17;
2004::/14;
2008::/13;
2010::/12;
2020::/11;
2040::/10;
2080::/9;
2100::/8;
2200::/7;
2410::/12;
2420::/11;
2440::/10;
2480::/9;
2500::/8;
2610:200::/23;
2610:400::/22;
2610:800::/21;
2610:1000::/20;
2610:2000::/19;
2610:4000::/18;
2610:8000::/17;
2611::/16;
2612::/15;
2614::/14;
2618::/13;
2620:200::/23;
2620:400::/22;
2620:800::/21;
2620:1000::/20;
2620:2000::/19;
2620:4000::/18;
2620:8000::/17;
2621::/16;
2622::/15;
2624::/14;
2628::/13;
2630::/12;
2640::/10;
2680::/9;
2700::/8;
2810::/12;
2820::/11;
2840::/10;
2880::/9;
2900::/8;
2a10::/12;
2a20::/11;
2a40::/10;
2a80::/9;

2b00::/8;
2c10::/12;
2c20::/11;
2c40::/10;
2c80::/9;
2d00::/8;
2e00::/7;
3000::/4;
4000::/2;
8000::/1;

*****************

Das könnte Ihnen auch gefallen