version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname DualStack.R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! ip subnet-zero ip cef ! ! no ip dhcp use vrf connected ! ! no ip ips deny-action ips-interface ! ipv6 unicast-routing ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 no ip address ipv6 address 2001:2::1/64 ! interface Serial1/0 description IPv6 trunk no ip address ipv6 address 2001:1::1/64 ipv6 traffic-filter WAN-in in serial restart-delay 0 ! router bgp 1 bgp router-id 1.1.1.1 bgp log-neighbor-changes neighbor 2001:2::2 remote-as 1 neighbor 2001:2::2 description iBGP to directly connected IPv6 Nei neighbor 2001:2::2 update-source Loopback0 ! address-family ipv4 no neighbor 2001:2::2 activate no auto-summary no synchronization exit-address-family ! address-family ipv6 neighbor 2001:2::2 activate neighbor 2001:2::2 prefix-list To-R2 out neighbor 2001:2::2 route-map From-R2 in network 2001:B::/64 network 2001:D::/64 exit-address-family ! ip classless no ip http server no ip http secure-server ! ip as-path access-list 10 permit .* ! ! ipv6 route 2001:2::2/128 Serial1/0 ipv6 route 2001:B::/64 Null0 ipv6 route 2001:D::/64 Null0 ! ! ipv6 prefix-list To-R2 seq 5 permit 2001:B::/64 ipv6 prefix-list To-R2 seq 10 permit 2001:D::/64 route-map From-R2 permit 10 match as-path 10 set local-preference 130 ! ! ! ! ipv6 access-list WAN-in deny icmp any any permit ipv6 any any ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 stopbits 1 line aux 0 line vty 0 4 ! ! end