华为交换机consonl,http,telnet登录配置

Telnet:

system-view             //进入系统视图

[Huawei]sysname R                //更名为R

[R]telnet server enable            //开启tenlnet服务

[R]user-interface vty 0 4          //进入虚拟终端接口(同时支持最大0-4 5个用户在线操作)

[R]user-interface maximum-vty 15  // 开启最大用户数15.即同时15个人可以在线操作 (默认关闭的)

 

[R-ui-vty0-4]authentication-mode aaa         //认证方式为AAA

//认证方式,有三种,AAA(同时输入正确的用户名和密码才能登录),none(不用认证),password(输入正确的密码就可登录)认证,可以根据需要选择

[R]q                //退出

[R]aaa           //进入AAA认证

[R-aaa]local-user IT password cipher ****** privilege level 3       //设置了用户名为IT,密码为*****的账户。浏览等级是3

[R-aaa]local-user IT service-type telnet          //这个账户的服务类型是telnet方式

consonl:

[R]user-interface consonl 0 

[R]auth-mode aaa//认证模式为三A认证

[R]aaa           //进入AAA认证

[R-aaa]local-user IT1 password cipher ****** privilege level 3 //设置了用户名为IT1,密码为*****的账户。浏览等级是3

[R-aaa]local-user it service-type terminal     //这个账户的服务类型是terminal方式,也就是consonl登录的密码

HTTP:

[R]http server enable 

[R]aaa           //进入AAA认证

[R-aaa]local-user IT2 password cipher ****** privilege level 3 //设置了用户名为IT2,密码为*****的账户。浏览等级是3

[R-aaa]local-user IT2 service-type  http    //这个账户的服务类型是http方式

 

 

 

 

 

你可能感兴趣的:(【华为华三】)