關(guān)于LECS等的華為交換機(jī)配置口令列舉
關(guān)于LECS等的華為交換機(jī)配置口令列舉,熟練掌握下面的華為交換機(jī)配置口令知識點,你只需花幾分鐘的時間就能學(xué)會將每個LEC配置到一個不同的ATM子接口上。其他命令口令也將在文中提到。
華為交換機(jī)配置口令配置LECS:
ATM(config)# lane database database-name
ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address
ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address
ATM(lane-config-databade)# name …
創(chuàng)建完數(shù)據(jù)庫后,必須在主接口上啟動LECS.華為交換機(jī)配置口令命令如下:
ATM(config)# interface atm number
ATM(config-if)# lane config database database-name
ATM(config-if)# lane config auto-config-atm-address
將每個LEC華為交換機(jī)配置口令到一個不同的ATM子接口上.命令如下:
ATM(config)# interface atm number.subint multipoint
ATM(config)# lane client ethernet vlan-num elan-num
用show lane server顯示LES的狀態(tài).
用show lane bus顯示bus的狀態(tài).
用show lane database顯示LECS數(shù)據(jù)庫可內(nèi)容.
用show lane client顯示LEC的狀態(tài).
用show module顯示已安裝的模塊列表.
用物理接口建立華為交換機(jī)配置口令與VLAN的連接:
router# configure terminal
router(config)# interface media module/port
router(config-if)# description description-string
router(config-if)# ip address ip-addr subnet-mask
router(config-if)# no shutdown
用中繼鏈路來建立與VLAN的連接:
router(config)# interface module/port.subinterface
router(config-ig)# encapsulation[isl|dotlq] vlan-number
router(config-if)# ip address ip-address subnet-mask
用LANE來建立與VLAN的連接:
router(config)# interface atm module/port
router(config-if)# no ip address
router(config-if)# atm pvc 1 0 5 qsaal
router(config-if)# atm pvc 2 0 16 ilni
router(config-if)# interface atm module/port.subinterface multipoint
router(config-if)# ip address ip-address subnet-mask
router(config-if)# lane client ethernet elan-num
router(config-if)# interface atm module/port.subinterface multipoint
router(config-if)# ip address ip-address subnet-name
router(config-if)# lane client ethernet elan-name
router(config-if)# …
為了在路由處理器上進(jìn)行動態(tài)路由華為交換機(jī)配置口令,可以用下列IOS命令來進(jìn)行:
router(config)# ip routing
router(config)# router ip-routing-protocol
router(config-router)# network ip-network-number
router(config-router)# network ip-network-number
華為交換機(jī)配置口令默認(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
為了把一個外置的路由處理器接口和華為交換機(jī)配置口令安置在同一個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