环境

  • 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)#
最后修改:2020 年 06 月 19 日
如果觉得我的文章对你有用,请随意赞赏