网络基础——交换机的工作模式

交换机的工作模式:(以下配置命令仅适用于思科设备)

Switch>用户模式

Switch>enable 

Switch#特权模式

Switch#configure  terminal 

Switch(config)#全局配置模式

Switch(config)#interface fastEthernet 0/1

Switch(config-if)#接口模式

exit返回上一模式

end直接退到特权模式

常用命令:

Switch(config)#hostname S1修改主机名为S1

Switch#show  running-config查看配置信息

接口模式:shutdown禁用此接口

原文地址:https://www.cnblogs.com/a-ant/p/10878976.html