路由器PIM命令和含義相關(guān)知識
PIM可利用各種單播路由協議建立的單播路由表完(wán)成RPF檢查功能,而不是維(wéi)護一個分離的(de)組播路由表實現組播轉發(fā),它(tā)借助(zhù)RPF機製實現對組(zǔ)播報文的轉發,當(dāng)組播報(bào)文到達本地設備時,首(shǒu)先對其進行RPF檢查:若RPF檢查通(tōng)過(guò),則創建相應的組播路(lù)由表項,從而進(jìn)行組播報文的轉發;若RPF檢查失敗,則(zé)丟棄該報(bào)文。
一、要把路由器配置為(wéi)HSRP備份組的成員(yuán),可(kě)以在接口配置模式下使用下麵的命令:
router(config-if)# standby group-number ip ip-address
二、為了使(shǐ)一個路由(yóu)器重新恢複轉發路由器的角色,在接口配置模式(shì)下:
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組播路(lù)由選擇:
router(config)# ip muticast-routing
七、啟動接口上(shàng)的PIM:
dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode}
八、啟動(dòng)稀疏-稠密模式下的PIM:
router# ip multicast-routing
router# interface type number
router# ip pim sparse-dense-mode
九、核實PIM的(de)配置:
dallasr1># show ip pim interface[type number] [count]
十、顯示PIM鄰居:
dallasr1># show ip neighbor type number
十一、為了配置RP的(de)地(dì)址,命令如下:
dallasr1># ip pim rp-address ip-address [group-access-list-number][override]
十(shí)二、選擇(zé)一個默(mò)認的RP:
dallasr1># ip pim rp-address
十三、通告RP和它所服(fú)務的組範圍:
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
十五、設定一個(gè)RP映像代理:
dallasr1># ip pim send-rp-discovery scope ttl
十(shí)六、核實組到RP的(de)映像:
dallasr1># show ip pim rp mapping
dallasr1># show ip pim rp [group-name|group-address] [mapping]
十(shí)七、在路由器接口上用命令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]
關(guān)鍵詞:路由器,PIM命令
閱讀本文(wén)後您有什麽感想? 已有(yǒu) 人給出評價!
- 0
- 0
- 0
- 0
- 0
- 0