1. 已通过Console口登录交换机
  2. 全局输入ip https enable 启用交换机的https功能
  3. 输入local-user XXX 创建web登录用户,XXX为登录名
  4. 输入 password simple w12345687 设定登录密码,w12345687为登录密码
  5. 输入 authorization-attribute level 3 (级别为0-3,设定用户级别为管理员)
    备注:不同版本下配置命令有所不同
  6. 输入service-type https (设定用户类型)
  7. 输入save保存配置,即可通过浏览器访问交换机
    同理http一致,将https改成http即可