组播协议配置命令
组播协议配置命令
目录 目录 第1章基本组播配置命令 11基本组播配置命令 1.1.1 debug ip packet 1.1.2 debug ip mouting 1.1.3 debug ip mroute-cache 1.1.4 debug ip multicast.... 1112345 1.1.5 ip mroute 1.1.6 ip mroute-cache 1.1.7 ip multicast-routing 1.18ip 1.1.9 ip multicast boundary 1.1.10 ip multicast helper-map 1.1.11 ip multicast rate-limit 1.1.12 ip multicast ttl-threshold 1.1.13 show ip fiow 1.1.14 show ip mroute-cache 1.1.15 show ip mroute mfc 1.1.16 show ip mroute static 第2章GMP配置命令. 21GMP配置命令 2.1.1 clear ip igmp group.... 2.1.2 debug ip igmp 2.1.3 debug ip igmp-host 2.1.4 ip igmp helper-address 2.1.5 ip igmp join-group 2.1.6 ip igmp immediate-leave group-list. 2.1.7 ip igmp last-member-query-interval 2.1.8 ip igmp querier-timeout. 2.1.9 ip igmp query-interval 2.1.10 ip igmp query-max-response-time 21.11 p igmp static-group…….. 2.1.12 ip igmp version 2.1.13 show ip igmp groups.. 2.1.14 show ip igmp interface 2.1.15 show ip igmp-host 56888902223456788012335 22oLNK配置命令 2.2. 1 ip oInk 2.2.2 show ip mroute oInk 2.2. 3 show ip rpf oInk 第3章PMDM配置命令
目录 目 录 第 1 章 基本组播配置命令 ........................................................................................................................................... 1 1.1 基本组播配置命令.......................................................................................................................................... 1 1.1.1 debug ip mpacket...................................................................................................................................... 1 1.1.2 debug ip mrouting...................................................................................................................................... 2 1.1.3 debug ip mroute-cache.............................................................................................................................. 3 1.1.4 debug ip multicast ..................................................................................................................................... 4 1.1.5 ip mroute ................................................................................................................................................... 5 1.1.6 ip mroute-cache......................................................................................................................................... 6 1.1.7 ip multicast-routing .................................................................................................................................... 7 1.1.8 ip multicast route-limit................................................................................................................................ 8 1.1.9 ip multicast boundary ................................................................................................................................ 8 1.1.10 ip multicast helper-map ........................................................................................................................... 9 1.1.11 ip multicast rate-limit.............................................................................................................................. 11 1.1.12 ip multicast ttl-threshold......................................................................................................................... 12 1.1.13 show ip mflow........................................................................................................................................ 13 1.1.14 show ip mroute-cache ........................................................................................................................... 14 1.1.15 show ip mroute mfc ............................................................................................................................... 15 1.1.16 show ip mroute static............................................................................................................................. 16 第 2 章 IGMP 配置命令................................................................................................................................................. 18 2.1 IGMP 配置命令................................................................................................................................................. 18 2.1.1 clear ip igmp group.................................................................................................................................. 18 2.1.2 debug ip igmp.......................................................................................................................................... 19 2.1.3 debug ip igmp-host.................................................................................................................................. 20 2.1.4 ip igmp helper-address............................................................................................................................ 21 2.1.5 ip igmp join-group.................................................................................................................................... 22 2.1.6 ip igmp immediate-leave group-list.......................................................................................................... 22 2.1.7 ip igmp last-member-query-interval......................................................................................................... 23 2.1.8 ip igmp querier-timeout............................................................................................................................ 24 2.1.9 ip igmp query-interval.............................................................................................................................. 25 2.1.10 ip igmp query-max-response-time......................................................................................................... 26 2.1.11 ip igmp static-group ............................................................................................................................... 27 2.1.12 ip igmp version ...................................................................................................................................... 28 2.1.13 show ip igmp groups ............................................................................................................................. 28 2.1.14 show ip igmp interface........................................................................................................................... 30 2.1.15 show ip igmp-host ................................................................................................................................. 31 2.2 OLNK 配置命令................................................................................................................................................ 32 2.2.1 ip olnk...................................................................................................................................................... 33 2.2.2 show ip mroute olnk ................................................................................................................................ 33 2.2.3 show ip rpf olnk ....................................................................................................................................... 35 第 3 章 PIM-DM 配置命令............................................................................................................................................. 36 - I -
目录 31PMDM配置命令 36 3.1.1 clear ip mroute pim-dm 3.1.2 clear ip pim-dm interface 3.1.3 debug ip pim-dm 3.1.4 ip pim-dm 3. 1.5 ip pim-dm dr-priority 3.1.6 ip pim-dm hello-interval 3.1.7 ip pim version 3.1.8 ip pim-dm state-refresh origination-interval 3.1.9 ip pim-dm neighor-filter 3.1.10 ip pim-dm state-refresh disable 3.1.11 show ip mroute pim-dm... 67304234456490 3.1.12 show ip pim-dm neighbor 3.1.13 show ip pim-dm interface 3.1.14 show ip rpf pim-dm 第4章PMSM配置命令 41PMSM配置命令 4.1.1 clear ip mroute pim-Sr 4.1.2 clear ip pim-sm rp-mapping 4.1.3 debug ip pim-sm 4.1.4 ip pim-sm 4.1.5 ip pim-sm accept-register. 4.1.6 ip pim-sm accept-rp 4.1.7 ip pim-sm bsr-border 56789 4.1.8 ip pim-sm bsr-candidate 4.1.9 ip pim-sm dr-priority 4.1.10 ip pim-sm hello-interval 4.1.11 ip pim-sm lan-prune-delay 4.1.12 ip pim-sm neighbor-filter 4.1.13 ip pim-sm register-rate-limit 4.1.14 ip pim-sm register-source 4.1.15 ip pim-sm rp-address 4.1.16 ip pim-sm 4.1.17 ip pim-sm spt-threshold 4.1.18 ip pim-sm ssm 4.1.19 show ip mroute pim-sm 4.1.20 show ip pim-sm bsr-router 4.1.21 show ip pim-sm interface... 223446678000 4.1.22 show ip pim-sm neighbor. 4.1.23 show ip pim-sm rp 4.1. 24 show ip pim-sm rp-hash 4.1.25 show ip rpf pim-sm 第5章 DVMRP配置命令 5.1.1 clear ip dvmrp neighbor 5.1.2 clear ip dvmrp route 5.1.3 clear ip mroute dvmrp
目录 3.1 PIM-DM 配置命令............................................................................................................................................. 36 3.1.1 clear ip mroute pim-dm............................................................................................................................ 36 3.1.2 clear ip pim-dm interface......................................................................................................................... 37 3.1.3 debug ip pim-dm...................................................................................................................................... 38 3.1.4 ip pim-dm................................................................................................................................................. 40 3.1.5 ip pim-dm dr-priority ................................................................................................................................ 41 3.1.6 ip pim-dm hello-interval ........................................................................................................................... 42 3.1.7 ip pim version .......................................................................................................................................... 43 3.1.8 ip pim-dm state-refresh origination-interval............................................................................................. 44 3.1.9 ip pim-dm neighor-filter............................................................................................................................ 44 3.1.10 ip pim-dm state-refresh disable............................................................................................................. 45 3.1.11 show ip mroute pim-dm......................................................................................................................... 46 3.1.12 show ip pim-dm neighbor ...................................................................................................................... 47 3.1.13 show ip pim-dm interface ...................................................................................................................... 49 3.1.14 show ip rpf pim-dm................................................................................................................................ 50 第 4 章 PIM-SM 配置命令............................................................................................................................................. 52 4.1 PIM-SM 配置命令............................................................................................................................................. 52 4.1.1 clear ip mroute pim-sm............................................................................................................................ 53 4.1.2 clear ip pim-sm rp-mapping..................................................................................................................... 54 4.1.3 debug ip pim-sm...................................................................................................................................... 54 4.1.4 ip pim-sm................................................................................................................................................. 56 4.1.5 ip pim-sm accept-register........................................................................................................................ 56 4.1.6 ip pim-sm accept-rp................................................................................................................................. 57 4.1.7 ip pim-sm bsr-border ............................................................................................................................... 58 4.1.8 ip pim-sm bsr-candidate.......................................................................................................................... 59 4.1.9 ip pim-sm dr-priority................................................................................................................................. 59 4.1.10 ip pim-sm hello-interval ......................................................................................................................... 60 4.1.11 ip pim-sm lan-prune-delay ..................................................................................................................... 61 4.1.12 ip pim-sm neighbor-filter........................................................................................................................ 62 4.1.13 ip pim-sm register-rate-limit................................................................................................................... 62 4.1.14 ip pim-sm register-source...................................................................................................................... 63 4.1.15 ip pim-sm rp-address............................................................................................................................. 64 4.1.16 ip pim-sm rp-candidate.......................................................................................................................... 64 4.1.17 ip pim-sm spt-threshold......................................................................................................................... 65 4.1.18 ip pim-sm ssm....................................................................................................................................... 66 4.1.19 show ip mroute pim-sm......................................................................................................................... 67 4.1.20 show ip pim-sm bsr-router..................................................................................................................... 68 4.1.21 show ip pim-sm interface....................................................................................................................... 69 4.1.22 show ip pim-sm neighbor ...................................................................................................................... 70 4.1.23 show ip pim-sm rp ................................................................................................................................. 70 4.1.24 show ip pim-sm rp-hash ........................................................................................................................ 71 4.1.25 show ip rpf pim-sm................................................................................................................................ 72 第 5 章 DVMRP 配置命令............................................................................................................................................. 74 5.1.1 clear ip dvmrp neighbor........................................................................................................................... 74 5.1.2 clear ip dvmrp route................................................................................................................................. 74 5.1.3 clear ip mroute dvmrp.............................................................................................................................. 75 - II -
目录 5.1.4 debug ip dvmrp mroute 76 5. 1.5 debug ip dvmrp neighbor 5.1.6 debug ip dvmrp route 5.1.7 debug ip dvmrp packet 5.1.9 ip dvmrp advert-metric “““ 5.1.10 ip dvm 5.1.11 ip dvmrp default-informatior 5.1.12 ip dvmrp force-leaf 789888448 5.1.13 ip dvmrp metric 5.1. 14 ip dvmrp prune -lifetime 5.1. 15 ip dvmrp route-filter 5.1.16 ip dvmrp summary-address 89 5.1.17 show ip dvmrp interface 5.1.18 show ip dvmrp neighbor... 5.1.19 show ip dvmrp route.... 8023 5.1.20 show ip mroute dvmrp 5121 show ip rpf dvmrp…
目录 5.1.4 debug ip dvmrp mroute ........................................................................................................................... 76 5.1.5 debug ip dvmrp neighbor......................................................................................................................... 77 5.1.6 debug ip dvmrp route .............................................................................................................................. 78 5.1.7 debug ip dvmrp packet............................................................................................................................ 79 5.1.8 ip dvmrp................................................................................................................................................... 80 5.1.9 ip dvmrp advert-metric............................................................................................................................. 81 5.1.10 ip dvmrp auto-summary......................................................................................................................... 83 5.1.11 ip dvmrp default-information.................................................................................................................. 84 5.1.12 ip dvmrp force-leaf................................................................................................................................. 84 5.1.13 ip dvmrp metric...................................................................................................................................... 85 5.1.14 ip dvmrp prune-lifetime.......................................................................................................................... 87 5.1.15 ip dvmrp route-filter ............................................................................................................................... 87 5.1.16 ip dvmrp summary-address................................................................................................................... 89 5.1.17 show ip dvmrp interface ........................................................................................................................ 89 5.1.18 show ip dvmrp neighbor ........................................................................................................................ 90 5.1.19 show ip dvmrp route.............................................................................................................................. 92 5.1.20 show ip mroute dvmrp........................................................................................................................... 93 5.1.21 show ip rpf dvmrp.................................................................................................................................. 94 - III -
06-组播协议配置命令 第1章基本组播配置命令 1.1基本组播配置命令 基本组播配置命令包括: debug ip packet ● debug ip mouting debug ip mroute-cache debug ip multicast ip mroute ip mroute-cache ip multicast-routing ip multicast helper-map ip multicast rate-limit e ip multicast ttl-threshold show ip mroute-cache show ip mr show ip mroute static 1.1.1 debug ip packet 如果希望对组播报文的处理流程进行跟踪,可使用 debug ip packet命令。使用此命令 的no形式关掉 debug信息 debug ip mpacket [access-list]igroup-address[detail no debug ip packet
06-组播协议配置命令 第1章 基本组播配置命令 1.1 基本组播配置命令 基本组播配置命令包括: z debug ip mpacket z debug ip mrouting z debug ip mroute-cache z debug ip multicast z ip mroute z ip mroute-cache z ip multicast-routing z ip multicast route-limit z ip multicast boundary z ip multicast helper-map z ip multicast rate-limit z ip multicast ttl-threshold z show ip mflow z show ip mroute-cache z show ip mroute mfc z show ip mroute static 1.1.1 debug ip mpacket 如果希望对组播报文的处理流程进行跟踪,可使用 debug ip mpacket 命令。使用此命令 的 no 形式关掉 debug 信息。 debug ip mpacket [access-list][group-address][detail] no debug ip mpacket - 1 -
06-组播协议配置命令 参数 参数 参数说明 access-list 要跟踪的组播报文范围。 group-address 要跟踪的组播报文的组地址。 显示处理组播报文的更详细的信息 缺省 关闭 debug信息的输出 命令模式 管理态 使用说明 使用此命令可跟踪组播报文的主要处理过程 示例 下面的例子显示了组播报文处理的一些情况 从e0/1端口上收到了(100.16820.151,2241.1.1)的报文,报文长度为112byes 在e0/1端口上发送了(19216820.99,240.0.5)的报文,报文长度为64 bytes router#debug ip packet MINPUT:| P Ethernet/1(100.16820.151,224.1.1.1),len=112 M OUTPUT: P Ethernet01(19216820.99,2240.0.5),len=64 相关命令 无 1.1.2 debug ip 使用 debug ip mouting命令,打开 mouting的跟踪功能,从而可以看到组播转发表的变 化。使用no命令关闭跟踪: debug ip mouting no debug ip mouting
06-组播协议配置命令 参数 参数 参数说明 access-list 要跟踪的组播报文范围。 group-address 要跟踪的组播报文的组地址 。 detail 显示处理组播报文的更详细的信息 。 缺省 关闭 debug 信息的输出 。 命令模式 管理态 使用说明 使用此命令可跟踪组播报文的主要处理过程。 示例 下面的例子显示了组播报文处理的一些情况。 从 e0/1 端口上收到了 (100.168.20.151,224.1.1.1) 的报文,报文长度为 112 bytes 在 e0/1 端口上发送了(192.168.20.99,224.0.0.5) 的报文,报文长度为 64 bytes router#debug ip mpacket M INPUT : IP Ethernet0/1 (100.168.20.151,224.1.1.1) , len=112 M OUTPUT : IP Ethernet0/1 (192.168.20.99,224.0.0.5) , len=64 相关命令 无 1.1.2 debug ip mrouting 使用 debug ip mrouting 命令,打开 mrouting 的跟踪功能,从而可以看到组播转发表的变 化。使用 no 命令关闭跟踪: debug ip mrouting no debug ip mrouting - 2 -
06-组播协议配置命令 参数 无 缺省 所有跟踪功能都关闭。 命令模式 管理态 使用指南 使用该命令可以观察到组播转发表中(S,G)/(*,G)的增加、删除以及下游接口的增加 删除等变化情况。 举例 下面的例子显示了组播转发表的一些变化情况。首先创建了(192.16820.110, 239.00.100)表项,然后添加了 Loopback0作为下游接口;最后(由于超时),删除了 该表项。 routertdebug ip mouting MBR: create(19216820.110,23900.100) MBR: delete(19216820.110,23900.100) 相关命令 ip multicast-routing 1.1.3 debug ip mroute-cache 使用 debug ip mouting命令,打开 mroute- cache的跟踪功能,从而可以看到组播路由 缓冲的变化。使用no命令关闭跟踪: debug ip mroute-cache [group-address no debug ip mroute-cache 参数 参数说明 roup-address 要跟踪的组播路由缓冲的组地址
06-组播协议配置命令 参数 无 缺省 所有跟踪功能都关闭 。 命令模式 管理态 使用指南 使用该命令可以观察到组播转发表中(S, G)/(*,G)的增加、删除以及下游接口的增加、 删除等变化情况。 举例 下面的例子显示了组播转发表的一些变化情况。首先创建了(192.168.20.110, 239.0.0.100)表项,然后添加了 Loopback0 作为下游接口;最后(由于超时),删除了 该表项。 router#debug ip mrouting MBR: create (192.168.20.110, 239.0.0.100) MBR: w/ oif Loopback0 MBR: delete (192.168.20.110, 239.0.0.100) 相关命令 ip multicast-routing 1.1.3 debug ip mroute-cache 使用 debug ip mrouting 命令,打开 mroute-cache 的跟踪功能,从而可以看到组播路由 缓冲的变化。使用 no 命令关闭跟踪: debug ip mroute-cache [group-address] no debug ip mroute-cache 参数 参数 参数说明 group-address 要跟踪的组播路由缓冲的组地址。 - 3 -
06-组播协议配置命令 缺省 所有跟踪功能都关闭。 命令模式 管理态 使用指南 使用该命令可以观察到组播路由缓冲的增加、删除等变化情况。 举例 下面的例子显示了组播路由缓冲中一些变化情况。(192.168.20.97,230.0.0.1)缓冲的创 建和超时 routertdebug ip mroute-cache MRC: create(192.168.20.97, 230.0.0.1)mroute-cache ARC: expired(192. 168.20.97, 230.0.0.1)mroute-cache 相关命令 1.1.4 debug ip multicast 使用 debug ip multicast命令,打开组播事件跟踪功能,从而可以看到组播协议与 mouting 的交互。用no命令关闭选项 debug ipmulticast [alert border-router no debug ipmulticast [alert border-router 参数 参数 参数说明 alert 跟踪组播路由组件间的 alert交互。 border-router 跟踪组播边界路由器MBR的相关事件 缺省 所有跟踪功能都关闭
06-组播协议配置命令 缺省 所有跟踪功能都关闭 。 命令模式 管理态 使用指南 使用该命令可以观察到组播路由缓冲的增加、删除等变化情况。 举例 下面的例子显示了组播路由缓冲中一些变化情况。(192.168.20.97,230.0.0.1) 缓冲的创 建和超时 router#debug ip mroute-cache MRC: create (192.168.20.97,230.0.0.1) mroute-cache MRC: expired (192.168.20.97,230.0.0.1) mroute-cache 相关命令 无 1.1.4 debug ip multicast 使用 debug ip multicast 命令,打开组播事件跟踪功能,从而可以看到组播协议与 mrouting 的交 互。用 no 命令关闭选项: debug ipmulticast [alert | border-router] no debug ipmulticast [alert | border-router] 参数 参数 参数说明 alert 跟踪组播路由组件间的alert交互。 border-router 跟踪组播边界路由器MBR的相关事件。 缺省 所有跟踪功能都关闭 - 4 -
06-组播协议配置命令 命令模式 管理态 使用指南 在组播路由协议和 mouting之间定义一些标准的事件,叫做 alert:例如,在(S,G)相关 的 creation alert、 deletion alert等等。利用 debug ip multicast alert可以观察到这些aert 本公司的组播路由协议支持MBR,此时每个组播路由协议被称为一个组件。利用 debug ip multicast border- router可以观察到组件的运行信息。 举例 在下面的例子中,打开该aert开关进行输出 routertdebug ip multicast alert MBR: [(S, G)deletion alert], originated by OLNK, sent to all components MBR: [(S, G)creation alert], originated by NONE, sent to all components MBR:sc=19216820.110.grp=2390.0.100 MBR: sent to owner olnK first R:[(S in alert], originated by NONE, sent to OLNK 3R:src=19216820.110,gp=2390.0.100 MBR: [(S, G)firstuse alert ] originated by NoNE, sent to OLNK MBR:src=192168.20.110,grp=2390.0.100 MBR: [(S, G)deletion alert ], originated by OLNK, sent to all components MBR:src=19216820.110.grp=239.0.0.100 1.1.5 ip mroute 使用 ip mroute来配置组播静态路由。使用 no ip mroute命令删除配置的组播静态路由 mroute source-address mask rpf-address type number [distance no ip mroute source-address mask [rpf-address type number [distance 参数 参数 参数说明 source-address|组播源的|P地址 mask 组播源的|P地址掩码 静态组播路由的RPF地址 type number 静态组播路由的RPF接口 distance 可选的管理距离
06-组播协议配置命令 命令模式 管理态 使用指南 在组播路由协议和 mrouting 之间定义一些标准的事件,叫做 alert:例如,在(S,G)相关 的 creation alert、deletion alert 等等。利用 debug ip multicast alert 可以观察到这些 alert。 本公司的组播路由协议支持 MBR,此时每个组播路由协议被称为一个组件。利用 debug ip multicast border-router 可以观察到组件的运行信息。 举例 在下面的例子中,打开该 alert 开关进行输出 router#debug ip multicast alert MBR: [(S, G) deletion alert], originated by OLNK, sent to all components MBR: [(S, G) creation alert], originated by NONE, sent to all components MBR: src = 192.168.20.110, grp = 239.0.0.100 MBR: sent to owner OLNK first MBR: [(S, G) join alert], originated by NONE, sent to OLNK MBR: src = 192.168.20.110, grp = 239.0.0.100 MBR: [(S, G) firstuse alert], originated by NONE, sent to OLNK MBR: src = 192.168.20.110, grp = 239.0.0.100 MBR: [(S, G) deletion alert], originated by OLNK, sent to all components MBR: src = 192.168.20.110, grp = 239.0.0.100 1.1.5 ip mroute 使用 ip mroute 来配置组播静态路由。使用 no ip mroute 命令删除配置的组播静态路由。 ip mroute source-address mask rpf-address type number [distance] no ip mroute source-address mask [rpf-address type number [distance]] 参数 参数 参数说明 source-address 组播源的IP地址。 mask 组播源的IP地址掩码。 rpf-address 静态组播路由的RPF地址。 type number 静态组播路由的RPF接口。 distance 可选的管理距离。 - 5 -
06-组播协议配置命令 缺省 管理距离为0 命令模式 全局配置态 使用指南 该命令允许手工配置组播源的位置信息,用在组播和单播拓扑不一致的时候。 举例 下面示例配置一条经过指定接口的组播静态路由 outer config# p mroute100.1.1.0255.255.255.0192.1.1.1f00 相关命令 show ip mroute static 1.1.6 ip mroute-cache 使用 ip mroute- cache命令在端口上使用组播路由缓冲,使用 no ip mroute- cache命 令来禁用组播路由缓冲 ip mroute-cache no ip mroute-cache 参数 无 缺省 默认为在该端口上使用的组播路由缓冲 命令模式 端口配置态
06-组播协议配置命令 缺省 管理距离为 0 命令模式 全局配置态 使用指南 该命令允许手工配置组播源的位置信息,用在组播和单播拓扑不一致的时候。 举例 下面示例配置一条经过指定接口的组播静态路由: router_config#ip mroute 100.1.1.0 255.255.255.0 192.1.1.1 f0/0 相关命令 show ip mroute static 1.1.6 ip mroute-cache 使用 ip mroute-cache 命令在端口上使用组播路由缓冲,使用 no ip mroute-cache 命 令来禁用组播路由缓冲。 ip mroute-cache no ip mroute-cache 参数 无 缺省 默认为在该端口上使用的组播路由缓冲 。 命令模式 端口配置态 - 6 -