<H3C>system-view
[H3C]undo interface Vlan-interface 1 红色部分为更改管理Vlan命令
[H3C]management-vlan 2 如果使用Vlan1可不输入这两条
[H3C]interface Vlan-interface 1 进入管理Vlan
[H3C-Vlan-interface]ip address 192.168.1.1 255.255.255.0 设置管理ip地址
[H3C-Vlan-interface]quit 退出
[H3C]user-interface vty 0 4 用户指定虚拟用户终端接口
[H3C-ui-vty0-4]authentication-mode scheme 设置登陆认证方式
none Login without checking (无需认证直接登录)
password Authentication use password of user terminal interface (只使用密码认证登陆)
scheme Authentication use AAA(使用AAA账号+密码登陆)
[H3C-ui-vty0-4]user privilege level 3 设置用户优先级为3
[H3C-ui-vty0-4]idle-timeout 5 设置终端用户超时时间 5分钟
[H3C-ui-vty0-4]quit 退出
[H3C]local-user 用户名 创建用户名
[H3C-luser-name]password cipher 密码 设置密码
cipher Display password with cipher text (密文密码)
simple Display password with plain text (明文密码)
[H3C-luser-name]authorization-attribute level 3 设置管理用户级别
[H3C-luser-name]service-type telnet terminal 授权用户使用Telnet
ftp FTP service type
lan-access LAN-ACCESS service type
ssh Secure Shell service type
telnet TELNET service type
terminal TERMINAL service type
[H3C-luser-name]quit 退出
[H3C]save 保存