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

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

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]

责任编辑:遗忘者 来源: 路由人
相关推荐

2011-07-29 11:32:16

路由PIM

2009-12-23 10:30:05

路由器故障诊断

2009-12-03 20:11:47

路由器参数设置

2013-06-07 11:06:20

路由技术静态路由配置路由器

2011-02-22 08:57:28

路由器基础

2009-12-02 17:12:43

路由器设置

2009-12-14 14:54:08

设置路由器

2010-07-28 15:26:10

路由器命令

2011-09-07 10:48:27

2010-08-19 11:06:19

路由器基础

2009-11-12 17:03:17

2010-08-09 10:31:00

华为路由器路由配置命令

2009-12-08 15:02:48

路由器技术

2009-04-10 09:34:00

网络路由器分类

2009-11-17 13:37:23

2010-08-19 10:34:21

2009-12-01 09:43:19

路由协议路由器技术

2011-08-29 13:04:09

路由器设置路由器连接路由器

2010-06-30 10:26:43

2009-12-17 09:02:00

路由器配置
点赞
收藏

51CTO技术栈公众号