一.交换机工作模式的进入与退出
Switch>enable进入特权模式
Switch#configure terminal 进入全局配置模式
Switch(config)#interface fastEthernet 0/1 进入接口模式
退出:exit(e)
二.基本配置信息
Switch(config)# hostname s1 配置主机名
Switch# show running-config 查看当前的运行配置
Switch# show version 查看IOS名称以及版本信息
Switch(config)#enable password Taren1 为交换机配置特权密码Taren1
Switch#erase startup-config 清空设备配置
Switch#w 保存配置
Switch#reload 重启设备检测配置状况