迅维网

查看: 1924|回复: 2
打印 上一主题 下一主题

交换机配置连载(八)

[复制链接]
跳转到指定楼层
1#
发表于 2013-1-22 16:26:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式 来自: 河北秦皇岛 来自 河北秦皇岛

马上注册,获取阅读精华内容及下载权限

您需要 登录 才可以下载或查看,没有帐号?注册

x
1、更改交换机的telnetenable密码(详见上面操作)
2、更改交换机的SNMP串(详见上面操作)
3、增加、删除VLAN(详见上面操作)
4、开、关闭端口(详见上面操作)
5、定期保存所有交换机的配置信息,遇到突发情况恢复交换机的配置
交换机的IOS保存和恢复是采用TFTP协议完成,所以首先你必须要下载一个TFTP软件,然后按照下面的步骤来进行:
    在你的机器上启动TFTP 。
    登陆到3500交换机,然后在enable状态下输入如下命令来完成IOS的保存:
   switch# copy flash tftp  Source IP address or hostname [171.68.206.171]? Source filename []? cat6000-sup2k8.7-1-1.binDestination filename [cat6000-sup2k8.7-1-1.binn]? Loading cat6000-sup2k8.7-1-1.bin to 171.68.206.171 (via VLAN1):    !!!!!!!!!!!!!!!
[OK - 1125001 bytes]
    恢复配置时,执行如下命令:
     switch# copy tftp flashSource IP address or hostname []? 171.68.206.171Source filename []? cat6000-sup2k8.7-1-1.binDestination filename [cat6000-sup2k8.7-1-1.bin]?  yLoading cat6000-sup2k8.7-1-1.bin  from 171.68.206.171 (via VLAN1):    !!!!!!!!!!!!!!!
[OK - 1125001 bytes]
6、交换机IOS版本升级
7、恢复交换机口令(不同款交换机恢复口令的方法详见《pswdrec_3700》)
2950为例,恢复口令的操作方法如下:
Connect a terminal or PC with terminal emulation software to the console port. For more information,
refer to the switch hardware installation guide.

Step 2 Set the line speed on the emulation software to 9600 baud.
Step 3 Unplug the switch power cord.
Step 4 Press the Mode button, and at the same time, reconnect the power cord to the switch.
You can release the Mode button a second or two after the LED above port 1X goes off. Several lines of
information about the software appear, as do instructions:
The system has been interrupted prior to initializing the flash file system. These
commands will initialize the flash file system, and finish loading the operating system
software:
flash_init
load_helper
boot
Step 5 Initialize the Flash file system:
switch: flash_init

Step 6 If you had set the console port speed to anything other than 9600, it has been reset to that particular
speed. Change the emulation software line speed to match that of the switch console port.
Step 7 Load any helper files:
switch: load_helper
Step 8 Display the contents of Flash memory as in this example:
switch: dir flash:
The switch file system is displayed:
Directory of flash:/
3 drwx 10176 Mar 01 2001 00:04:34 html
6 -rwx 2343 Mar 01 2001 03:18:16 config.text
171 -rwx 1667997 Mar 01 2001 00:02:39 c2950-i6q412-mz.121-9.EA1.bin
7 -rwx 3060 Mar 01 2001 00:14:20 vlan.dat
172 -rwx 100 Mar 01 2001 00:02:54 env_vars
7741440 bytes total (3884509 bytes free)
Step 9 Rename the configuration file to config.text.old.
This file contains the password definition.
switch: rename flash:config.text flash:config.text.old
Step 10 Boot the system:
switch: boot
You are prompted to start the setup program. Enter N at the prompt:
Continue with the configuration dialog? [yes/no]: N
Step 11 At the switch prompt, change to privileged EXEC mode:
switch> enable
Step 12 Rename the configuration file to its original name:
switch# rename flas

2#
发表于 2013-1-23 10:43:44 | 只看该作者 来自: 新疆石河子 来自 新疆石河子
现在还能看的懂     几年前学的思科       估计在过两年看不懂了   

回复 支持 反对

使用道具 举报

3#
发表于 2013-11-6 23:45:22 | 只看该作者 来自: 浙江金华 来自 浙江金华
我测量电压波动在1点多V到4点多V

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表
附近
店铺
微信扫码查看附近店铺
维修
报价
扫码查看手机版报价
信号元
件查询
点位图 AI维修
助手



芯片搜索

快速回复