0
点赞
收藏
分享

微信扫一扫

#yyds干货盘点#CCNA学习记录35之启用接口

JamFF 2022-03-11 阅读 69

启用接口

要禁用接口,我们可使用接口配置命令shutdown;要启用接口,我们可使用命令no shutdown。

如果接口被禁用,则在命令show interfaces(简写为sh int)的输出中,该接口显示为管理性关闭(down):

Todd#sh int f0/1

FastEthernet0/1 is administratively down,line protocol is down

[output cut]

另一种检查接口状态的方式是使用命令show running-config。默认情况下,所有接口都被禁用。要启用接口,我们可使用命令no shutdown(简写为no shut)

Todd#config t

Todd(config)#int f0/1

Todd(config-if)#no shutdown

Todd(config-if)#

*Feb 28 22:45:08.455:%LINK-3-UPDOWN:Interface FastEthernet0/1,

        changed state to up

Todd(config-if)#do show int f0/1

FastEthernet0/1 is up,line protocol is up

[output cut]

举报

相关推荐

0 条评论