如有错误请指出 不胜感激
关键配置
NE1
ip vpn-instance A
ipv4-family
ipv6-family
route-distinguisher 200:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
interface Ethernet1/0/1
undo shutdown
ip binding vpn-instance A
bgp 100
router-id 1.1.1.1
peer 3.3.3.3 as-number 100
peer 3.3.3.3 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
undo peer 3.3.3.3 enable
#
ipv6-family vpnv6
policy vpn-target
peer 3.3.3.3 enable
#
ipv6-family vpn-instance A
peer 2222::1 as-number 200
NE3
[HUAWEI-vpn-instance-A]dis this
#
ip vpn-instance A
ipv4-family
ipv6-family
route-distinguisher 200:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
interface Ethernet1/0/1
undo shutdown
ip binding vpn-instance A
bgp 100
router-id 3.3.3.3
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 1.1.1.1 enable
#
ipv6-family vpnv6
policy vpn-target
peer 1.1.1.1 enable
#
ipv6-family vpn-instance A
peer 3333::1 as-number 300
AR1
bgp 200
router-id 10.10.10.10
peer 2222::254 as-number 100
#
ipv6-family unicast
undo synchronizatio
network 8888:: 64
peer 2222::254 enable
AR2
bgp 300
router-id 11.11.11.11
peer 3333::254 as-number 100
#
ipv6-family unicast
undo synchronizatio
network 7777:: 64
peer 3333::254 enable
评论 (0)