华为ipv6之bgp配置

发布时间:2023年12月27日

在这里插入图片描述

R1

ipv6

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2000::2/96

interface LoopBack0
ipv6 enable
ipv6 address 2001::1/96

bgp 100
router-id 1.1.1.1
peer 2000::1 as-number 100

ipv4-family unicast
undo synchronization

ipv6-family unicast
undo synchronization
network 2001:: 96
peer 2000::1 enable

R2

ipv6

dhcp enable

dhcpv6 pool test
address prefix FD::/96
excluded-address FD::1
dns-server 9999::9

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2000::1/96

interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address FD::1/96
undo ipv6 nd ra halt
ipv6 nd autoconfig managed-address-flag
dhcpv6 server test

interface LoopBack0
ipv6 enable

bgp 100
router-id 2.2.2.2
peer 2000::2 as-number 100

ipv4-family unicast
undo synchronization

ipv6-family unicast
undo synchronization
network FD:: 96
peer 2000::2 enable

文章来源:https://blog.csdn.net/ydaxia110/article/details/135233095
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。