以 Cisco Catalyst 3560G-24TS Switch 为例


初始化管理IP

enable
configure terminal
interface vlan 1
ip address IP地址 掩码
no shutdown


初始化web界面登陆

enable
configure terminal
ip http server
ip http authentication local
username 用户名 password 密码
username 用户名 privilege 15