注:此拓扑示例是eNSP1.0演示的 一、 下载eNSP和vlc播放器 二、 安装vlc播放器(如果下载的是ZIP压缩包,解压到任意目录即可) 三、 配置eNSP的vlc参数 菜单->工具->选项->工具配置 VLC后面指定你刚才安装的目录\vlc.exe 四、 如图搭建拓扑(也可自己定义,第一次推荐照着来) 五、 配置网络里的各设备 1 路由器的配置(可以贴进去): sysname ar1220 multicast routing-enable interface Ethernet0/0/0 undo shutdown ip address 192.168.200.1 255.255.255.0 pim sm interface Ethernet0/0/1 undo shutdown ip address 192.168.100.1 255.255.255.0 pim sm ospf 1 area 0.0.0.0 network 192.168.100.0 0.0.0.255 network 192.168.200.0 0.0.0.255 pim c-bsr priority 10 c-bsr Ethernet0/0/0 c-rp priority 10 c-rp Ethernet0/0/0 2 交换机的配置(可以贴进去) sysname sw5700 vlan batch 10 20 100 multicast routing-enable interface Vlanif10 ip address 192.168.10.1 255.255.255.0 pim sm igmp enable interface Vlanif20 ip address 192.168.20.1 255.255.255.0 pim sm igmp enable interface Vlanif100 ip address 192.168.100.100 255.255.255.0 pim sm igmp enable interface GigabitEthernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet0/0/2 port hybrid pvid vlan 10 port hybrid untagged vlan 10 interface GigabitEthernet0/0/3 port hybrid pvid vlan 20 port hybrid untagged vlan 20 ospf 1 area 0.0.0.0 network 192.168.10.0 0.0.0.255 network 192.168.20.0 0.0.0.255 network 192.168.100.0 0.0.0.255 3配置MCS服务器 配置好了就点“运行” 4 配置PC1 (PC2类似) 配置好了点“加入” “启动VLC” 这个时候应该可以看到PC上播放的视频了,和服务器是一样的(会有一点滞后) 七、验证参数 [ar1220]display pim interface VPN-Instance: public net Interface State NbrCnt HelloInt DR-Pri DR-Address Eth0/0/0 up 0 30 1 192.168.200.1 (local) Eth0/0/1 up 1 30 1 192.168.100.100 [ar1220]display pim neighbor VPN-Instance: public net Total Number of Neighbors = 1 Neighbor Interface Uptime Expires Dr-Priority 192.168.100.100 Eth0/0/1 00:19:43 00:01:23 1 [ar1220]dis pim routing-table VPN-Instance: public net Total 1 (*, G) entry; 1 (S, G) entry (*, 225.1.1.1) RP: 192.168.200.1 (local) Protocol: pim-sm, Flag: WC UpTime: 00:01:23 Upstream interface: Register Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: Ethernet0/0/1 Protocol: pim-sm, UpTime: 00:01:23, Expires: 00:03:06 (192.168.200.200, 225.1.1.1) RP: 192.168.200.1 (local) Protocol: pim-sm, Flag: SPT 2MSDP LOC ACT UpTime: 00:03:39 Upstream interface: Ethernet0/0/0 Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: Ethernet0/0/1 Protocol: pim-sm, UpTime: 00:01:23, Expires: 00:03:06 [sw5700]dis pim rp-info VPN-Instance: public net PIM-SM BSR RP Number:1 Group/MaskLen: 224.0.0.0/4 RP: 192.168.200.1 Priority: 10 Uptime: 00:18:37 Expires: 00:01:36 [sw5700]dis multicast routing-table Multicast routing table Total 1 entry 00001. (192.168.200.200, 225.1.1.1) Uptime: 00:01:53 Upstream Interface: Vlanif100 List of 2 downstream interfaces 1: Vlanif10 2: Vlanif20 [sw5700]display igmp interface Interface information Vlanif10(192.168.10.1): IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: 0 s Value of maximum query response time for IGMP: 10 s Querier for IGMP: 192.168.10.1 (this router) Total 1 IGMP Group reported Vlanif20(192.168.20.1): IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: 0 s Value of maximum query response time for IGMP: 10 s Querier for IGMP: 192.168.20.1 (this router) Vlanif100(192.168.100.100): IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: 0 s Value of maximum query response time for IGMP: 10 s Querier for IGMP: 192.168.100.100 (this router) |
|
来自: 昵称11935121 > 《未命名》