网络管理

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

日期:2013/01/17 09:58:06来源: 绿色资源网整理

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]

相关文章

相关下载

网友评论

我要评论...
没有更早的评论了
取消