介紹MLS設置相關的華為交換機配置口令
介紹MLS設置相關的華為交換機配置口令,華為交換機配置口令是一個很普通的問題,但我們如何對華為交換機配置口令進行更精確的設置,給我們的使用到來方便呢?
要檢驗MLS-RP的華為交換機配置口令情況:
router# show mls rp
檢驗特定接口上的MLS華為交換機配置口令:
router# show mls rp interface interface number
為了在MLS-SE上設置流掩碼而又不想在任一個路由處理器接口上設置訪問列表:
set mls flow [destination|destination-source|full]
為使MLS和輸入訪問列表可以兼容,可以在全局模式下使用下列命令:
router(config)# mls rp ip input-acl
當某個華為交換機配置口令的第3層交換失效時,可在華為交換機配置口令的特權模式下輸入下列命令:
switch(enable) set mls enable
若想改變老化時間的值,可在特權模式下輸入以下命令:
switch(enable) set mls agingtime agingtime
華為交換機配置口令快速老化:
switch(enable) set mls agingtime fast fastagingtime pkt_threshold
確定那些MLS-RP和MLS-SE參與了MLS,可先顯示華為交換機配置口令引用列表中的內容再確定:
switch(enable) show mls include
顯示MLS高速緩存記錄:
switch(enable) show mls entry
用華為交換機配置口令命令show in arp顯示ARP高速緩存區的內容。
要把路由器配置為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
要顯示HSRP路由器的狀態:
router# show standby type-number group brief
用命令show ip igmp確定當選的查詢器。
啟動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]
要記錄一個路由器接受和發送的全部IP組播包:
dallasr1> #debug ip mpacket [detail] [access-list][group]