对于思科交换机,我们可能存在弱口令,为了保证网络安全,那么需要更改密码,今天小魏分享下思科交换机更改密码步骤如下:
思科交换机默认用户名密码是:password:cisco
配置密码代码如下:
switch (config)#line console 0
switch (config-line)#password 111
switch (config-line)#login
switch (config-line)#exit
具体配置如下:
switch (config)#enable password 111
switch (config)#enable secret 222
switch (config)#line vty 0 5
switch (config-line)#password 333
switch (config-line)#login
switch (config-line)#exit