進(jìn)入特權(quán)模式
創(chuàng)新互聯(lián)建站長期為近千家客戶提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對不同對象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺(tái),與合作伙伴共同營造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為耒陽企業(yè)提供專業(yè)的成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站、成都外貿(mào)網(wǎng)站建設(shè)公司,耒陽網(wǎng)站改版等技術(shù)服務(wù)。擁有10多年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開發(fā)。
enable
退出特權(quán)模式
disable
進(jìn)入全局模式
configure terminal
進(jìn)入接口模式
interface fastEthernet 0/1
查看軟硬件信息(寄存器值)
R1#show version
R1#show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 15:23 by dchih
ROM: ROMMON Emulation Microcode
ROM: C2600 Software (C2600-J1S3-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
R1 uptime is 4 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"
cisco 2621 (MPC860) processor (revision 0x202) with 56320K/9216K bytes of memory.
Processor board ID FTX0945W0MY (4279256517)
M860 processor: part number 0, mask 0
Bridging software.
X.25 software, Version 3.0.0.
TN3270 Emulation software.
2 FastEthernet/IEEE 802.3 interface(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
IOS解釋:flsah可以放很多的IOS。默認(rèn)是從第一個(gè)IOS啟動(dòng),第一個(gè)啟動(dòng)不了啟動(dòng)第二個(gè)。IOS應(yīng)該有2個(gè),最小的IOS 1M~2M放在ROM里面,ROM是不可擦也不可寫的。提供最基本的IOS恢復(fù)功能。
查看運(yùn)行的配置文件
Switch#show running-config
解釋:running-config是存在NVRAM里面的,當(dāng)IOS啟動(dòng)的時(shí)候把NVRAM里面的running-config拷貝到RAM里面去運(yùn)行,Switch#show running-config是調(diào)用RAM里面的配置文件
查看NVRAM配置文件
Switch#show startup-config
查看所有接口的信息
Switch#show interfaces
查看指定接口的信息
Switch#show interfaces FastEthernet 0/1
FastEthernet0/1 is down, line protocol is down (disabled)
Hardware is Lance, address is 0050.0fac.b501 (bia 0050.0fac.b501)
BW 100000 Kbit, DLY 1000 usec,
解釋:0/1 0代表第幾模塊,1代表模塊里面的第幾個(gè)接口