device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 update-source ethernet 3/1
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 activate
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 route-map out myroutemap
myroutemap
.device(config-bgp-ipv6u)# exit device(config-bgp-router)# exit device(config)#
device(config)# route-map myroutemap permit 10
device(config-routemapmap-myroutemap/permit/10)# set ipv6 next-hop 2001::10
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# router bgp device(config-bgp-router)# local-as 1000 device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001 device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 update-source ethernet 3/1 device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 activate device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 route-map out myroutemap device(config-bgp-ipv6u)# exit device(config-bgp-router)# exit device(config)# route-map myroutemap permit 10 device(config-routemapmap-myroutemap/permit/10)# set ipv6 next-hop 2001::10