Cisco ios命令

從 qingwei personal wiki
於 2017年12月4日 (一) 15:31 由 Qingwei (對話 | 貢獻) 所做的修訂 (登入)
跳到: 導覽搜尋

登入

telnet 不使用用戶名/密碼

aaa new-model
aaa authentication login default none
aaa authentication enable default none

SH 用戶名/密碼

crypto key generate rsa usage-keys label jifu-ssh-key modulus 768
ip ssh rsa keypair-name jifu-ssh-key 

雜七雜八

替換running config

C02#copy harddisk:qingwyan_20171204.cfg startup-config
Destination filename [startup-config]?
14198 bytes copied in 0.777 secs (18273 bytes/sec)
Router#reload
Proceed with reload? [confirm]

C02 換image

0x2的方式

telnet 80.3.1.12
C02(config)#no boot system
C02(config)#boot system harddisk:cbrsup-universalk9.BLD_POLARIS_DEV_LATEST_20171123_002433.SSA.bin
C02(config)#config-register 0x2
C02(config)#end
C02#wr