【正文】
置CISCO 配置文件CISCO CDP 協(xié)議簡(jiǎn)介169。 input queue 0/75, 0 drops 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 condition 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 out169。 1999, Cisco Systems, Inc. UTStar252開(kāi)啟或關(guān)閉端口Routerconfigure termRouter(config)interface serial 0 Router(configif)no shutdown%LINK3UPDOWN: Interface Seria0, changed state to up%LINEPROTO5UPDOWN: Line Protocol on Interface Serial0, changed state to up 開(kāi)啟已經(jīng)關(guān)閉的端口Routerconfigure termRouter(config)interface serial 0 Router(configif)shutdown%LINK5CHANGED: Interface Serial0, changed state to administratively down %LINEPROTO5UPDOWN: Line protocol on Interface Serial0, changed state to down 人工關(guān)閉端口169。 1999, Cisco Systems, Inc. UTStar251Routershow interface serial 0Serial0 is up, line protocol is up Hardware is HD64570 Inter address is MTU 1500 bytes, BW 64 Kbit, DLY 20230 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 queue: 0/75/0 (size/max/drops)。 1999, Cisco Systems, Inc. UTStar249配置串口進(jìn)入全局配置模式Router(config)interface serial 0 Router(configif)Routerconfigure termRouter(config)指定某個(gè)端口169。 1999, Cisco Systems, Inc. UTStar247Router(config)line console 0Router(configline)loginRouter(configline)password cisco控制臺(tái)密碼虛擬終端密碼Router(config)line vty 0 4Router(configline)login Router(configline)password richagan特權(quán)模式明文密碼Router(config)enable password cisco特權(quán)模式加密密碼Router(config)enable secret sanfran路由器密碼配置169。 1999, Cisco Systems, Inc. UTStar245配置路由器的各種標(biāo)識(shí)為路由器或其端口設(shè)置標(biāo)識(shí)或信息路由器名Router(config)hostname aganagan(config)開(kāi)機(jī)時(shí)的固定顯示信息agan(config)banner motd Accounting Department You have entered a secured system. Authorized access only! 端口描述agan(config)interface ether 0agan(configif)description Engineering LAN, Bldg. 18169。 1999, Cisco Systems, Inc. UTStar243保存配置wg_ro_cwg_ro_ccopy runningconfig startupconfigDestination filename [startupconfig]?Building configuration…wg_ro_c將當(dāng)前運(yùn)行的配置復(fù)制到 NVRAM中169。 1999, Cisco Systems, Inc. UTStar241show running 和 show startup 命令wg_ro_cshow startupconfigUsing 1359 out of 32762 bytes!version ! More wg_ro_cshow runningconfigBuilding configuration...Current configuration:!version ! More 保存在 NVRAM中保存在 RAM中顯示當(dāng)前運(yùn)行的和保存的配置情況169。 1999, Cisco Systems, Inc. UTStar239show version 命令wg_ro_ashow versionCisco Interwork Operating System Software IOS (tm) 2500 Software (C2500JSL), Version (3), RELEASE SOFTWARE (fc1)Copyright (c) 19861999 by cisco Systems, Inc.Compiled Mon 08Feb99 18:18 by phanguyeImage textbase: 0x03050C84, database: 0x00001000ROM: System Bootstrap, Version (10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGSBOOTR), Version (10c), RELEASE SOFTWARE(fc1)wg_ro_a uptime is 20 minutesSystem restarted by reloadSystem image file is flash:(output omitted)MoreConfiguration register is 0x2102169。 1999, Cisco Systems, Inc. UTStar237 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ).CtrlA 光標(biāo)移動(dòng)到命令行的開(kāi)始位置 .CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 .EscB 回移一個(gè)單詞CtrlF 下移一個(gè)字符 .CtrlB 回移一個(gè)字符 .EscF 下移一個(gè)單詞使用增強(qiáng)的編輯命令CtrlD 刪除當(dāng)前字符 Router$ value for customers, employees, and partners.169。 1999, Cisco Systems, Inc. UTStar235使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ).CtrlA 光標(biāo)移動(dòng)到命令行的開(kāi)始位置 .CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 .EscB 回移一個(gè)單詞CtrlF 下移一個(gè)字符 .CtrlB 回移一個(gè)字符 . Router$ value for customers, employees, and partners.169。 1999, Cisco Systems, Inc. UTStar233使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ).CtrlA 光標(biāo)移動(dòng)到命令行的開(kāi)始位置 .CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 .EscB 回移一個(gè)單詞Router$ value for customers, employees, and partners.169。 1999, Cisco Systems, Inc. UTStar231RouterShape the value of interworking by creating unpreced使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ).CtrlA 光標(biāo)移動(dòng)到命令行的開(kāi)始位置 .169。 1999, Cisco Systems, Inc. UTStar229RouterShape the future of interworking by creating unpreced使用增強(qiáng)的編輯命令“Shape the future of interworking by creating unprecedented value for customers, employees, and partners.”上述文字段在輸入時(shí)會(huì)超出一行169。^39。 1999, Cisco Systems, Inc. UTStar227路由器的上下文相關(guān)聯(lián)幫助Router clokTranslating CLOK% Unknown mand or puter name, or unable to find puter addressRouter cl?clear clockRouter clock% Inplete mand.Router clock ?set Set the time and dateRouter clock set% Inplete mand.Router CtrlPclock set ?hh:mm