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

2020-07-15 16:25:14 浏览数 (1)

环境

  • Cisco Packet Tracer 5.3
  • Windows 10

操作

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

代码语言:javascript复制
# 进入特权模式
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)#

Author: Frytea

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

Link: https://cloud.tencent.com/developer/article/1662402

Copyright: This work by TL-Song is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

0 人点赞