环境
- Cisco Packet Tracer 5.3
操作
操作:按照如图所示连接拓扑图
# 进入特权模式 Switch>enable # 进入全局配置模式 Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# # 进入端口 Switch(config)#interface FastEthernet0/1 Switch(config-if)# # 禁用 Switch(config-if)#shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down Switch(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down # 使能 Switch(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Switch(config-if)#