ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 拓扑图 ![](https://box.kancloud.cn/11d225aa6221c30f69b3a7bce1c1cd71_622x458.jpg) # 基础配置 ## S1: ~~~ Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z Switch(config)#hostname S1 S1(config)#enable password 123 S1(config)#line vty 0 4 S1(config-line)#password 456 S1(config-line)#login S1(config)#interface vlan 1 S1(config-if)#ip address 192.168.1.1 255.255.255.0 S1(config-if)#no shutdown S1(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up ~~~ ## PC1: ![](https://box.kancloud.cn/d4d164a062cd9240b713d8df3ffdd17c_646x567.jpg) # 实验测试 PC 1 telnet 192.168.1.1 输入密码 456 enable 输入密码 123