IPv6 BGP/MPLS 虚拟专用网络 Option C1

该博客详细介绍了IPv6 BGP/MPLS虚拟专用网络Option C1的实验拓扑、目的及简单配置步骤,包括CE_1、PE_1、P_1等设备的配置。
摘要由CSDN通过智能技术生成

一.实验拓扑图

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值