! ! wartosci community ! set policy-options community bgpbh-bogons members 65055:666 set policy-options community bgpbh-spam-1 members 65055:25 set policy-options community bgpbh-spam-2 members 65055:26 set policy-options community bgpbh-spam-3 members 65055:27 set policy-options community bgpbh-talos members 65055:999 ! ! polityki ! set policy-options policy-statement BGP-DROP then reject set policy-options policy-statement BGPBH-v4 term 1 from protocol bgp set policy-options policy-statement BGPBH-v4 term 1 from community bgpbh-bogons set policy-options policy-statement BGPBH-v4 term 1 then next-hop 192.0.2.1 set policy-options policy-statement BGPBH-v4 term 1 then accept set policy-options policy-statement BGPBH-v4 term 2 from protocol bgp set policy-options policy-statement BGPBH-v4 term 2 from community bgpbh-talos set policy-options policy-statement BGPBH-v4 term 2 then next-hop 192.0.2.1 set policy-options policy-statement BGPBH-v4 term 2 then accept set policy-options policy-statement BGPBH-v4 term 3 from protocol bgp set policy-options policy-statement BGPBH-v4 term 3 from community bgpbh-spam-1 set policy-options policy-statement BGPBH-v4 term 3 from community bgpbh-spam-2 set policy-options policy-statement BGPBH-v4 term 3 from community bgpbh-spam-3 set policy-options policy-statement BGPBH-v4 term 3 then next-hop 192.0.2.1 set policy-options policy-statement BGPBH-v4 term 3 then accept set policy-options policy-statement BGPBH-v6 term 1 from protocol bgp set policy-options policy-statement BGPBH-v6 term 1 from community bgpbh-bogons set policy-options policy-statement BGPBH-v6 term 1 then next-hop 100::1 set policy-options policy-statement BGPBH-v6 term 1 then accept set policy-options policy-statement BGPBH-v6 term 2 from protocol bgp set policy-options policy-statement BGPBH-v6 term 2 from community bgpbh-talos set policy-options policy-statement BGPBH-v6 term 2 then next-hop 100::1 set policy-options policy-statement BGPBH-v6 term 2 then accept set policy-options policy-statement BGPBH-v6 term 3 from protocol bgp set policy-options policy-statement BGPBH-v6 term 3 from community bgpbh-spam-1 set policy-options policy-statement BGPBH-v6 term 3 from community bgpbh-spam-2 set policy-options policy-statement BGPBH-v6 term 3 from community bgpbh-spam-3 set policy-options policy-statement BGPBH-v6 term 3 then next-hop 100::1 set policy-options policy-statement BGPBH-v6 term 3 then accept ! ! statyczny routing ! set routing-options rib inet6.0 static route 100::/64 discard set routing-options rib inet6.0 static route 100::/64 retain set routing-options rib inet6.0 static route 100::/64 no-readvertise set routing-options rib inet6.0 static route 100::1/128 discard set routing-options rib inet6.0 static route 100::1/128 retain set routing-options rib inet6.0 static route 100::1/128 no-readvertise set routing-options static route 192.0.2.0/24 discard set routing-options static route 192.0.2.0/24 retain set routing-options static route 192.0.2.0/24 no-readvertise set routing-options static route 192.0.2.1/32 discard set routing-options static route 192.0.2.1/32 retain set routing-options static route 192.0.2.1/32 no-readvertise ! ! definicja Twojego ASu ! set routing-options autonomous-system X ! ! definicja serwerow tras po IPv4 ! set protocols bgp group BGP-BH-v4 type internal set protocols bgp group BGP-BH-v4 description "BGP BH PL Route Servers IPv4" set protocols bgp group BGP-BH-v4 multihop ttl 255 set protocols bgp group BGP-BH-v4 import BGPBH-v4 set protocols bgp group BGP-BH-v4 export BGP-DROP set protocols bgp group BGP-BH-v4 peer-as 65055 set protocols bgp group BGP-BH-v4 local-as 65055 set protocols bgp group BGP-BH-v4 neighbor 77.79.194.196 family inet unicast set protocols bgp group BGP-BH-v4 neighbor 195.136.71.54 family inet unicast ! ! definicja serwerow tras po IPv6 ! set protocols bgp group BGP-BH-v6 type internal set protocols bgp group BGP-BH-v6 description "BGP BH PL Route Servers IPv6" set protocols bgp group BGP-BH-v6 multihop ttl 255 set protocols bgp group BGP-BH-v6 import BGPBH-v6 set protocols bgp group BGP-BH-v6 export BGP-DROP set protocols bgp group BGP-BH-v6 peer-as 65055 set protocols bgp group BGP-BH-v6 local-as 65055 set protocols bgp group BGP-BH-v6 neighbor 2001:1a68:0:1e::196 family inet6 unicast set protocols bgp group BGP-BH-v6 neighbor 2a00:4120:8000:a::54 family inet6 unicast