登录站点

用户名

密码

10年前思科交换机4506和2950

热13已有 312 次阅读  2012-09-14 23:04   标签:  思科交换机  4506  2950 
思科4506交换机重置:
加电30秒,Ctrl - C,进入ROMMON模式
rommon1>confreg
Configuration Summary :
=> load ROM after netboot fails
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable
do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load ROM after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: y  (相当于0x2142,启动时跳过配置文件)
change console baud rate? y/n [n]: n
change the boot characteristics? y/n [n]: n
Configuration Summary :
=> load ROM after netboot fails
=> ignore system config info
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable
do you wish to save this configuration? y/n [n]: y
rommon2>reset
重启后是初始配置,保存后覆盖原来的配置
rommon 1 >confreg
 Configuration Summary :
 => load rom after netboot fails
 => ignore system config info   
 => console baud: 9600
 => autoboot from: commands specified in 'BOOT' environment variable
 do you wish to change the configuration? y/n  [n]:  y
 enable  "diagnostic mode"? y/n  [n]:  n
 enable  "use net in IP bcast address"? y/n  [n]:  n
 disable "load rom after netboot fails"? y/n  [n]:  n
 enable  "use all zero broadcast"? y/n  [n]:  n
 enable  "break/abort has effect"? y/n  [n]:  n
 disable "ignore system config info"? y/n  [n]:  y     (相当于0x2102,启动配置文件)
 change console baud rate? y/n  [n]:  n
 change the boot characteristics? y/n  [n]:  y
 enter to boot:
 0 = disable autoboot
 1 = the first file from internal flash device
 2 = commands specified in 'BOOT' environment variable
 [2]:
 Configuration Summary :
 => load rom after netboot fails
 => console baud: 9600
 => autoboot from: commands specified in 'BOOT' environment variable
 do you wish to save this configuration? y/n  [n]:  y
 You must reset or power cycle for new configuration to take effect
rommon 2 >reset
4506交换业务板上,有几个端口出现了faulty状态,亮黄灯,不知是软件问题还是硬件问题。
2950交换机重置(请参照博客“交换机密码恢复”)
2950交换机堆叠:主交换机,上联口做TRUNK,配置管理地址和默认网关,成员交换机不用配
cluster enable 1 1
cluster member 2 mac-address
成员交换机MAC地址 (可用show cluster candidates查看)
cluster member 3 mac-address 成员交换机MAC地址 (遇到问题,当添加某成员时,出现“password mismatch”的错误提示,检查过密码相同,最后在成员交换机cluster commander-address 主交换机MAC地址,这样就可以了,但是不明白是怎么回事)
Show Cluster members查看集群成员
配置完成后,会自动添加下面的ACL:
ip access-list extended CMP-NAT-ACL
 dynamic Cluster-HSRP deny   ip any any
 dynamic Cluster-NAT permit ip any any
分享 举报

发表评论 评论 (8 个评论)

涂鸦板