IPv6 BGP.note

noteId: WEB1f2b15a6ec717c77e33023b77557e8d5 · 原始路径:/ALL/网络 - C模块/IPv6 配置合集(DHCP、VPN)/IPv6 动态路由 合集/IPv6 BGP.note · 图片:2 · 附件待处理:0

 
与IPv4 差别不大,但是IPv6 BGP建立邻居需要配置 activate, 例如: neighbor 2001:DB8:2030:10::2 activate
 
 
1、配置 IPv6 BGP:
需要在 address-family ipv6 unicast 中配置,虽然普通模式也能配置,但是配置会到 ipv4 address-family 中,导致无法生效
 
# ISP
router bgp 1000
 address-family ipv6 unicast
  neighbor 2001:DB8:2030:10::2 remote-as 65530
  neighbor 2001:DB8:2030:10::2 activate
 
# IR1:
router bgp 65530
 address-family ipv6 unicast
  neighbor 2001:DB8:2030:10::1 remote-as 1000
  neighbor 2001:DB8:2030:10::1 activate
 
 
·IPv6 BGP 重分发默认路由:
# ISP:
ipv6 route ::/0 Null0
router bgp 1000
  address-family ipv6 unicast
   redistribute static

   default-information originate