介紹MLS設(shè)置相關(guān)的華為交換機(jī)配置口令
介紹MLS設(shè)置相關(guān)的華為交換機(jī)配置口令,華為交換機(jī)配置口令是一個(gè)很普通的問題,但我們?nèi)绾螌?duì)華為交換機(jī)配置口令進(jìn)行更精確的設(shè)置,給我們的使用到來方便呢?
要檢驗(yàn)MLS-RP的華為交換機(jī)配置口令情況:
router# show mls rp
檢驗(yàn)特定接口上的MLS華為交換機(jī)配置口令:
router# show mls rp interface interface number
為了在MLS-SE上設(shè)置流掩碼而又不想在任一個(gè)路由處理器接口上設(shè)置訪問列表:
set mls flow [destination|destination-source|full]
為使MLS和輸入訪問列表可以兼容,可以在全局模式下使用下列命令:
router(config)# mls rp ip input-acl
當(dāng)某個(gè)華為交換機(jī)配置口令的第3層交換失效時(shí),可在華為交換機(jī)配置口令的特權(quán)模式下輸入下列命令:
switch(enable) set mls enable
若想改變老化時(shí)間的值,可在特權(quán)模式下輸入以下命令:
switch(enable) set mls agingtime agingtime
華為交換機(jī)配置口令快速老化:
switch(enable) set mls agingtime fast fastagingtime pkt_threshold
確定那些MLS-RP和MLS-SE參與了MLS,可先顯示華為交換機(jī)配置口令引用列表中的內(nèi)容再確定:
switch(enable) show mls include
顯示MLS高速緩存記錄:
switch(enable) show mls entry
用華為交換機(jī)配置口令命令show in arp顯示ARP高速緩存區(qū)的內(nèi)容。
要把路由器配置為HSRP備份組的成員,可以在接口配置模式下使用下面的命令:
router(config-if)# standby group-number ip ip-address
為了使一個(gè)路由器重新恢復(fù)轉(zhuǎn)發(fā)路由器的角色,在接口華為交換機(jī)配置口令模式下:
router(config-if)# standy group-number preempt
訪問時(shí)間和保持時(shí)間參數(shù)是可配置的:
router(config-if)# standy group-number timers hellotime holdtime
華為交換機(jī)配置口令HSRP跟蹤:
router(config-if)# standy group-number track type-number interface-priority
要顯示HSRP路由器的狀態(tài):
router# show standby type-number group brief
用命令show ip igmp確定當(dāng)選的查詢器。
啟動(dòng)IP組播路由選擇:
router(config)# ip muticast-routing
啟動(dò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
核實(shí)PIM的華為交換機(jī)配置口令:
dallasr1># show ip pim interface[type number] [count]
顯示PIM鄰居:
dallasr1># show ip neighbor type number
為了配置RP的地址,華為交換機(jī)配置口令命令如下:
dallasr1># ip pim rp-address ip-address [group-access-list-number][override]
選擇一個(gè)默認(rèn)的RP:
dallasr1># ip pim rp-address
通告RP和它所服務(wù)的組范圍:
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
設(shè)定一個(gè)RP映像代理:
dallasr1># ip pim send-rp-discovery scope ttl
核實(shí)組到RP的映像:
dallasr1># show ip pim rp mapping
dallasr1># show ip pim rp [group-name|group-address] [mapping]
在路由器接口上用命令ip multicast ttl-threshold ttl-value設(shè)定TTL閥值:
dallasr1>(config-if)# ip multicast ttl-threshold ttl-value
用show ip pim neighbor顯示PIM鄰居表。
顯示組播通信路由表中的各條華為交換機(jī)配置口令記錄:
dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps]
要記錄一個(gè)路由器接受和發(fā)送的全部IP組播包:
dallasr1> #debug ip mpacket [detail] [access-list][group]