Configuring a BGP Process, BGP Router ID, and IPv6 Multiprotocol BGP Peer
ipv6 unicast-routing ! router bgp 65000 no bgp default ipv4-unicast bgp router-id 192.168.99.70 neighbor 2001:DB8:0:CC00::1 remote-as 64600 address-family ipv6 unicast neighbor 2001:DB8:0:CC00::1 activate
Configuring an IPv6 Multiprotocol BGP Peer Using a Link-Local Address
router bgp 65000 neighbor FE80::XXXX:BFF:FE0E:A471 remote-as 64600 neighbor FE80::XXXX:BFF:FE0E:A471 update-source fastethernet0 address-family ipv6 neighbor FE80::XXXX:BFF:FE0E:A471 activate neighbor FE80::XXXX:BFF:FE0E:A471 route-map nh6 out route-map nh6 permit 10 match ipv6 address prefix-list cisco set ipv6 next-hop 2001:DB8:5y6::1 ipv6 prefix-list cisco permit 2001:DB8:2Fy2::/48 le 128 ipv6 prefix-list cisco deny ::/0
| Note |
If you specify only the global IPv6 next-hop address (the ipv6-address argument) with the set ipv6 next-hop command after specifying the neighbor interface (the interface-type argument) with the neighbor update-source command, the link-local address of the interface specified with the interface-type argument is included as the next hop in the BGP updates. Therefore, only one route map that sets the global IPv6 next-hop address in BGP updates is required for multiple BGP peers that use link-local addresses. |
Configuring an IPv6 Multiprotocol BGP Peer Group
router bgp 65000 no bgp default ipv4-unicast neighbor group1 peer-group neighbor 2001:DB8:0:CC00::1 remote-as 64600 address-family ipv6 unicast neighbor group1 activate neighbor 2001:DB8:0:CC00::1 peer-group group1
Advertising Routes into IPv6 Multiprotocol BGP
router bgp 65000 no bgp default ipv4-unicast address-family ipv6 unicast network 2001:DB8::/24
Configuring a Route Map for IPv6 Multiprotocol BGP Prefixes
router bgp 64900 no bgp default ipv4-unicast neighbor 2001:DB8:0:CC00::1 remote-as 64700 address-family ipv6 unicast neighbor 2001:DB8:0:CC00::1 activate neighbor 2001:DB8:0:CC00::1 route-map rtp in ipv6 prefix-list cisco seq 10 permit 2001:DB8::/24 route-map rtp permit 10 match ipv6 address prefix-list cisco
Redistributing Prefixes into IPv6 Multiprotocol BGP
router bgp 64900 no bgp default ipv4-unicast address-family ipv6 unicast redistribute rip
Advertising IPv4 Routes Between IPv6 Peers
router bgp 65000 ! neighbor 6peers peer-group neighbor 2001:DB8:yyyy::2 remote-as 65002 address-family ipv4 neighbor 6peers activate neighbor 6peers soft-reconfiguration inbound neighbor 2001:DB8:yyyy::2 peer-group 6peers neighbor 2001:DB8:yyyy::2 route-map rmap in ! route-map rmap permit 10 set ip next-hop 10.21.8.10












