资源描述:
《组播的配置和验证》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、实现多播传输多播的配置和验证PIM-SM配置命令ipmulticast-routingrouter(config)#启用多播路由.ippim{sparse-mode
2、sparse-dense-mode}router(config-if)#在接口上启用PIM稀疏模式,sparse-dense-mode选项允许稀疏密集模式的组播.ippimsend-rp-announce{interfacetype}scope{ttl}group-list{acl}ippimsend-rp-discovery{interfacetype}scope{ttl}router(config)#
3、配置一组路由器具有成为RP或者自动发现RP的能力.多播路由表解释显示IP多播路由表的内容summary:按行以简短汇总的方式显示IP多播路由表中的每一个条目.count:显示多播组和源状态信息,包括包的数目,每秒传输包的速度,包的平均大小以及每秒传输的位数.active:显示活动源当前正在发送数据到多播组的速率。活动的源指的是以kpbs单位,发送速率在一个指定的速度或更高的速度的发送者。Kbps参数缺省为4kbps.showipmroute[group-address][summary][count][activekbps]router#showipmrouteNA-
4、1#shipmrouteIPMulticastRoutingTableFlags:D-Dense,S-Sparse,B-BidirGroup,s-SSMGroup,C-ConnectedL-Local,P-Pruned,R-RP-bitset,F-Registerflag,T-SPT-bitset,J-JoinSPT,M-MSDPcreatedentry,X-ProxyJoinTimerRunning,A-AdvertisedviaMSDP,U-URD,I-ReceivedSourceSpecificHostReportOutgoinginterfaceflags:H
5、-HardwareswitchedTimers:Uptime/ExpiresInterfacestate:Interface,Next-HoporVCD,State/Mode(*,224.1.1.1),00:07:54/00:02:59,RP10.127.0.7,flags:SIncominginterface:Null,RPFnbr0.0.0.0Outgoinginterfacelist:Serial1/3,Forward/Sparse,00:07:54/00:02:32(172.16.8.1,224.1.1.1),00:01:29/00:02:08,flags:T
6、AIncominginterface:Serial1/4,RPFnbr10.139.16.130Outgoinginterfacelist:Serial1/3,Forward/Sparse,00:00:57/00:02:02找到PIM邻接showippiminterface[typenumber][count]router#显示配置了PIM协议接口的信息showippimneighbor[typenumber]router#显示通过IOS软件自动发现的PIM邻居mrinfo[hosthanme
7、address]router#查询与本地路由器是对等关系的多播路由器或指定
8、的路由器showippiminterfaceNA-2#showippiminterfaceAddressInterfaceVer/NbrQueryDRDRModeCountIntvlPrior10.139.16.133Serial0/0v2/S13010.0.0.010.127.0.170Serial1/2v2/S13010.0.0.010.127.0.242Serial1/3v2/S13010.0.0.0showippimneighborNA-2#showippimneighborPIMNeighborTableNeighborInterfaceUptime/Exp
9、iresVerDRAddressPriority10.139.16.134Serial0/000:01:46/00:01:28v2None10.127.0.169Serial1/200:01:05/00:01:40v21(BD)10.127.0.241Serial1/300:01:56/00:01:18v21(BD)检查RP的信息显示被缓存RP有关的多播路由条目Mapping—显示路由器知道的所在组到RP的映射showippimrp[group-name
10、group-address
11、mapping]router(config)#显示IP多播路由如何执