Switch(config)#username cxw privilege 15 password 123.com
Switch(config)#line vty 0 4
Switch(config-line)#login local
Switch(config-line)#exit
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shut
PC>telnet 192.168.1.1
Trying 192.168.1.1 ...Open
User Access Verification
Username: cxw
Password:
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#A
时间: 2024-11-08 17:09:37