華為交換機配置實例在路由處理器啟用MLSP的應(yīng)用
華為交換機配置實例在路由處理器啟用MLSP的應(yīng)用,在華為交換機配置實例有關(guān)于“華為交換機配置實例要檢驗MLS-RP的配置情況”的講解,本文摘自實例手冊上面的內(nèi)容。方便大家對MLSP應(yīng)用做一個更專注的了解。
華為交換機配置實例配置默認(rèn)路由:
switch(enable) set ip route default gateway
華為交換機配置實例為一個路由處理器分配VLANID,可在接口模式下使用下列命令:
router(config)# interface interface number
router(config-if)# mls rp vlan-id vlan-id-num
華為交換機配置實例在路由處理器啟用MLSP:
router(config)# mls rp ip
華為交換機配置實例為了把一個外置的路由處理器接口和交換機安置在同一個VTP域中:
router(config)# interface interface number
router(config-if)# mls rp vtp-domain domain-name
華為交換機配置實例查看指定的VTP域的信息:
router# show mls rp vtp-domain vtp domain name
要確定RSM或路由器上的管理接口,可以在接口模式下輸入下列命令:
router(config-if)#mls rp management-interface
華為交換機配置實例要檢驗MLS-RP的配置情況:
router# show mls rp
華為交換機配置實例檢驗特定接口上的MLS配置:
router# show mls rp interface interface number
為了在MLS-SE上設(shè)置流掩碼而又不想在任一個路由處理器接口上設(shè)置訪問列表:
set mls flow [destination|destination-source|full]
為使MLS和輸入訪問列表可以兼容,可以在全局模式下使用下列命令:
router(config)# mls rp ip input-acl
當(dāng)某個交換機的第3層交換失效時,可在交換機的特權(quán)模式下輸入下列命令:
switch(enable) set mls enable
華為交換機配置實例若想改變老化時間的值,可在特權(quán)模式下輸入以下命令:
switch(enable) set mls agingtime agingtime