模式

三种模式:

用户模式

特权模式

配置/全局模式

进入更高级别的模式

#从用户模式进入特权模式
R1>
R1>enable 
R1#

#从特权模式进入全局模式
R1#
R1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#

退出GNS3默认的

R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#
R1(config)#
R1(config)#line console 0
R1(config-line)#no privilege level 15
R1(config-line)#exit
R1(config)#exit
R1#exit

R1>

常用命令

用户模式

特权模式

配置模式

配置模式设置用户密码

推荐方式

以下方式了解一下即可,不建议在生产环境中使用

Console密码1-不建议使用(无法区分用户)

Console密码2-不建议使用(明文密码,show running-config会发现是明文存储)

VTY密码1-不建议使用(无法区分用户)

VTY密码2-不建议使用(明文密码,show running-config会发现是明文存储)

Last updated