初始化设置:
1. 建立PC到路由器的物理连接,用RS232 CONSOLE线(随交换机带)连接路由器CONSOLE接口和PC的COM口。
2. 在计算机上使用超级终端:打开“开始-程序-附件-通讯-超级终端—新建超级终端”,首先为新建连接设置名称。
然后,设置连接用端口,一般选择COM1,再设置连接参数,设置参数如下:每秒位数为9600,数据位为8,奇偶校
验为无,停止位为1,数据流控制为Xon/Xoff。
3. 等待30秒,回车,出现人机对话界面
Would you like to enter the initial configuration dialog? [yes/no]: 是否按提示步骤操作 % Please answer yes or no. Would you like to enter the initial configuration dialog? [yes/no]: n 输入n(自己手工设置) Press RETURN to get started! Switch>. 首先看到的是用户模式 Switch>.en 输入en(即enable)进入特权模式 Switch#conf t 进入配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname sw2950 给交换机命名 sw2960(config)#enable password Cisco 给交换机配置管理口令(明码的) sw2960(config)#line vty 0 4 给交换机开启远程管理 sw2960(config-line)#pass Cisco! 设置远程管理口令 sw2960(config-line)#login 允许远程登陆 sw2960(config-line)#exit 退出到上级目录 sw2960(config)#int vlan 1 进入vlan1 接口 sw2960(config-if)#no shut 开启此接口 1y13w: %LINK-3-UPDOWN: Interface Vlan1, changed state to up 1y13w: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up sw2960(config-if)#ip add 192.168.1.2 255.255.255.0 设置此接口地址 sw2960(config-if)#exit 退出到上一层 sw2960(config-if-range)#exit 退出到上一级目录 sw2960(config)#end 退到根目录 sw2960#wr 保存配置 切记!必须保存,否则重新启动后设置丢失! 4d00h: %SYS-5-CONFIG_I: Configured from console by console Building configuration... [OK] (保存好了,已经生效)
Cisco2911路由器router不识别flash的解决方法:
1. console连接终端;
2.
confreg 02x2102;
重置、破解路由器/交换机密码的方法:
时间长不记得密码了,可以使用以下方法:
重置路由器启动时,按下Ctrl+Break键,进入router(boot)>模式;
寄存器的值一般只有两个:0x2102和0x2142
rommon 1>confreg ?0x2142(0x2102) rommon 2>reset
进入路由器,
R#copy run start
修改密码后,
R(config)#config-register 0x2102
保存重启即可
重置完成后,想改回寄存器值的话,正常进入路由器的全局模式输入如下命令即可:
R(config)#config-register 0x2102
http://www.savh.cn/thread-143.htm
转载请注明:Savh.Cn 发表