日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

组播穿越MPLS ***+SSM

發布時間:2025/3/17 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 组播穿越MPLS ***+SSM 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

拓撲:

R1配置:

ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.0
ip pim sparse-dense-mode
!
interface FastEthernet0/1
ip address 12.1.1.1 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
router rip
version 2
network 1.0.0.0
network 12.0.0.0
no auto-summary
!
ip pim rp-address 1.1.1.1

R2配置:
ip vrf r2
rd 100:2
route-target export 100:2
route-target import 100:2
route-target import 100:4
mdt default 239.192.10.1
!
ip multicast-routing
ip multicast-routing vrf r2
!
mpls label range 200 299
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip address 23.1.1.2 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
ip vrf forwarding r2
ip address 12.1.1.2 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
router ospf 100
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 23.1.1.0 0.0.0.255 area 0
!
router rip
!
address-family ipv4 vrf r2
redistribute bgp 100 metric transparent
network 12.0.0.0
no auto-summary
version 2
exit-address-family
!
router bgp 100
bgp router-id 2.2.2.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
!
address-family ***v4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community extended
exit-address-family
!
address-family ipv4 vrf r2
redistribute rip
no synchronization
exit-address-family
!
ip pim ssm default
!
mpls ldp router-id Loopback0

R3配置:
ip multicast-routing
!
mpls label range 300 399
mpls label protocol ldp
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.1.1.3 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
mpls ip
!
interface FastEthernet0/1
ip address 34.1.1.3 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
mpls ip
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 23.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 0
!
ip pim ssm default
mpls ldp router-id Loopback0

R4配置:
ip vrf r4
rd 100:4
route-target export 100:4
route-target import 100:4
route-target import 100:2
mdt default 239.192.10.1
!
ip multicast-routing
ip multicast-routing vrf r4
!
mpls label range 400 499
mpls label protocol ldp
interface Loopback0
ip address 4.4.4.4 255.255.255.255
ip pim sparse-dense-mode
!
interface FastEthernet0/0
ip vrf forwarding r4
ip address 45.1.1.4 255.255.255.0
ip pim sparse-dense-mode
ip igmp version 3
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 34.1.1.4 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
mpls ip
!
router ospf 100
router-id 4.4.4.4
log-adjacency-changes
network 4.4.4.4 0.0.0.0 area 0
network 34.1.1.0 0.0.0.255 area 0
!
router rip
!
address-family ipv4 vrf r4
redistribute bgp 100 metric transparent
network 45.0.0.0
no auto-summary
version 2
exit-address-family
!
router bgp 100
bgp router-id 4.4.4.4
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
!
address-family ***v4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
exit-address-family
!
address-family ipv4 vrf r4
redistribute rip
no synchronization
exit-address-family
!
ip pim ssm default
!
mpls ldp router-id Loopback0

R5配置:
interface Loopback0
ip address 5.5.5.5 255.255.255.0
ip igmp join-group 232.1.1.5
ip igmp version 3
!
interface FastEthernet0/0
ip address 45.1.1.5 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
router rip
version 2
network 5.0.0.0
network 45.0.0.0
no auto-summary
!
ip pim rp-address 1.1.1.1

驗證:

?

總結

以上是生活随笔為你收集整理的组播穿越MPLS ***+SSM的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。