PIM是協(xié)議無(wú)關(guān)組播的簡(jiǎn)稱,表示可以利用靜態(tài)路由或者任意單播路由協(xié)議,包括RIP、OSPF、IS-IS、BGP等所生成的單播路由表為IP組播提供路由,組播路由與所采用的單播路由協(xié)議無(wú)關(guān),只要能夠通過(guò)單播路由協(xié)議產(chǎn)生相應(yīng)的組播路由表項(xiàng)即可。
1、要把路由器配置為HSRP備份組的成員,可以在接口配置模式下使用下面的命令:
router(config-if)# standby group-number ip ip-address
2、為了使一個(gè)路由器重新恢復(fù)轉(zhuǎn)發(fā)路由器的角色,在接口配置模式下:
router(config-if)# standy group-number preempt
3、訪問(wèn)時(shí)間和保持時(shí)間參數(shù)是可配置的:
router(config-if)# standy group-number timers hellotime holdtime
4、配置HSRP跟蹤:
router(config-if)# standy group-number track type-number interface-priority
5、要顯示HSRP路由器的狀態(tài):
router# show standby type-number group brief
6、啟動(dòng)IP組播路由選擇:
router(config)# ip muticast-routing
7、啟動(dòng)接口上的PIM:
dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}
8、啟動(dòng)稀疏-稠密模式下的PIM:
router# ip multicast-routing
router# interface type number
router# ip pim sparse-dense-mode
9、核實(shí)PIM的配置:
dallasr1># show ip pim interface[type number] [count]
10、顯示PIM鄰居:
dallasr1># show ip neighbor type number
11、為了配置RP的地址,命令如下:
dallasr1># ip pim rp-address ip-address [group-access-list-number][override]
12、選擇一個(gè)默認(rèn)的RP:
dallasr1># ip pim rp-address
13、通告RP和它所服務(wù)的組范圍:
dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number
14、為管理范圍組通告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
15、設(shè)定一個(gè)RP映像代理:
dallasr1># ip pim send-rp-discovery scope ttl
16、核實(shí)組到RP的映像:
dallasr1># show ip pim rp mapping
dallasr1># show ip pim rp [group-name|group-address] [mapping]
17、在路由器接口上用命令ip multicast ttl-threshold ttl-value設(shè)定TTL閥值:
dallasr1>(config-if)# ip multicast ttl-threshold ttl-value
18、顯示組播通信路由表中的各條記錄:
dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps]
(責(zé)任編輯:VEVB)
新聞熱點(diǎn)
疑難解答