交换机端口配置方法 | 您所在的位置:网站首页 › 交换机怎么添加端口 › 交换机端口配置方法 |
设备: Switch_2960 1台;PC 1台;配置线;直通线! 2 开启终端。 3 设置终端 4 交换机的命令行操作模式主要包括: 用户模式 Switch> 特权模式 Switch# 全局配置模式 Switch(config)# 端口模式 Switch(config-if)# 5 命令说明: 1、查看端口信息 Switch#show interface 2、查看交换机的MAC地址表Switch#show mac-address-table 3、选择某个端口Switch(config)# interface fastethernet0/1 4、设置端口通信速度Switch(config-if)#speed [10/100/auto] 5、设置端口单双工模式Switch(config-if)#duplex [half/full/auto] 6 交换机的设置。 S2960(config)#hostname SA SA(config)#exit SA#show version SA#show run SA#show interface SA#show mac-address-table SA#config t SA(config)#enable password cisco//激活特权模式密码为cisco SA(config)#no enable password //取消特权模式密码 SA(config)#line console 0 SA(config-line)#password cisco SA(config-line)#login SA(config-line)#no password//取消密码 EN |
CopyRight 2018-2019 实验室设备网 版权所有 |