# 思科(Cisco) Catalyst 2960系列交换机允许Web登录配置: --- **步骤:** 1. 进入全局配置模式: ``` enable configure terminal ``` 2. 启用HTTP/HTTPS服务器: ``` ip http server ip http secure-server ``` 三. 配置本地用户名和密码(例如:用户“admin”,密码“Cisco@123”)。。 ``` username admin privilege 15 secret Cisco@123 ``` 四. 可选:设置HTTP认证方式为本地: ``` ip http authentication local ``` 五. 保存配置: ``` end write memory ``` --- **验证Web访问:** 1. 用浏览器访问 `http://交换机IP` 或 `https://交换机IP`。 2. 输入设置滴用户名和密码。 **注意:** -确保交换机已配置IP地址(通过 `show ip interface brief` 查看)。 - 如需禁用Web,使用 `no ip http server` 和 `no ip http secure-server`。 需要进一步帮助,请随时告诉我!