“Cisco ios命令”的版本间的差异

来自qingwei personal wiki
跳转至: 导航搜索
SH 用户名/密码
SH 用户名/密码
第6行: 第6行:
 
aaa authentication enable default none
 
aaa authentication enable default none
 
</pre>
 
</pre>
=== SH 用户名/密码  ===
+
=== SSH 用户名/密码  ===
 
<pre>
 
<pre>
 
username lab priv 15 pass 0 lab
 
username lab priv 15 pass 0 lab

2017年12月4日 (一) 15:37的版本

登入

telnet 不使用用户名/密码

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

SSH 用户名/密码

username lab priv 15 pass 0 lab
ip domain name cisco.com
crypto key generate rsa general-keys label ssh_key modulus 2048
ip ssh rsa keypair-name ssh_key
ip ssh version 2

line vty  0 20
 transport input telnet 
line vty  21 99
 transport input ssh 
  • C02不起作用
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