MENU

Cisco PT 案例三:端口使能/禁用

June 19, 2020 • Read: 426 • 计算机网络

环境

  • Cisco Packet Tracer 5.3
  • Windows 10

操作

操作:按照如图所示连接拓扑图
image.png

# 进入特权模式
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)#
Archives QR Code Tip
QR Code for this page
Tipping QR Code