一.实验拓扑图
1.Option C1拓扑图
二.实验目的
1.配置IPv6 BGP/MPLS 虚拟专用网络 Option C1
三.IPv6 BGP/MPLS 虚拟专用网络 Option C1
1.AS内的接口地址可以是IPv4地址,底层路由协议可以是OSPF,ISIS等。
2.ASBR之间的接口地址,是IPv6地址,用于vpnv6关系的建立。
四.简单配置
1.CE_1
sysname CE-1
#
undo info-center enable
#
ipv6
#
interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.11.1 255.255.255.0
ipv6 address 2000::1/64
#
interface LoopBack1
ipv6 enable
ip address 1.1.1.1 255.255.255.255
ipv6 address 1:1::1/128
#
bgp 65001
peer 10.0.11.2 as-number 100
peer 2000::2 as-number 100
#
ipv4-family unicast
undo synchronization
network 1.1.1.1 255.255.255.255
peer 10.0.11.2 enable
#
ipv6-family unicast
undo synchronization
network 1:1::1 128
peer 2000::2 enable
#
return
2.PE_1
sysname PE-1
#
undo info-center enable
#
ipv6
#
ip vpn-instance 1
ipv4-family
route-distinguisher 1:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
ipv6-family
route-distinguisher 1:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
mpls lsr-id 2.2.2.2
mpls
#
mpls ldp
#
interface GigabitEthernet0/0/0
ip binding vpn-instance 1
ipv6 enable
ip address 10.0.11.2 255.255.255.0
ipv6 address 2000::2/64
#
interface GigabitEthernet0/0/1
ip address 10.0.12.1 255.255.255.0
mpls
mpls ldp
#
interface LoopBack1
ip address 2.2.2.2 255.255.255.255
#
bgp 100
router-id 2.2.2.2
peer 4.4.4.4 as-number 100
peer 4.4.4.4 connect-interface LoopBack1
peer 7.7.7.7 as-number 200
peer 7.7.7.7 ebgp-max