1、实验拓扑图

三十九、配置 PE 与 CE 间部署 IS-IS 的 MPBGP MPLS VPN 实验_关联关系

2、实验目的

ce1与ce3为同一个公司,通过BGP网络实现互联;ce2与ce4为同一个公司,通过BGP网络实现互联。

3、实验步骤

3.1配置bgp网络

3.1.1为BGP网络配置IGP

isis 200

network-entity 49.0001.0010.0100.1001.00 //配置isis的网络实体名称area+system+net

cost-style wide

is-level level-2

3.1.2 配置mpls标签

mpls lsr-id 1.1.1.1

mpls

mpls ldp

配置接口

int g0/0/2

mpls 

mpls ldp

3.1.3配置bgp

bgp 100

router-id 1.1.1.1

peer 3.3.3.3 as 100

peer 3.3.3.3 connect-interface loopbook 0

3.2 配置vrf

3.2.1 创建实例

ip vpn-instance vpna //创建vpn实例vpna

route-distinguisher 1:100//配置路由区分器1:100,只在本地有效

vpn-target 1:100 both //配置路由标记出/入方向

3.2.2 接口应用实例

int g0/0/0

ip binding vpn-instance vpna

ip add 50.1.1.1 24

3.2.3 创建vrf路由协议

isis 300 vpn-instance vpna

network-entity 49.0010.0010.0100.1001.00

cost-style wide

is-level level-2

3.3建立关联关系

3.3.1 配置bgp vpnv4子地址族

ipv4-family vpnv4

peer 3.3.3.3 enable//使能对等体交换BGP-vpnv4路由信息

3.3.2ipv4-family vpn-instance 

import-route isis 300

4、实验结果

三十九、配置 PE 与 CE 间部署 IS-IS 的 MPBGP MPLS VPN 实验_应用实例_02

三十九、配置 PE 与 CE 间部署 IS-IS 的 MPBGP MPLS VPN 实验_ide_03

三十九、配置 PE 与 CE 间部署 IS-IS 的 MPBGP MPLS VPN 实验_应用实例_04

三十九、配置 PE 与 CE 间部署 IS-IS 的 MPBGP MPLS VPN 实验_应用实例_05