交换机的端口配置

2025-11-24 09:06:24

1、  配置接口的描述、关闭接口、启动接口、配置接口的速度为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、  配置接口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、  配置接口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、    查看配置情况。

student#show running-config,此时我们可以看到快速以太口f0/2被我们配置为全双工,速度为100Mbpd等配置信息。

交换机的端口配置

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢