ip组播组网与配置

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
•ip igmp access-group acl-number [version] 限制接口上接受哪些组的加入请求 •ip igmp join-group group-addr 静态加入某个组播组 代替网络上的主机加入 •ip igmp query-interval seconds 调整发送查询报文的周期 •ip igmp query-max-response-time seconds 调整最大响应时间字段值 告诉主机快点还是慢点对查询做出反应 •ip igmp querier-timeout seconds 查询器的超时时间 网段上有多个路由器时要选出一个作为查询器 •ip igmp version version-number 选择IGMP的版本号 缺省为版本2 以便网络上有低版本主机时...
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
4
组播全局配置
缺省情况下组播功能是关闭的
启动组播 •Quidway(config)#ip multicast-routing •只有运行了这个命令 才能运行其他的组播命令
关闭组播 •Quidway(config)#no ip multicast-routing •运行这个命令之后 所有的组播配置都会被清除
16
常用的系统维护命令
•show ip pim mroute 显示PIM路由表
Quidway#show ip pim mroute PIMSM Routing Table Total 0 (*,*,RP), 1 (*,G), 1 (S,G)
(*, 225.1.1.1), Protocol 0x20: PIMSM, Flag 0x2003: RPT WC NULL_IIF UpTime: 18, Timeout after 192 seconds Upstream interface: Null, RPF neighbor: 0.0.0.0 Downstream interface list: Ethernet3, Protocol 0x100: RPT, timeout in 192 sec
7
内容
Geekometer
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
8
PIM-DM配置命令
PIM-DM适合于… ?...的网络
EASY!只有一条命令 接口命令 •ip pim dense-mode
• 在网络的所有路由器的所有接口上启动这个命令其他的交给路由 器来做吧
5
内容
Geekometer
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
6
IGMP配置
一旦启动了组播 IGMP自动在每个接口上开始运行 一般情况 下IGMP不需要任何配置 在某些情况下 可以使用如下命令进行一些必 要的配置 均为接口配置命令
00001. (1.1.5.241, 225.1.1.1), iif Ethernet2, 1 oifs Outgoing Interface List: 01: Ethernet3 Matched 1250 pkts(45000 bytes), Wrong If 0 pkts Forwarded 12 pkts(432 bytes)
•ip pim rp-candidate interface-name [ group-list acl-number [ priority ] ]
推荐将RP和BSR都配置在一个LoopBack接口上 这样可以减少由于物理接 口UP/DOWN造成的震荡 LoopBack接口始终是UP的
12
PIM-SM配置命令
(1.1.5.241, 225.1.1.1), Protocol 0x20: PIMSM, Flag 0x4: SPT UpTime: 21:04, Timeout after 203 seconds Upstream interface: Ethernet2, RPF neighbor: NULL Downstream interface list: Ethernet3, Protocol 0x100: RPT, timeout in 192 sec
(1.1.5.241, 225.1.1.1), Flags: 0x0: NONE Upstream interface: Ethernet2(1.1.4.5) Downstream interface list: 3.3.3.3(Ethernet3), Protocol 0x100: RPT
Total 1 entry listed
所有的相关接口都启动PIM-DM
9
内容
Geekometer
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
10
PIM-SM配置命令
配置RP是PIM-SM网络配置的关键操作
在PIM-SM网络中 可以存在多个RP 不同 的RP服务不同的组 以便进行负载分担
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
14
常用的系统维护命令
•show ip mfc 显示IP组播转发表
mfc--multicast forwarding cache
Quidway#show ip mfc Multicast Forwarding Cache Table -----------------------------------------------------------------------------Total 1 entry in MFC table
IP组播组网与配置
孙胜涛19743
1
内容
Geekometer
•基本组网形态 •组播全局配置 •IGMP配置 •PIM-DM配置 • PIM-SM配 置 •常用的系统维护命令
2
基本组网形态
接收者
服务器
接收者
接收者
参与者
参与者
参与者
接收者 接收者
接收者
参与者
接收者 尽量避免
3
内容
Geekometer
BSR is: 3.3.3.3 Group/MaskLen: 224.0.0.0/4
RP 3.3.3.3, Version 2 priority: 0 uptime(from last update): 21:56, to expire in: 1:34
显示组到 RP的映射 Quidway#show ip pi rp-hash 225.1.1.1 RP Address for this group is: 3.3.3.3
18
常用的系统维护命令
显 示 所 有 运 行PIM的 接 口 信 息 Quidway#show ip pim interface Ver/ Nbr Query Address Interface Mode Cnt Intvl DR 1.1.4.5 Ethernet2 v2/S 0 30 1.1.4.5 3.3.3.3 Ethernet3 v2/S 1 30 3.3.3.100
•ip pim spt-threshold { traffic | infinity} [ group-list acl-number] no ip pim spt-threshold 全局命令 设置从RPT向SPT的切换阈值 某个组的流量超过此阈值后 将向SPT进行切换 以kbps为单位 不指定acl-number的话则适用于全 部组 缺省情况是… ?...
显示指定接口的 PIM信息 Quidway#show ip pim interface ethernet3
PIM information of interface Ethernet3: Address 3.3.3.3, Version 2, Sparse Mode Query Interval: 30 seconds 1 PIM neighbor(s), Designated Router: 3.3.3.100 显 示 接 口 的 PIM邻 居 信 息
PIM-SM其他配置命令 只有ip pim sparse-mode为必要的 配置命令 其他均可以不配置 使用缺省配置
•[no] ip pim border 接口命令 配置PIM-SM域边界 BSR消息和RP消息不会穿过此边界
•[no] ip pim sparse-mode 接口命令 在该接口上启动/停止PIM-SM
C-BSR C-BSR C-RP
获胜成为BSR C-BSR
C-RP C-RP
C-RP
11
PIM-SM配置命令
配置PIM-SM网络的RP
通常 我们只在网络内配置一个C-BSR和一个C-RP 而且通常都是同一台 路由器 该路由器应该是网络的核心或者连通性比较好 •配置C-BSR 全局命令
•ip pim bsr-candidate interface-name [ mask-len [ priority ] ] •配置C-RP 全局命令
Total 1 entry listed
15
常用的系统维护命令
•show ip mroute 显示组播核心路由表
和mfc相对应 带有上层协议状态
Quidway#show ip mroute Multicast Routing Table Total 1 entry in table "MFC Mirror"
Quidway#show ip pim neighbor Neighbor Address Interface Uptime Expires 3.3.3.100 Ethernet3 1329 101
19
Total 2 entries listed
17
常用的系统维护命令
显示当前 BSR Quidway#show ip pim bsr
Current BSR Address: 3.3.3.3 Priority: 0 Expires: 1:11
Local host is BSR 显示当前 RP集
Quidway#show ip pim rp-hash PIM-SM RP-SET information:
RP是通过BSR机制选举产生的 BSR是RP 的管理者 由BSR来收集和发布整个网络内 的RP信息 BSR也是通过选举产生的
我们在路由器上可以配置的是候 选 BSR C-BSR 和候 选 RP C-RP 然后由
PIM-SM在整个网络内部进行BSR选举 选 举出唯一的BSR之后 所有候选RP向BSR 报告 由BSR再选举RP集 可能多个RP 各自有不同的组服务范围 然后向全网扩 散发布 这样所有的路由器上就都有了RP 集信息 所谓RP集 就是 组 和 RP的对应 关系数据库
•ip pim query-interval interval no ip pim query-interval 接口命令 为PIM-DM/PIM-SM公共命令 调整hello保文的发送周期 PIM通过发送hello报文来确定网络上的PIM邻居 了解自己周围的网络 情况
13
内容ቤተ መጻሕፍቲ ባይዱ
Geekometer
相关文档
最新文档