H3C Console接口配置实验 配置R1 <H3C>system-view //进入系统视图 [H3C]sysname r1 //命令设备名称为r1 [r1]header login "Welcome to zurkj.com" //配置登录界面头部信息 [r1]header shell "Welcome to ipgzj.com" //配置登录头部信息 [r1]user-interface console 0 /[r1]line console 0 //用户线 Console界面 [r1-line-console0]authentication-mode scheme //身份认证为计划(AAA) [r1-line-console0]quit [r1]local-user zurkj class manage //创建用户 [r1-luser-manage-zurkj]password simple Aa123456789 //配置用户密码 [r1-luser-manage-zurkj]service-type terminal //配置用户服务类型为终端(console) [r1-luser-manage-zurkj]authorization-attribute user-rolenetwork-admin //配置授权属性为最高 [r1-luser-manage-zurkj]quit 配置R1为仅使用密码登录 [r1-line-console0]authentication-mode password [r1-line-console0]set authentication password simpleAa123456 配置不要密码 [r1-line-console0]authentication-mode none 验证登录 使用Scheme Press ENTER to get started. Welcome to zurkj.com Login: zurkj Password:Aa123456789 Welcome to ipgzj.com 使用password Press ENTER to get started. Welcome to zurkj.com Password: Welcome to ipgzj.com 不要密码登录 Press ENTER to get started. Welcome to ipgzj.com
|