思科交換機(jī)配置命令大全-_第1頁
思科交換機(jī)配置命令大全-_第2頁
思科交換機(jī)配置命令大全-_第3頁
思科交換機(jī)配置命令大全-_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、基于CLI的交換機(jī)的端口描述: switch(enableset port name module/number description-string 6.在基于IOS的交換機(jī)上設(shè)置端口速度: switch(config-if# speed10|100|auto 在基于CLI的交換機(jī)上設(shè)置端口速度: switch(enable set port speed moudle/number 10|100|auto switch(enable set port speed moudle/number 4|16|auto 7.在基于IOS的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式: switch(config-if

2、# duplex auto|full|half 在基于CLI的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式: switch(enable set port duplex module/number full|half 8.在基于IOS的交換機(jī)上配置靜態(tài)VLAN: switch# vlan database switch(vlan# vlan vlan-num name vla switch(vlan# exit switch# configure teriminal switch(config# interface interface module/number switch(config-if# switc

3、hport mode access switch(config-if# switchport access vlan vlan-num switch(config-if# end 在基于CLI的交換機(jī)上配置靜態(tài)VLAN: switch(enable set vlan vlan-num name name switch(enable set vlan vlan-num mod-num/port-list 9. 在基于IOS的交換機(jī)上配置VLAN中繼線: switch(config# interface interface mod/port switch(config-if# switchport

4、 mode trunk switch(config-if# switchport trunk encapsulation isl|dotlq switch(config-if# switchport trunk allowed vlan remove vlan-list switch(config-if# switchport trunk allowed vlan add vlan-list 在基于CLI的交換機(jī)上配置VLAN中繼線: switch(enable set trunk module/port on|off|desirable|auto|nonegotiate Vlan-range

5、 isl|dotlq|dotl0|lane|negotiate 10.在基于IOS的交換機(jī)上配置VTP管理域: switch# vlan database switch(vlan# vtp domain domain-name 在基于CLI的交換機(jī)上配置VTP管理域: switch(enable set vtp domain domain-name 11.在基于IOS的交換機(jī)上配置VTP 模式: switch# vlan database switch(vlan# vtp domain domain-name switch(vlan# vtp sever|cilent|transparent

6、switch(vlan# vtp password password 在基于CLI的交換機(jī)上配置VTP 模式: switch(enable set vtp domain domain-name mode sever|cilent|transparent password password 12. 在基于IOS的交換機(jī)上配置VTP版本: switch# vlan database switch(vlan# vtp v2-mode 在基于CLI的交換機(jī)上配置VTP版本: switch(enable set vtp v2 enable 13. 在基于IOS的交換機(jī)上啟動(dòng)VTP剪裁: switch#

7、vlan database switch(vlan# vtp pruning 在基于CL I 的交換機(jī)上啟動(dòng)VTP剪裁: switch(enable set vtp pruning enable 14.在基于IOS的交換機(jī)上配置以太信道: switch(config-if# port group group-number distribution source|destination 在基于CLI的交換機(jī)上配置以太信道: switch(enable set port channel moudle/port-range modeon|off|desirable|auto 15.在基于IOS的交換

8、機(jī)上調(diào)整根路徑成本: switch(config-if# spanning-tree vlan vlan-list cost cost 在基于CLI的交換機(jī)上調(diào)整根路徑成本: switch(enable set spantree portcost moudl e/port cost switch(enable set spantree portvlancost moudle/port cost costvlan-list 16.在基于IOS的交換機(jī)上調(diào)整端口ID: switch(config-if# spanning-treevlan vlan-listport-priority port-p

9、riority 在基于CLI的交換機(jī)上調(diào)整端口ID: switch(enable set spantree portpri mldule/portpriority switch(enable set spantree portvlanpri module/portpriority vlans 17. 在基于IOS的交換機(jī)上修改STP時(shí)鐘: switch(config# spanning-tree vlan vlan-list hello-time seconds switch(config# spanning-tree vlan vlan-list forward-time seconds s

10、witch(config# spanning-tree vlan vlan-list max-age seconds 在基于CLI的交換機(jī)上修改STP時(shí)鐘: switch(enable set spantree hello intervalvlan switch(enable set spantree fwddelay delay vlan switch(enable set spantree maxage agingtiamevlan 18. 在基于IOS的交換機(jī)端口上啟用或禁用Port Fast 特征: switch(config-if#spanning-tree portfast 在基于

11、CLI的交換機(jī)端口上啟用或禁用Port Fast 特征: switch(enable set spantree portfast module/portenable|disable 19. 在基于IOS的交換機(jī)端口上啟用或禁用UplinkFast 特征: switch(config# spanning-tree uplinkfast max-update-rate pkts-per-second 在基于CLI的交換機(jī)端口上啟用或禁用UplinkFast 特征: switch(enable set spantree uplinkfast enable|disablerate update-rat

12、e all-protocols off|on 20. 為了將交換機(jī)配置成一個(gè)集群的命令交換機(jī),首先要給管理接口分配一個(gè)IP地址,然后使用下列命令: switch(config# cluster enable cluster-name 21. 為了從一條中繼鏈路上刪除VLAN,可使用下列命令: switch(enable clear trunk module/port vlan-range 22. 用show vtp domain 顯示管理域的VTP參數(shù). 23. 用show vtp statistics顯示管理域的VTP參數(shù). 24. 在Catalyst交換機(jī)上定義TrBRF的命令如下: sw

13、itch(enable set vlan vlan-name name name type trbrf bridge bridge-numstp ieee|ibm 25. 在Catalyst交換機(jī)上定義TrCRF的命令如下: switch (enable set vlan vlan-num name name type trcrf ring hex-ring-num|decring decimal-ring-num parent vlan-num 26. 在創(chuàng)建好TrBRF VLAN之后,就可以給它分配交換機(jī)端口.對(duì)于以太網(wǎng)交換,可以采用如下命令給VLAN分配端口: switch(enable

14、 set vlan vlan-num mod-num/port-num 27. 命令show spantree顯示一個(gè)交換機(jī)端口的STP狀態(tài). 28. 配置一個(gè)ELAN的LES和BUS,可以使用下列命令: ATM (config# interface atm number.subint multioint ATM(config-subif# lane serber-bus ethernet elan-name 29. 配置LECS: ATM(config# lane database database-name ATM(lane-config-databade# name elan1-name

15、 server-atm-address les1-nsap-address ATM(lane-config-databade# name elan2-name server-atm-address les2-nsap-address ATM(lane-config-databade# name 30. 創(chuàng)建完數(shù)據(jù)庫后,必須在主接口上啟動(dòng)LECS.命令如下: ATM(config# interface atm number ATM(config-if# lane config database database-name ATM(config-if# lane config auto-confi

16、g-atm-address 31. 將每個(gè)LEC配置到一個(gè)不同的ATM子接口上.命令如下: ATM(config# interface atm number.subint multipoint ATM(config# lane client ethernet vlan-num elan-num 32. 用show lane server 顯示LES的狀態(tài). 33. 用show lane bus顯示bus的狀態(tài). 34. 用show lane database顯示LECS數(shù)據(jù)庫可內(nèi)容. 35. 用show lane client顯示LEC的狀態(tài). 36. 用show module顯示已安裝的模塊

17、列表. 37. 用物理接口建立與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 38. 用中繼鏈路來建立與VLAN的連接: router(config# interface module/port.subinterface route

18、r(config-ig# encapsulationisl|dotlq vlan-number router(config-if# ip address ip-address subnet-mask 39. 用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

19、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# 40. 為了在路由處理器上進(jìn)行動(dòng)態(tài)路由配置,可以用下列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 41. 配置默認(rèn)路由: switch(enable set ip route default gateway 42. 為一個(gè)路由處理器分配V

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論