交换机的端口配置
来源:网络收集 点击: 时间:2024-03-181、 配置接口的描述、关闭接口、启动接口、配置接口的速度为100Mbpd、配置接口工作模式为全双工、配置接口的流控模式;
student#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
student(config)#interface f0/2
student(config-if)#description 接口描述
student(config-if)#shutdown
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down
student(config-if)#
student(config-if)#duplex full
student(config-if)#end
2/42、 配置接口FastEthernet0/10为Access口;
student#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
student(config)#interface f0/10
student(config-if)#switchport mode access
student(config-if)#end
3/43、 配置接口FastEthernet0/12为Trunk口;
student#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
student(config)#interface f0/12
student(config-if)#switchport mode trunk
student(config-if)#exit
student(config)#
4/44、 查看配置情况。
student#show running-config,此时我们可以看到快速以太口f0/2被我们配置为全双工,速度为100Mbpd等配置信息。

版权声明:
1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。
2、本站仅提供信息发布平台,不承担相关法律责任。
3、若侵犯您的版权或隐私,请联系本站管理员删除。
4、文章链接:http://www.1haoku.cn/art_358114.html