交换机的命令行界面

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36292543/article/details/83384024

 

1、命令行操作模式的进入

命令 释义
Switch>enable 进入特权模式
Switch#configure terminal 进入全局配置模式
Switch(config)#interface fastethernet 0/1 进入交换机F0/1的接口模式
Switch(config-if)# exit 退回到上一级操作模式
Switch(config)# end 直接退回到特权模式

2、命令行的基本功能

(1)帮助信息

Switch> ?   ! 显示当前模式下所有可执行的命令。 

(3)命令的缩写

Switch> en     代表enable。

Switch# conf ter   代表configure terminal。

(3)命令的自动补齐

Switch# con   ! 按下tab键自动补齐configure。

(4)命令的快捷键

Switch(config-if)#  ^z   !  ctrl+z 退回到特权模式。

Switch#

猜你喜欢

转载自blog.csdn.net/qq_36292543/article/details/83384024