




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、路由器交換機配置基礎(chǔ)啟動界面 - System Configuration Dialog - At any point you may enter a question mark ? for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets .Continue with configuration dialog? yes/no: yesEnter IP address: ip_addressEnter IP netmask: ip_netmask
2、Would you like to enter a default gateway address? yes: yesIP address of the default gateway: ip_addressEnter a host name: host_nameEnter enable secret: secret_passwordWould you like to configure a Telnet password? yes yesEnter Telnet password: telnet_passwordWould you like to enable as a cluster co
3、mmand switch? noEnter cluster name: cls_name路由器對話模式任何時候可以按ctrl+c鍵退出對話模式出廠缺省配置 - System Configuration Dialog -Continue with configuration dialog? yes/no: yesAt any point you may enter a question mark ? for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brac
4、kets .Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the systemWould you like to enter basic management setup? yes/no: no缺省端口狀態(tài)First, would you like to see the current interface summary? yes:InterfaceI
5、P-AddressOK?Method Status ProtocolBRI0unassignedYES unset administratively down downBRI0:1unassignedYES unset administratively down downBRI0:2unassignedYES unset administratively down downEthernet0unassignedYES unset administratively down downSerial0unassignedYES unset administratively down down缺省全局
6、配置Configuring global parameters: Enter host name Router:wg_ro_c The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: cisco The enable password is used when you do
7、not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: sanfran The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: sanjose Configure SNMP Network Management? n
8、o:缺省協(xié)議配置 Configure LAT? yes: no Configure AppleTalk? no: Configure DECnet? no: Configure IP? yes: Configure IGRP routing? yes: no Configure RIP routing? no: Configure CLNS? no: Configure IPX? no: Configure Vines? no: Configure XNS? no: Configure Apollo? no:缺省端口配置BRI interface needs isdn switch-type
9、to be configured Valid switch types are : 0 none.Only if you dont want to configure BRI. 1 basic-1tr6.1TR6 switch type for Germany2 basic-5ess.AT&T 5ESS switch type for the US/Canada3 basic-dms100.Northern DMS-100 switch type for US/Canada 4 basic-net3.NET3 switch type for UK and Europe5 basic-ni.Na
10、tional ISDN switch type6 basic-ts013.TS013 switch type for Australia7 ntt.NTT switch type for Japan8 vn3.VN3 and VN4 switch types for France Choose ISDN BRI Switch Type 2:Configuring interface parameters:Do you want to configure BRI0 (BRI d-channel) interface? no:Do you want to configure Ethernet0 i
11、nterface? no: yes Configure IP on this interface? no: yes IP address for this interface: 3 Subnet mask for this interface : Class A network is , 24 subnet bits; mask is /24Do you want to configure Serial0 interface? no:配置模式Exec用戶模式用戶模式對交換機和路由器的有限操作命令提示符為 hostn
12、ame模式一:用戶模式wg_ro_c?Exec commands: access-enable Create a temporary Access-List entry atmsig Execute Atm Signalling Commands cd Change current device clear Reset functions connect Open a terminal connection dir List files on given device disable Turn off privileged commands disconnect Disconnect an e
13、xisting network connection enable Turn on privileged commands exit Exit from the EXEC help Description of the interactive help system lat Open a lat connection lock Lock the terminal login Log in as a particular user logout Exit from the EXEC- More -Exec特權(quán)模式特權(quán)(或enabled)模式對交換機和路由器更深入的操作有配置和監(jiān)視權(quán)力是進入其它配
14、置模式的前提命令提示符為 hostname#模式二 (也是最常用的模式):特權(quán)模式wg_ro_c#?Exec commands: access-enable Create a temporary Access-List entry access-profile Apply user-profile to interface access-template Create a temporary Access-List entry bfe For manual emergency modes setting cd Change current directory clear Reset funct
15、ions clock Manage the system clock configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another debug Debugging functions (see also undebug) delete Delete a file dir List files on a filesystem disable Turn off privileged commands disconnect Disconnect an e
16、xisting network connection enable Turn on privileged commands erase Erase a filesystem exit Exit from the EXEC help Description of the interactive help system- More -模式切換模式切換(續(xù))Configuration Modes:Global configuration mode wg_sw_a#configure terminalwg_sw_a(config)#Interface configuration modewg_sw_a
17、(config)#interface e0/1wg_sw_a(config-if)#幫助機制上下文關(guān)聯(lián)幫助錯誤信息提示指出所輸入交換機命令的錯誤所在,以便于修改或糾正.可以重新調(diào)出以前運行過的命令,用來再次運行、查看或修改. 之前命令保存區(qū)提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù). 上下文幫助信息Router# clock set 19:56:00% Incomplete command.Router# clock set 19:56:00 ? Day of the monthMONTH Month of the yearRouter# clock set 19:56:00 04 8 % Inva
18、lid input detected at the markerRouter# clock set 19:56:00 04 August% Incomplete command.Router# clock set 19:56:00 04 August ? Year命令提示格式檢查命令提示增強行編輯命令(一行中長字串會自動滾卷).光標(biāo)移動到命令行的開始位置.光標(biāo)移動到命令行的結(jié)束位置.回移一個單詞下移一個字符.回移一個字符.下移一個單詞刪除當(dāng)前字符Router$ value for customers, employees, and partners.查看歷史命令Ctrl-P or Up arr
19、ow調(diào)出最近(前一)使用過的命令Ctrl-N or Down arrow調(diào)出更近使用過的命令Router show history顯示命令保存區(qū)內(nèi)容Router terminal history size lines 設(shè)置命令緩沖區(qū)大小標(biāo)記信息為路由器設(shè)置基本的標(biāo)記信息密碼配置Password和secret的密碼區(qū)別是secret會自動對密碼進行加密,而password仍保持明文顯示控制口配置Router(config)#line console 0Router(config-line)#exec-timeout 0 0 Router(config)#line console 0Router(
20、config-line)#logging synchronous阻止會話退出使光標(biāo)還原到原來的位置,重新顯示被覆蓋的命里端口配置Router(config)# interface type portRouter(config)# interface type slot/portRouter(config-if)# shutdown關(guān)閉該接口而不影響該接口的其它配置項Router(config-if)# no shutdown啟動被關(guān)閉的接口Router(config-if)# exit從當(dāng)前配置模式中退出Router(config)# interface type number.subinte
21、rface在指定一個基本接口后,使用這個命令在這個接口上建立一個虛擬接口接口類型: serial, ethernet, tokenring, fddi, hssi, loopback,dialer, null, async, atm, bri, and tunnel配置舉例wg_ro_c#configure terminalwg_ro_c(config)#interface ethernet 0/1wg_ro_c(config-if)#ip address wg_ro_c(config-if)#no shutdownwg_ro_c(config
22、-if)#exitShow interfacewg_sw_a#show interfaces ethernet 0/1Ethernet 0/1 is Enabled Hardware is Built-in 10Base-TAddress is 0050.BD73.E2C1MTU 1500 bytes, BW 10000 Kbits802.1d STP State: Forwarding Forward Transitions: 1Port monitoring: DisabledUnknown unicast flooding: Enabled Unregistered multicast
23、flooding: Enabled Description: Duplex setting: Half duplex Back pressure: Disabled-More-查看端口信息Router#show interfacesEthernet0 is up, line protocol is up Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f) Internet address is 1/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, re
24、ly 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:07, output 00:00:08, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drop
25、s 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 81833 packets input, 27556491 bytes, 0 no buffer Received 42308 broadcasts, 0 runts, 0 giants, 0 throttles 1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort 0 input packets with dribble conditi
26、on detected 55794 packets output, 3929696 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 4 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out端口狀態(tài)串口狀態(tài)Router#show interface serial 0Serial0 is up, line protocol
27、 is up Hardware is HD64570 Internet address is /24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 00:00:09, output 00:00:04, output hang never Last clearing of show interface counters never Input
28、queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 m
29、inute output rate 0 bits/sec, 0 packets/sec(output omitted) BW 64 Kbit,配置串口進入配置模式Router(config-if)#clock rate 64000Router(config-if)#Router(config)#interface serial 0 Router(config-if)#Router#configure terminalRouter(config)#Router(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#exitRout
30、er#特定端口設(shè)置時鐘 (僅在DCE端配置)設(shè)置帶寬(推薦設(shè)置)串口線檢查Router#show controller serial 0HD unit 0, idb = 0 x121C04, driver structure at 0 x127078buffer size 1524 HD unit 0, V.35 DTE cable.配置缺省網(wǎng)關(guān)wg_sw_a(config)#ip default-gateway ip addressExample:wg_sw_a(config)#ip default-gateway 查看初始配置wg_sw_a#show version 查看設(shè)備的軟硬件信息、啟動文件等信息 wg_sw_a#show running-configuration 查看設(shè)備的現(xiàn)行配置wg_sw_a#show interfaces查看端口的配置和狀態(tài)Show versionwg_sw_a#show versionCisco Catalyst 1900/2820 Enterprise Edition SoftwareVersion V8.01.01 written from 171.068.229.225Copyright
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 勞動合同續(xù)簽樣本下載
- 2025至2030年中國客車廁所顯示器數(shù)據(jù)監(jiān)測研究報告
- 2025至2031年中國針織絨手套行業(yè)投資前景及策略咨詢研究報告
- 2025至2031年中國兒童吸杯行業(yè)投資前景及策略咨詢研究報告
- 2025年安徽省滁州市單招職業(yè)適應(yīng)性測試題庫及答案參考
- 2025年百色職業(yè)學(xué)院單招職業(yè)技能考試題庫學(xué)生專用
- 2025年北海職業(yè)學(xué)院單招職業(yè)傾向性考試題庫及完整答案1套
- 2025年安徽國際商務(wù)職業(yè)學(xué)院單招綜合素質(zhì)考試題庫及完整答案一套
- 2025年安徽工貿(mào)職業(yè)技術(shù)學(xué)院單招職業(yè)傾向性考試題庫學(xué)生專用
- 2025年安徽工商職業(yè)學(xué)院單招職業(yè)技能考試題庫審定版
- 4.城軌工程項目勞務(wù)分包指導(dǎo)價(車站.盾構(gòu).鋪軌)4
- 2024年安全生產(chǎn)網(wǎng)絡(luò)知識競賽題庫及答案(共五套)
- 普通工安全技術(shù)操作規(guī)程交底注意事項(8篇)
- 2025屆江蘇省十三大市高三沖刺模擬歷史試卷含解析
- DataOps 實踐指南 2.0白皮書
- 供電所班組建設(shè)方案
- 委托處置不良資產(chǎn)協(xié)議(三篇)
- 中鐵建新員工培訓(xùn)
- 2024年02月國家鐵路局事業(yè)單位招考聘用27人筆試歷年(2016-2023年)真題薈萃帶答案解析
- 機加工安全教育培訓(xùn)
- 星巴克運營管理手冊
評論
0/150
提交評論