2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩17頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、CISCO catalyst系列交換機產品常用維護命令,鄭州嘉通公司制作,2007年11月,1.在基于IOS的交換機上設置主機名/系統(tǒng)名:   switch(config)# hostname hostname   在基于CLI的交換機上設置主機名/系統(tǒng)名:   switch(enable) set system name name-string     2.在基于IOS的交換機上設置登錄口令:   switch(conf

2、ig)# enable password level 1 password   在基于CLI的交換機上設置登錄口令:   switch(enable) set password   switch(enable) set enalbepass     3.在基于IOS的交換機上設置遠程訪問:   switch(config)# interface vlan 1   switch(config-if)# ip address

3、ip-address netmask   switch(config-if)# ip default-gateway ip-address   在基于CLI的交換機上設置遠程訪問:   switch(enable) set interface sc0 ip-address netmask broadcast-address switch(enable) set interface sc0 vlan switch(enable) s

4、et ip route default gateway,常用配置命令,4.在基于IOS的交換機上啟用和瀏覽CDP信息:   switch(config-if)# cdp enable   switch(config-if)# no cdp enable   為了查看Cisco鄰接設備的CDP通告信息:   switch# show cdp interface [type modle/port]   switch# show c

5、dp neighbors [type module/port] [detail]   在基于CLI的交換機上啟用和瀏覽CDP信息:   switch(enable) set cdp {enable|disable} module/port   為了查看Cisco鄰接設備的CDP通告信息:   switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilit

6、ies|detail] 5.基于IOS的交換機的端口描述:   switch(config-if)# description description-string   基于CLI的交換機的端口描述:   switch(enable)set port name module/number description-string,6.在基于IOS的交換機上設置端口速度:   switch(config-if)# speed{10|1

7、00|auto}   在基于CLI的交換機上設置端口速度:   switch(enable) set port speed moudle/number {10|100|auto}   switch(enable) set port speed moudle/number {4|16|auto}     7.在基于IOS的交換機上設置以太網的鏈路模式:   switch(config-if)# duplex {auto|ful

8、l|half}   在基于CLI的交換機上設置以太網的鏈路模式:   switch(enable) set port duplex module/number {full|half}     8.在基于IOS的交換機上配置靜態(tài)VLAN:   switch# vlan database  switch(vlan)# vlan vlan-num name vlan,配置案例,Catalyst 3560G-24ts-e 配置ce

9、nter_1#show runBuilding configuration...Current configuration : 1789 bytes!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname center_1

10、 //交換機命名為center_1!no logging console enable password cisco //enable 密碼 :cisco!no aaa new-modelip subnet-zero!,no file verify auto!spanning-tree mode pvst //起用生成樹spanning-tree extend system-idspanning-

11、tree vlan 1 priority 0 //根橋優(yōu)先級設置成 0 * 越小越好!vlan internal allocation policy ascending!!interface Port-channel1 //建立以太網通道 switchport trunk encapsulation dot1q //定義封裝類型為dot1q switchport mode trunk

12、 //定義為干道!interface GigabitEthernet0/1interface GigabitEthernet0/2!interface GigabitEthernet0/3!interface GigabitEthernet0/4,switchport trunk encapsulation dot1q //定義封裝類型為dot1qswitchport mode trunk channel-gro

13、up 1 mode on //放入以太網通道組1 模式為無條件捆綁!interface GigabitEthernet0/24switchport trunk encapsulation dot1q //定義封裝類型為dot1qchannel-group 1 mode on //放入以太網通道組1 模式為無條件捆綁!interface GigabitEthernet0/

14、25spanning-tree portfast //起用portfast!interface GigabitEthernet0/26spanning-tree portfast!interface GigabitEthernet0/27,interface GigabitEthernet0/28spanning-tree portfast!interface Vlan1

15、 ip address 192.168.42.1 255.255.255.0 //vlan 1 管理IP!ip classlessip http server!control-plane!line con 0 password cisco //enable 密碼:cisco loginline vty 0 4 password cisco //vty密碼:cisco

16、 loginline vty 5 15 no login!End,常用show命令,1.show version -顯示當前交換機上運行的IOS版本,連同關于可以使用的硬件、RAM和閃存、交換機正常運行時間、當前運行的IOS映像文件、最后一次再次加載的原因以及配置注冊的內容的 許多細節(jié)。,show verCisco IOS Software, C3560 Software (C3560-IPBASE-M), Version

17、12.2(25)SEE2, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2006 by Cisco Systems, Inc.Compiled Fri 28-Jul-06 07:19 by yenanhImage text-base: 0x00003000, data-base: 0x00EB0F14ROM: Bootstrap program is C3560 boot loaderB

18、OOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)Switch uptime is 1 hour, 14 minutesSystem returned to ROM by power-onSystem image file is "flash:c3560-ipbase-mz.122-25.SEE2/

19、c3560-ipbase-mz.122-25.SEE2.bin",,cisco WS-C3560-24TS (PowerPC405) processor (revision D0) with 118784K/12280K bytes of memory.Processor board ID CAT1042ZJU0Last reset from power-on2 Virtual Ethernet interfaces2

20、4 FastEthernet interfaces2 Gigabit Ethernet interfacesThe password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address : 00:19:E7:A0:83:80M

21、otherboard assembly number : 73-9897-06Power supply part number : 341-0097-02Motherboard serial number : CAT10415V3HPower supply serial number : DCA103881LVModel revision number : D0M

22、otherboard revision number : A0,Model number : WS-C3560-24TS-SSystem serial number : CAT1042ZJU0Top Assembly Part Number : 800-26160-02Top Assembly Revision Number : C0Vers

23、ion ID : V02CLEI Code Number : COMMG00ARBHardware Board Revision Number : 0x01Switch Ports Model SW Version SW Image ------ ----- ----

24、- ---------- ---------- * 1 26 WS-C3560-24TS 12.2(25)SEE2 C3560-IPBASE-M Configuration register is 0xF,Show running-config [interface type mod/num|

25、vlan vlan-id|module mod]顯示running-config配置文件 的 內容。可以跳到接口、vlan或者交換機的 模塊的相關配置,Show startup-config顯示startup-config配置文件的 內容Show tech-support為Cisco TAC支持人員提供信息Show interface module/number注意查看任何大于0的錯誤計數,速度與雙工匹配,Switch#sh

26、ow int g0/1GigabitEthernet0/1 is down, line protocol is down (err-disabled) Hardware is Gigabit Ethernet, address is 0019.e7a0.8381 (bia 0019.e7a0.8381) MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliabilit

27、y 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not set Auto-duplex, Auto-speed, link type is auto, media type is unknown input flow-control is off, output flow-control is uns

28、upported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total ou

29、tput drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec,0 packets input, 0 bytes, 0 no buffer Received

30、 0 broadcasts (0 multicast) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected

31、 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 15 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failu

32、res, 0 output buffers swapped out,Show vlan id vlan-idcenter_1#show vlanVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 defau

33、lt active Gi0/1, Gi0/2, Gi0/3, Gi0/4 Gi0/5, Gi0/6, Gi0/7, Gi0/8 Gi0/9, Gi0/10, Gi0/11, Gi0/12

34、 Gi0/13, Gi0/14, Gi0/15, Gi0/16 Gi0/17, Gi0/18, Gi0/19, Gi0/20 Gi0/21, Gi0/22,

35、Gi0/23, Gi0/24 Gi0/25, Gi0/26, Gi0/27, Gi0/281002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default

溫馨提示

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

評論

0/150

提交評論