进入交换机各个模式命令是什么?

来源:百度知道 编辑:UC知道 时间:2024/09/23 07:33:17
请简要回答。

1.进入特权模式
Switch>enable
Switch#
2.返回用户模式
Switch#exit
Press RETURN to get started!
Switch>
配置模式:
1.进入全局配置模式下
Switch#configure terminal
Switch(config)#exit
Switch#
2.进入线路配置模式
Switch(config)#line console 0
Switch(config-line)#exit
Switch(config)#
3.进入接口配置模式
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#exit
Switch(config)#

从子模式下直接返回特权模式
Switch(config-if)#end
Switch#

enable 进特权模式

特权模式下输入
configure terminal 进入全局配置模式

全局配置模式输入
interface E0/1 进接口配置模式 <输入接口名如:E0/1>

输入exit返回全局配置模式

任意模式下按CTRL+C键返回特权模式