当前位置:文档之家› 思科交换机cisco2950的Boot过程

思科交换机cisco2950的Boot过程

思科交换机cisco2950的Boot过程

对交换机配置前,先把console线连上。cisco 2950的console 线,一端是RJ45口(接cisco),一端是串口(接pc)。连接好后。

运行超级终端(对win7来说,Hyper terminal 已经不免费了;对xp而言,超级终端依然是可用的。可以到hyper terminal的官方网站上下载一个Trial的试用版(30天内可用)。)

然后如下可以看到运行boot,交换机会加载其操作系统。然后一切都正常。

switch: ?

-- Present list of available commands

boot -- Load and boot an executable image

cat -- Concatenate (type) file(s)

copy -- Copy a file

delete -- Delete file(s)

dir -- List files in directories

flash_init -- Initialize flash filesystem(s)

format -- Format a filesystem

fsck -- Check filesystem consistency

help -- Present list of available commands

load_helper -- Load and initialize a helper image

memory -- Present memory heap utilization information

mkdir -- Create dir(s)

more -- Concatenate (display) file(s)

rename -- Rename a file

reset -- Reset the system

rmdir -- Delete empty dir(s)

set -- Set or display environment variables

set_param -- Set system parameters in flash

trap -- Cause a software breakpoint to occur

type -- Concatenate (type) file(s)

-- MORE --

unset -- Unset one or more environment variables

version -- Display boot loader version

switch:

switch:

switch: boot

Loading "d"...d: permission denied

Error loading "d"

Interrupt within 5 seconds to abort boot process.

Loading "flash:/c2950-i6q4l2-mz.121-13.EA1.bin"...##############################

############################################# ###################################

############################################# ###################################

############################################# ###################################

############################################# ######

File "flash:/c2950-i6q4l2-mz.121-13.EA1.bin" uncompressed and installed, entry p

oint: 0x80010000

executing...

Restricted Rights Legend

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.

170 West Tasman Drive

San Jose, California 95134-1706

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE

(fc1)

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Tue 04-Mar-03 02:14 by yenanh

Image text-base: 0x80010000, data-base: 0x805A8000

Initializing flashfs...

flashfs[1]: 40 files, 4 directories

flashfs[1]: 0 orphaned files, 0 orphaned directories

flashfs[1]: Total bytes: 7741440

flashfs[1]: Bytes used: 4908032

flashfs[1]: Bytes available: 2833408

flashfs[1]: flashfs fsck took 7 seconds.

flashfs[1]: Initialization complete.

Done initializing flashfs.

POST: System Board Test : Passed

POST: Ethernet Controller Test : Passed

ASIC Initialization Passed

POST: FRONT-END LOOPBACK TEST : Passed

cisco WS-C2950-24 (RC32300) processor (revision K0) with 20839K bytes of memory.

Processor board ID FOC0739Z1H0

Last reset from system-reset

Running Standard Image

24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address: 00:0D:ED:47:86:40

Motherboard assembly number: 73-5781-12

Power supply part number: 34-0965-01

Motherboard serial number: FOC073916AP

Power supply serial number: DAB0738CR5R

Model revision number: K0

Motherboard revision number: A0

Model number: WS-C2950-24

System serial number: FOC0739Z1H0

Press RETURN to get started!

00:00:14: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:19: %SYS-5-CONFIG_I: Configured from memory by console

00:00:19: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE

(fc1)

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Tue 04-Mar-03 02:14 by yenanh

00:00:20: %LINK-5-CHANGED: Interface Vlan2, changed state to administratively do

wn

00:00:20: %LINK-5-CHANGED: Interface Vlan3, changed state to administratively do

wn

00:00:20: %LINK-5-CHANGED: Interface Vlan44, changed state to administratively d

own

00:00:20: %LINK-5-CHANGED: Interface Vlan999, changed state to administratively

down

00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state t

o down

00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state t

o down

00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on

Interface Vlan44, changed state

to down

00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan999, changed state

to down

最新思科cisco2950交换机配置手册(中文)

2950交换机 简明配置维护手册

目录 第1章说明 (3) 第2章产品特性 (3) 第3章配置端口 (3) 3.1配置一组端口 (3) 3.2配置二层端口 (5) 3.2.1配置端口速率及双工模式 (6) 3.2.2端口描述 (7) 3.3监控及维护端口 (8) 3.3.1监控端口和控制器的状态 (8) 3.3.2刷新、重置端口及计数器 (10) 3.3.3关闭和打开端口 (10) 第4章配置VLAN (11) 4.1理解VLAN (11) 4.2可支持的VLAN (12) 4.3配置正常范围的VLAN (12) 4.3.1生成、修改以太网VLAN (13) 4.3.2删除VLAN (15) 4.3.3将端口分配给一个VLAN (15) 4.4配置VLAN Trunks (16) 4.4.2使用STP实现负载均衡 (19) 第5章配置Cluster (23)

第1章说明 本手册只包括日常使用的有关命令及特性,其它未涉及的命令及特性请参考英文的详细配置手册。 第2章产品特性 2950是只支持二层的交换机 支持VLAN ?到250 个VLAN ?支持VLAN ID从1到4094(IEEE 802.1Q 标准) ?支持ISL及IEEE 802.1Q封装 安全 ?支持IOS标准的密码保护 ?支持标准及扩展的访问列表来定义安全策略 ?支持基于VLAN的访问列表 监视 ?交换机LED指示端口状态 ?SPAN及远端SPAN (RSPAN) 可以监视任何端口或VLAN的流量 ?内置支持四组的RMON监控功能(历史、统计、告警及事件) 第3章配置端口 3.1 配置一组端口

思科交换机绕过密码的方法.doc

思科交换机绕过密码的方法 思科交换机绕过密码的方法: 1、重启交换机,重启过程中按住mode键(此键在交换机上面) 2、进入boot模式,初始化flash,键入flash_init 3、输入dirflash:查看flash中的配置文件 那个config.text就是配置文件名,如果文件名不同,下面第四步里面的config.text就要改成交换机实际显示的,如果是那就不用改 4、把配置文件重命名:键入renameflash:config.textflash:config.old,然后boot重启(这里不可以写缩写模式,只能全部命令打进去,并且每一组单词后面都有空格颜色我分别标出不同色彩,不然显示敲不进去命令) 5、最好再dir flash,查看上面那个图的config.text有没有改成config.old,成功了就可以boot重启了,到这里为止,重启后就可以进交换机了,不需要用户名和密码,下面开始把原来的配置导入到不需要用户名和密码的这个层面。 6、特权模式下,恢复原始配置文件名:renameflash:config.oldflash:config.text,保存配置到交换机的DRAM存储器。

此时交换机恢复之前的配置键入copyflash:config.textsystem:running-config,然后查看用户名、密码,命令是show run,找到#FormatImgID_2# 类似这样的有username和password这么一条命令,你把这条命令全部复制下来,删除掉,重新配,删除的方法是no username XXX password XXX,就是把复制的那条命令前面加一个no,再写一条自己设定的用户名和密码,写的方法username XXXXX password XXXXX。 这样就可以了。结束后,记得键入wr,保存配置。 看了思科交换机绕过密码的方法还想看: 1.Cisco交换机怎么破解密码 2.Cisco3750交换机密码破解方法 3.cisco交换机清除密码的方法 4.cisco思科交换机如何清除密码 5.修改Cisco3550交换机密码的教程 6.如何恢复Cisco 2960交换机密码

CISCO交换机IOS升级的步骤

本文以CISCO 2950交换机为例: IOS升级的步骤描述如下: 一、预备知识 交换机与计算机有相似点是,它也有内存、操作系统、配置和用户界面,Cisco交换机中,操作系统叫做互连网操作系统(Internet Operating System)或IOS。下面介绍交换机的存储器。 ROM(只读存储器):包含路由器正在使用的IOS的一份副本; RAM(随机访问存储器):IOS将随机访问存储器分成共享和主存,主要用来存储运行中的交换机配置; FLASH (闪存):用来存储IOS软件映像文件,闪存是可以擦除内存,它能够用IOS的新版本覆写. NVRAM(非易失性随机访问存储器):用来存储系统的配置文件。 交换机的IOS升级主要是闪存中的IOS映像文件进行更换。 二、前期准备 1、准备进行IOS升级的Cisco2950交换机一台; 2、电脑一台(台式机、笔记本均可),○1用于对交换机进行配置操作○2作为TFTP服务器; 3、直连网线一根(即两段线序一致),用于向交换机传输IOS文件; 4、交换机配置线一根; 5、TFTP服务器软件一套,本次使用的是“Cisco TFTP Server”; 6、IOS升级文件一份。 三、开始升级 1、用配置线连接交换机的Console口与电脑的COM1口(或USB口,依据配置线不同而定),网线连接交换机F0/1口与电脑的以太网口。电脑IP设为192.168.0.1。 2、将电脑作为TFTP服务器,打开TFTP服务器软件,并将其根目录设为IOS文件所在目录。 3、为使交换机能与TFTP服务器相互通信,我们需要为交换机设置IP地址。使用Windows

思科2950交换机相关配置

思科2950 交换机相关配置基本操作 2950(config)#int vlan1 2950(config-if)#ip address 192.168.1.100 255.255.255.0 (VLAN1 里面设置IP 地址)2950(config)#ip default-gateway 192.168.1.1 (设置默认网关) 2950(config)#ip name-server 192.168.1.1 (设置域名服务器) 2950(config)#ip domain-name https://www.doczj.com/doc/c419045660.html, (设置域名) 端口配置 2950(config)#int f0/1 (进入接口) 2950(config-if)#speed 100 (设置该接口速率为100Mb/s )2950(config-if)#duplex ? auto Enable AUTO duplex configuration full Force full duplex operation half Force half-duplex operation 2950(config-if)#description to_router1 (设置端口描述) 2950#show interfaces fastethernet1 [status] (查看端口配置结果和状态) MAC 地址表相关命令 2950(config)#mac-address-table aging-time 100 (设置超时时间为100S) 2950(config)#mac-address-table permanent 000.0c01.bbcc f0/3 (加入永久地址) 2950(config)#mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 (加入静态地址) 2950#show mac-address-table (查看整个MAC 地址表) 2950#clear mac-address-table restricted static (清除限制性MAC 址表) VTP 的配置 2950#vlan database (进入VLAN 配置模式)2950(vlan)#vtp ? (查看VTP 的子命令)domain Set the name of the VTP administrative domain. client Set the device to client mode. server Set the device to server mode. transparent Set the device to transparent mode. password Set the password for the VTP administrative domain. 2950(vlan) #vtp domain server (设置本交换机为SEVER 模式)2950(vlan)#vtp domain wqs (设置域名)2950(vlan)#vtp pruning (启动修剪模式) 2950#show vtp status (查看VTP 设置信息) 配置VLAN TRUNK 端口 2950(config)#int f0/11 (进入F 端口) 2950(config-if)#switchport mode trunk (设置该端口为TRUNK 模式)

配置Cisco2950交换机

https://www.doczj.com/doc/c419045660.html,/view/d8093e8884868762caaed574.html 配置Cisco2950交换机 一.CISCO2950交换机的基本配置 Switch> Switch>enable 进入特权执行模式 Switch# Switch#show running-config 列出运行配置清单 Switch#config terminal 进入配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)#enable password cisco 设置enable口令 Switch(config)#enable secret cisco1 设置enable密码 Switch(config)#hostname c2950 设置主机名 c2950(config)#interface VLAN 1 进入VLAN 1的配置模式 c2950(config-if)#ip address 192.168.1.2 255.255.255.0 c2950(config-if)#no shut 保存配置 c2950(config-if)exit 退出 c2950(config)#ip default-gateway 192.168.1.10 设置缺省网关 c2950(config)#ip domain-name https://www.doczj.com/doc/c419045660.html, 设置域名 c2950(config)#ip name-server 202.1.1.1 202.1.1.2 设置域名服务器地址c2950(config)#^Z c2950#show version 查看版本信息 c2950#show interface VLAN 1 查看VLAN 1的配置和统计信息 二.配置CISCOc2950交换机的端口属性 c2950(config)#interface fastEthernet 0/1进入子接口配置模式 c2950(config-if) c2950(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation auto Enable AUTO speed configuration c2950(config-if)#speed 100 设置端口速率为100Mbit/s c2950(config-if)#duplex ? auto Enable AUTO duplex configuration full Force full duplex operation half Force half-duplex operation c2950(config-if)#duplex full 设置端口为全双工 c2950(config-if)description TO_PC1 端口描述 c2950(config)#^Z c2950#show interface fastEthernet 0/1 c2950#show interface fastEthernet 0/1 status c2950#show interface fastEthernet 0/1 description

思科路由器命令大全(完整版)

思科交换机路由器命令大全 交换机命令: switch> 用户模式 1:进入特权模式 enable switch> enable switch# 2:进入全局配置模式 configure terminal switch> enable switch#configure terminal switch(conf)# 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switch#configure terminal switch(conf)#hostname aptch-2950 aptech2950(conf)# 4:配置使能口令 enable password cisco 以cisco为例 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable password cisco 5:配置使能密码 enable secret ciscolab 以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性 switch> enable switch#configure terminal switch(conf)#hostname aptch2950 aptech2950(conf)# enable secret ciscolab aptech2950(conf)#no ip domain-lookup -----设置禁用IP 地址解析特性 aptech2950(conf)#logging synchronous -----设置启用消息同步特性 aptech2950(conf)#interface range fastethernet0/1-20

交换机配置心得

论文 课题cisco catalyst 2950交换机的配置 --交换机配置心得 姓名许佳 班级NS108 学号18

交换机配置心得 这次试验,是对书本知识掌握程度的考验,也是一次练习解决实际问题的一次很好的机会。 2950系列交换机具有一个8.8GB的交换矩阵和最大4.4GB/s的转发带宽,拥有这样出色性能的交换机,配置过程式非常重要的,配置好了,运作如飞,配置不好,就如同一个大的插线板,毫无用处。 下面就是我在这次试验中对2950的配置过程。 一.进入交换机的配置模式 1.? 键入问号,可以看到此模式下的可用命令,他们都是非常简单的命令。 2.Enable 键入enable命令,进入特权执行模式。 交换机正常启动后,我们首先要对交换机进行有效的配置,第一步是要进入交换机的特权执行模式,这样才能对交换机进行配置,才能进入配置模式,是最简单最基本的命令。 示例: Switch>enable Switch# 3.config t 键入config t后进入配置模式,此时键入问号可显示在全局配置模式下可用的全部指令。 示例: Switch#config t Enter configuration commands.one per line. End with CNTL/Z Switch(config)# 二.交换机的基本配置 1.hostname Hostname是给交换机命名的命令,其用法是hostname name(要起的名字),且命令即可生效,也可以看到提示符已经变为“name#。 示例: Switch(config)#hostname Benet-NS108-18 Benet-NS108-18(config)# 2.enable password 使能口令,它是进入交换机配置模式以前需要键入的密码,如果为空,则直接进入。 示例: Benet-NS108-18(config)#enable password cisco 3.enable secret 使能密码,在2950交换机的配置中,还可以设置使能密码,其与使能口令的不同之处在于:使能口令在配置清单中是明码显示的,而使能密码在配置清单中是乱码显示的。 当交换机设置了使能密码后,password的使能口令便不再生效,因此在进入特权命令模式是,应当输入使能密码。 示例: Benet-NS108-18(config)#enable secret ciscolab 4.interface

Cisco 2950交换机故障解决手册

Cisco 2950交换机故障解决手册 1.若交换机管理密码丢失,需要对交换机进行初始化(1)首先按住交换机操作面板Mode按钮并保持住,断掉交换机电源,再接通交换机电源,继续保持按住Mode按钮直到出现“switch:”提示,松开 Mode按钮; (2)输入”flash”,ENTER回车; (3)再输入 ”del flash:config.text”回车,出现提示是否删除“config.text”文件,输入”Y”回车; (4)输入”reset”回车; (5)按照Cisco Switch Configuration Files For 2950步骤进行配置即可。2.若交换机引导文件版本不对或被破坏/删除,需要恢复交换机ISO文件步骤 如果已经有了交换机引导文件(IOS文件),可以跳过步骤(1)(2),直接进行第(3)步操作。 (1)首先在笔记本电脑中安装tftpsetup.exe文件,并通过它自带的服务管理窗口启动其服务; (2)将笔记本通过以太网连接到一台具有相同版本(IOSVersion)引导文件的交换机上,并保证笔记本与交换机管理地址处于同一网段,例如交换机为 192.168.1.25和笔记本为192.168.1.24,在DOS提示符下:输入“telnet 192.168.1.25”回车 输入远程管理密码,回车 在Switch_name>状态下输入”show version”回车,查看交换机引导文件版本及其文件名(它是以.bin结尾的),记入该文件名,这里假设为”c2950-i6q4l2-mz.121-19.EA1c.bin” 输入“enable”回车 输入Secret密码回车 在Switch_name#状态下输入”copy flash:c2950-i6q4l2-mz.121-19.EA1c.bin tftp” 系统提示远程主机名(即存储该文件的主机名),输入笔记本的IP地址192.168.1.24回车 系统会将交换机的引导文件拷入从c:\program files\WinAgents\TFTP Service\TFTP Root目录下; (3)用串口线联接损坏的交换机,通过超级终端访问交换机,选择COM1口,

思科交换机cisco2950的Boot过程

思科交换机cisco2950的Boot过程 对交换机配置前,先把console线连上。cisco 2950的console 线,一端是RJ45口(接cisco),一端是串口(接pc)。连接好后。 运行超级终端(对win7来说,Hyper terminal 已经不免费了;对xp而言,超级终端依然是可用的。可以到hyper terminal的官方网站上下载一个Trial的试用版(30天内可用)。) 然后如下可以看到运行boot,交换机会加载其操作系统。然后一切都正常。 switch: ? -- Present list of available commands boot -- Load and boot an executable image cat -- Concatenate (type) file(s) copy -- Copy a file delete -- Delete file(s) dir -- List files in directories flash_init -- Initialize flash filesystem(s) format -- Format a filesystem fsck -- Check filesystem consistency help -- Present list of available commands load_helper -- Load and initialize a helper image memory -- Present memory heap utilization information mkdir -- Create dir(s) more -- Concatenate (display) file(s) rename -- Rename a file reset -- Reset the system rmdir -- Delete empty dir(s) set -- Set or display environment variables set_param -- Set system parameters in flash trap -- Cause a software breakpoint to occur

2950交换机VLAN配置

Switch命令: 一、模式命令: 1. 用户模式:Switch> 2. 特权模式:Switch>enable Switch# 3. 全局配置模式:Switch#config terminal Switch(config)# 4. 接口配置模式:Switch(config)#interface fastethernet0/1 Switch(config-if)# 5. Line模式:Switch(config)#line console 0 Switch(config-line)# 二、特权模式下的命令: 1. 查看交换机MAC地址:Switch#show mac-address-table 2. Cisco发现协议(CDP): Switch#show cdp Switch#show cdp interface fastethernet0/1 Switch#show cdp neighbors Switch#show cdp neighbors detail Switch#show cdp entry 3. 保存交换机配置: Switch#copy running-config startup-config或者Switch#write 4. 恢复交换机出厂值: Switch#erase startup-config Switch#reload 三、全局配置模式下的命令:

1. 配置主机名:Switch(config)#hostname Sw1 Sw1(config)# 2、设置登陆台密码:Switch(config)#line console 0 Switch(config-line)#password 密码 Switch(config-line)#login 3. 使能口令:Switch(config)#enable Password 密码 4. 加密保存的使能口令:Switch(config)#enable secret 密码 5. 配置IP地址: Switch(config)#interface vlan 1 Switch(config-if)#ip address IP地址网关 Switch(config-if)#no shutdown 6. 配置交换机网关:Switch(config)#ip default-gateway 网关 四、VLAN配置命令: 1. 创建vlan命令: a) 全局配置模式下: Switch(config)#vlan 2 Switch(config)#name v2 Switch(config)#mtu 数值 Switch(config)#end b) Vlan数据库下: Switch#vlan database Switch#vlan 2 name v2 Switch#vlan 2 mut 数值 Switch#exit

思科交换机清除配置的方法

思科交换机清除配置的方法 进入交换机底层,通过修改交换机原始配置文件名字,重启交换机后,交换机找不到原来配置文件情况下,就会加载默认系统文件(即:交换机 出厂配置),以达到清除交换机密码的目的。 本文以Catalyst 2940为例: 1、电脑COM口(没有的使用USB转COM转接头)通过console线连 接到交换机console口,并打开超级终端调试窗口。 2、交换机接上电,上电过程中,按住交换机正面"mode"按钮,直到sys灯不闪动为止(即:常亮状态)松开"mode"按钮(也可以关注超级终 端界面显示字符了就可以松开"mode"按钮),进入到交换机的底层模式switch: 3、输入命令switch: flash_init回车,初始化flash的文件系统 (该模式下,不支持命令的缩写,一定要把命令写全。) 4、输入命令switch: dir flash: 回车,查看交换机配置文件。 (注意flash后面是有冒号的) 5、输入命令switch: rename flash:config.te某t flash:config.bak回车,重命名交换机原始配置文件为config.bak,并使 用命令switch:dir flash:查看文件名是否修改成功 6、成功后,输入命令switch: boot,重启交换机。 7、最好在重启后清空当前配置和VLAN数据 Switch#erase startup-config

Switch# flash:vlan.dat Switch#reload 最后当系统提示是否保存配置时,选择no 工具/原料 CISCO系列交换 方法/步骤 1、首先备份之前的配置信息 copy flash:config.te某t config.old 2、清除交换机配置命令:write erase 当然也可以使用erasestartup-config就可以实现清除了 3、reload 重启查看 END 删除vlan 察看当前VLAN配置Cat2950#show vlan 察看Flash中的文件名称(交换机的配置文件和ios都保存在Flash 中)Cat2960#dir flash: 看一下VLAN文件在FLASH里的具体名称,一般的都是VLAN.DAT 3、删除vlan.dat (交换机的VLAN信息保存在vlan.dat中) Cat2960# flash:vlan.dat

思科路由器命令大全完整版

思科交换机路由器命令大全交换机命令: switch> 用户模式 1:进入特权模式 enable switch> enable switch 2:进入全局配置模式 configure terminal switch> enable switchconfigure terminal switchconf 3:交换机命名 hostname aptech2950 以aptech2950为例 switch> enable switchconfigure terminal switchconfhostname aptch-2950 aptech2950conf 4:配置使能口令 enable password cisco 以cisco为例 switch> enable switchconfigure terminal switchconfhostname aptch2950 aptech2950conf enable password cisco 5:配置使能密码 enable secret ciscolab 以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性 switch> enable switchconfigure terminal switchconfhostname aptch2950 aptech2950conf enable secret ciscolab aptech2950confno ip domain-lookup -----设置禁用IP地址解析特性 aptech2950conflogging synchronous -----设置启用消息同步特性 aptech2950confinterface range fastethernet0/1-20 aptech2950conf-if-rangespanning-tree portfast -----设置快速 端口 aptech2950confinterface range fastethernet 0/23-24 aptech2950conf-if-rangeswichport mode trunk -----设置主干道端口

CISCO catalyst 2960交换机配置方法

CISCO catalyst 2960交换机配置方法 一、连接交换机 1、将交换机配置电缆连接于交换机的通讯配置端口(console口)和 计算机的串口(可以直接连接到SCADA服务器后面的串口上)。 2、点击Start(开始)> Programs(程序)> Accessories(附件)> Cojhunications(通讯)> HyperTerminal(超级终端),运行 HyperTerminal。 3、在Connection Description对话框中,为这一连接输入一个名称(自 己识别方便即可),点击“ok”。 4、在Icon对话框,点击相应的图标并确认。 5、在Connect To对话框,选择正在被使用的串口(一般为COM1口), 并确认。 6、在Properties对话框配置端口如下: Bits per second: 9600 Data Bits: 8 Parity: NONE Stop bits: 1 Flow control: Xon/Xoff 通讯端口默认为COM1,点击“ok”。 7、打开交换机电源。 二、配置交换机 1、在新交换机上电启动后,会出现向导配置模式(若没有请在SWITCH>提示符后输入setup即可启动向导配置模式),在如下部分输入相应的值(粗斜体),并回车。 Would you like to enter the initial configuration dialog? [yes/no]: y 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 '[]'. Basic management setup configures only enough connectivity

2950交换机ios升级

一、首先要准备以下几样东西 1、网线一根(直通线) 2、PC一台(笔记本或者台式都行) 3、交换机配置的串口线一根 4、TFTP软件 5、Cisco 2950最新的IOS(在Cisoc的官方网站有下,进入网站后直接搜索2950 IOS 就可以搜索得出来,最新版本的是121-22.EA12版的。要注册了才能下载。) 二、准备工作完成后就开始动交换机了,给交换机加点,正常启动,将串口线和网线都接上,网线接为了方便记忆就接在1号口上。 交换机启动成功后就给其配上管理地址,配置如下: #en (config)#int vlan 100 (config-if)#ip address 192.168.0.2 255.255.255.0 (config-if)#exit #vlan database #(vlan)vlan 100 #(vlan)exit #en (config)#iint f0/1 (config-if)#sw access vlan 100 (config-if)#exit (config)#exit 三、上面就是给交换机的VLAN100配置了一个192.168.0.2的地址,并将Fa0/1端口加入到VLAN100中。这里PC的IP地址则应该对应的为192.168.0段,我设置为192.168.0.1。

四、试着在交换机上ping一下PC,或者在PC上ping一下交换机,能ping通就可以进行下一步了。 五、在PC上启动TFTP(我用的是TFTPDWIN,这个软件很好找而且操作简单),将TFTP的下载目录和上传目录设置好,并将刚才准备的最新IOS放入上传目录中,启动TFTP服务。 六、登陆交换机,首先我们要做的就是备份原来的IOS,然后才是上传新的IOS文件。具体过程如下: 1、先show flash:,找出原来IOS的文件名,这台交换机原来的文件名为: c2950-i6q4l2-mz.121-22.EA8a.bin 2、用copy flash: tfp:命令来将IOS文件下载下来。 Source filename指的是现在交换机中的那个IOS文件名 Address or name of remote host指的是TFTP服务器的IP,也就是PC的IP。 3、在经过一系列的!以后,就下载成功了,下面就是关键部分了,一定要确保目前的电源状态稳定,否则升级失败的话会很麻烦!由于IOS的文件大小都在3M多左右,而交换机的FLASH只有7M多的空间,如果不删除原来的IOS,新的IOS是存不下的,所以要先删除原来的IOS。删除了以后千万不能断电或者重启交换机!删除方式如下图:

Cisco Catalyst 2950系列交换机

Cisco Catalyst 2950系列交换机 概述 固定安装的线速快速以太网桌面交换机Cisco Catalyst 2950系列,可以为局域网(LAN)提供极佳的性能和功能。这些独立的、10/100自适应交换机能够提供增强的服务质量(QoS)和组播管理特性,所有的这些都由易用、基于Web的Cisco集群管理套件(CMS)和集成Cisco IOS软件来进行管理。带有10/100/1000 BaseT上行链路的Cisco Catalyst 2950 铜线千兆位,可为中等规模的公司和企业分支机构办公室提供理想的解决方案,以使他们能够利用现有的5类铜线从快速以太网升级到更高性能的千兆位以太网主干。 Catalyst 2950系列包括Catalyst 2950T-24、2950-24、2950-12和2950C-24交换机。Catalyst 2950-24交换机有24个10/100端口;2950-12有12个10/100端口;2950T-24有24个10/100端口和2个固定 10/100/1000 BaseT上行链路端口; 2950C-24有24个 10/100端口和2个固定100 BaseFX上行链路端口。每个交换机占用一个机柜单元(RU),这样它们方便地配置到桌面和安装在配线间内(图1)。 图1 Catalyst 2950系列10/100/1000交换机 以线速性能将终端工作站连接到LAN 由于Catalyst 2950具备8.8Gbps的交换背板和最大4.4 Gbps的数据吞吐率,所以在它把终端工作站和用户连接到公司的LAN上时可以在各个端口提供线速连接性能。 Catalyst 2950交换机支持性能增强特性,如Fast EtherChannel(快速以太通道)和GigabitEtherChannel(千兆位以太通道)技术,可在Catalyst 2950交换机、路由器和服务器之间提供最大4 Gbps的高性能带宽。 将LAN移植到千兆速度 现在,那些还在大楼内使用铜线(5类非屏蔽线)布线的中端市场客户已经具备了把他们LAN 升级为千兆位速度的真正合适的解决方案。Catalyst 2950T-24为桌面连接准备了两个固定10/100/1000 BaseT(铜线千兆位以太网)上行链路端口,同时还有24个10/100端口。这样,中等规模的公司就能够把他们的LAN升级到更高性能的千兆位以太网,而每端口的成本增加量并不大。

cisco2960交换机的简单配置

cisco2960交换机的简单配置 你还在为cisco2960交换机的简单配置而烦恼么?不用担心,接下来是店铺为大家收集的cisco2960交换机的简单配置,欢迎大家阅读:cisco2960交换机的简单配置的方法 2950是只支持二层的交换机 支持VLAN 第1步:单击“开始”按钮,在“程序”菜单的“附件”选项中单击“超级终端” 第2步:在“名称”文本框中键入“Cisco” 第3步:在“连接时使用”下拉列表框中选择与交换机相连的计算机的串口。台式机为“com 1”,笔记本为“com 3或者com 5”。 第4步:在“波特率”下拉列表框中选择“9600”-确定. 如果通信正常的话就会出现类似于如下所示的主配置界面,并会在这个窗口中就会显示交换机的初始配置情况。 enter enter enter no! 1)配置交换机姓名 switch>ena switch#configure enter switch#configure terminal (进入配置状态) Switch(config)#hostname 配置的交换机姓名如:30FLoor-2960-1 30FLoor-2960-1(config)#end 30FLoor-2960-1# 2)配置交换机的ip 30FLoor-2960-1#configure terminal (进入配置状态)

30FLoor-2960-1(config)#interface vlan 1 30FLoor-2960-1(config)#ip address ip地址子网掩码 例如:30FLoor-2960-1(config)#ip address 10.11.90.10 255.255.255.0 30FLoor-2960-1(config)#no shutdown 30FLoor-2960-1(config)#end 30FLoor-2960-1# 30FLoor-2960-1# 3)配置交换机的默认网关 30FLoor-2960-1(config)#ip default-gateway 网关ip 例如:30FLoor-2960-1(config)#ip default-gateway 10.11.90.254 4)设置路由 30FLoor-2960-1(config)#ip route 0.0.0.0 X.X.X.X 5)设置console口密码 30FLoor-2960-1(config)#line console 0 30FLoor-2960-1(config-line)#password 输入密码 30FLoor-2960-1(config-line)#login 30FLoor-2960-1(config-line)#end 6)设置telnet的密码 30FLoor-2960-1(config)#line vty 0 10 30FLoor-2960-1(config-line)#password 输入密码(yuxuan) 30FLoor-2960-1(config-line)#login 30FLoor-2960-1(config-line)#end 7)设置交换机的enable密码 30FLoor-2960-1(config)#enable password 输入密码(xuan) 30FLoor-2960-1(config)#enable secret 输入密码(yuxuan) 30FLoor-2960-1(config)#end 8)将当前配置信息保存到闪存中 30FLoor-2960-1(config)#write

cisco2950交换机的基本环境设置及硬件组成

c isco2950交换机的基本环境设置及硬件组成 在Cisco2950交换机中有4种存储介质,其用途如下: *RAM 。通常指动态随机存储器(DRAM)。CPU执行CiscoIOS软件时,在RAM中存储:运行启动配置文件(running-config *ROM。ROM是路由器和交换机中由硬件实现的只读存储器,用于存放通电自检(POST)诊断程序、引导程序、ROM监控程序(ROM Monitor)。路由器和交换机加电之后,运行程序如下: 1、加电自检 2、执行引导程序 3、找到IOS映象文件则引导并运行IOS;否则运行监控程序。 *FLASH。即闪存。一般情况下,路由器和交换机在闪存中存放IOS 映象文件。 *NVRAM。即非易失性存储器。NVRAM用于存储startup-config文件 Cisco2950一些基本配置命令及各种视图操作 1、用户模式 2、特权模式 3、全局模式 4、子模式 一些基本配置命令及各种视图操作

Switch#reload 重新启动Switch#write 保存Switch#erase 删除en 进入特权模式show Version查看版本信息Switch(config)#hostname 改写主机名 以下为Cisco2950交换机基本配置的相关实验 实验一:交换机CONSOLE口令设置与清除 1、口令设置: en Switch#conf t Switch(config)#line con 0 Switch(config-line)#password myconsole Switch(config-line)#login Switch(config-line)#line vty0 15 Switch(config-line)# password myvty Switch(config-line)#login Switch(config-line)#exit Switch(config)#enable secret mycisco Switch(config)#enable password cisco1(如果secret密码被设置,则此密码被覆盖。失效) Switch(config)#exit Switch# copy running-config startup-config 2、口令清除: 1、确保控制台端口连接正常,拔掉交换机的电源线 2、一直按住面板上的modem按钮不放,插上交换机的电源线,注意观察交换机面板,刚开始stat指示灯一直闪烁,system指示等亮,等stat指示灯灭掉,system指示灯闪烁,此时放开modem按扭。 3、可以看到一些信息如Flash初始化过程被中断,在收到这样的消息以后,在此提示符Switch: 输入flash_init 5、然后用命令dir flash:/ 列出Flash的清单,找到配置文件config.text用命令rename flash:config.txt flash:config.old 把文件名改为config.old。如果config.old已经存在,则替换别的文件名例如:config.001 6、然后用命令boot继续执行引导过程 7、交换机提示(演示能看到) 8、用命令rename flash:config.old flash:config.text把配制文件名改回config.text。 9、Copy flash:config.text system:running-config把配置文件复制到内存中。 10、用命令show running-config 可以看到先前设置的口令,根据需要进行修改和删除 口令,保存配置。 设定端口参数:

相关主题
文本预览
相关文档 最新文档