思科CCNP CCIE-59-组播VPN-MVPN配置详解

组播VPN (MVPN)

组播VPN技术是用来在MPLS/BGP VPN 中传送组播数据。

思科CCNP CCIE-59-组播VPN-MVPN配置详解

共享MDT:

思科CCNP CCIE-59-组播VPN-MVPN配置详解

组播VPN(MPLS VPN环境下的组播,单个AS)

前提是MPLS VPN完成

1、域内的组播

2、客户的组播

3、配置主要集中在PE(开启VRF的组播、MDT)

思科CCNP CCIE-59-组播VPN-MVPN配置详解

1、R1R2R4 IGP使用EIGRP,属于BGP100 配置MPLS LDP ,同时R1R4为PE配置VRF

EIGRP配置此处省略,链路开启MPLS IP,R1和R4配置BGP100,同时配置VRF

R1(config)#router bgp 100

R1(config-router)#no bgp defaul ipv4

R1(config-router)#neighbor 44.1.1.1 remote-as 100

R1(config-router)#neighbor 44.1.1.1 up lo0

R1(config-router)#address-family vpnv4

R1(config-router-af)#neighbor 44.1.1.1 activate

R1(config)#router os 110

R1(config-router)#redistribute bgp 100 subnets ---重分布BGP 100到ospf

R1(config)#router bgp 100

R1(config-router)#address-family ipv4 vrf CCIE

R1(config-router-af)#redistribute ospf 110 match internal external ---重分布ospf 110到vrf

以上R1和R4设备同为PE设备,配置类似,省略R4 BGP及重分布配置

2、域内的组播

R1(config)#ip multicast-routing

R1(config)#interface e 0/0

R1(config-if)#ip pim sparse-

R2(config)#ip multicast-routing

R2(config)#int lo 0

R2(config-if)#ip pim spa

R2(config-if)#int e 0/0

R2(config-if)#ip pim sp

R2(config-if)#int e 0/2

R2(config-if)#ip pim sparse-

R2(config)#ip pim rp-candidate lo 0 ---R2配置BSR和RP候选者

R2(config)#ip pim bsr-candidate lo 0

R4(config)#ip multicast-routing

R4(config)#int e 0/2

R4(config-if)#ip pim sparse-

R4(config-if)#ip igmp join-group 224.1.1.1 ---加入组播组

思科CCNP CCIE-59-组播VPN-MVPN配置详解

3、客户的组播

静态RP

R6(config)#ip multicast-routing

R6(config)#ip pim rp-address 55.1.1.1

R6(config)#int s 1/2

R6(config-if)#ip pim sparse-

R6(config-if)#int lo 0

R6(config-if)#ip pim spar

R5(config)#int e 0/1

R5(config-if)#ip pim spar

R5(config)#ip multicast-routing

R5(config)#ip pim rp-address 55.1.1.1

4、PE开启VRF组播及MDT配置

R1(config)#ip multicast-routing vrf CCIE

R4(config)#ip multicast-routing vrf CCIE

R1(config)#int s 1/2

R1(config-if)#ip pim sparse-

R4(config)#int e 0/1

R4(config-if)#ip pim sparse- R4和R1与客户的接口运行组播Sparse mode

R1(config-vrf)#ip vrf CCIE

R1(config-vrf)#mdt default 239.1.1.1--配置MDT

R4(config)#ip vrf CCIE

R4(config-vrf)#mdt default 239.1.1.1

R1(config)#ip pim vrf CCIE rp-address 55.1.1.1 ---配置VRF RP

R4(config)#ip pim vrf CCIE rp-address 55.1.1.1

此时我们发现R1上tunnle1是down的:

思科CCNP CCIE-59-组播VPN-MVPN配置详解

我们发现R1的lo 0未运行pim,配置后正常:

思科CCNP CCIE-59-组播VPN-MVPN配置详解

R5(config-if)#ip igmp join-group 224.1.1.1

R5加入组然后R6ping组播地址正常

思科CCNP CCIE-59-组播VPN-MVPN配置详解

欢迎关注和转发,更多精彩内容下期继续分享!


分享到:


相關文章: