作家
登录

路由器PIM命令和含义相关知识

作者: 来源: 2013-01-19 04:58:37 阅读 我要评论

PIM可利用各种单播路由协议建立的单播路由表完成RPF检查功能,而不是维护一个分离的组播路由表实现组播转发,它借助RPF机制实现对组播报文的转发,当组播报文到达本地设备时,首先对其进行RPF检查:若RPF检查通过,则创建相应的组播路由表项,从而进行组播报文的转发;若RPF检查失败,则丢弃该报文。

一、要把路由器配置为HSRP备份组的成员,可以在接口配置模式下使用下面的命令:

router(config-if)# standby group-number ip ip-address

二、为了使一个路由器重新恢复转发路由器的角色,在接口配置模式下:

router(config-if)# standy group-number preempt

三、访问时间和保持时间参数是可配置的:

router(config-if)# standy group-number timers hellotime holdtime

四、配置HSRP跟踪:

router(config-if)# standy group-number track type-number interface-priority

五、用命令show ip igmp确定当选的查询器:

router# show standby type-number group brief

六、启动IP组播路由选择:

router(config)# ip muticast-routing

七、启动接口上的PIM:

dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}

八、启动稀疏-稠密模式下的PIM:

router# ip multicast-routing

router# interface type number

router# ip pim sparse-dense-mode

九、核实PIM的配置:

dallasr1># show ip pim interface[type number] [count]

十、显示PIM邻居:

dallasr1># show ip neighbor type number

十一、为了配置RP的地址,命令如下:

dallasr1># ip pim rp-address ip-address [group-access-list-number][override]

十二、选择一个默认的RP:

dallasr1># ip pim rp-address

十三、通告RP和它所服务的组范围:

dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number

十四、为管理范围组通告RP的地址:

dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1

dallasr1># access-list 1 permit 266.0.0.0 0.255.255.255

十五、设定一个RP映像代理:

dallasr1># ip pim send-rp-discovery scope ttl

十六、核实组到RP的映像:

dallasr1># show ip pim rp mapping

dallasr1># show ip pim rp [group-name|group-address] [mapping]

十七、在路由器接口上用命令ip multicast ttl-threshold ttl-value设定TTL阀值:

dallasr1>(config-if)# ip multicast ttl-threshold ttl-value

十八、用show ip pim neighbor显示PIM邻居表。

dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps]


  推荐阅读

  华为路由器配置容易出错的地方

配置一些大型网络时,由于所做的工作很多,难免会出现配置出错的地方,本篇深入的为大家总结路由器常见的配置错误,以免设置时浪费不必要的时间。一、重新分配路由时忽略过滤,当为路由器重新分配路由的时候,需要启>>>详细阅读


本文标题:路由器PIM命令和含义相关知识

地址:http://www.17bianji.com/luyou/20708.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)