全双工和半双工配置

1.配置SW1的e0/0/1为全双工,SW2的e0/0/1为半双工。

在这里插入图片描述

实验前须知:

1.该交换机默认自协商,若想把端口改为全双工或半双工,则需执行undo negotiation auto 命令
2.关闭自协商后,端口默认变为全双工。证明:关闭自协调后,执行duplex full ,再执行dis th会发现不存在duplex full这条命令。

SW1的配置
[Huawei-Ethernet0/0/1]duplex full //必须先关闭自协商,否则会报错
Error: Please undo negotiation auto first.
[Huawei-Ethernet0/0/1]undo negotiation auto
[Huawei-Ethernet0/0/1]duplex full

SW2的配置
[SW2]int e0/0/1
[SW2-Ethernet0/0/1]undo negotiation auto
t0/0/1]undo negotiation auto
[SW2-Ethernet0/0/1]duplex half

猜你喜欢

转载自blog.csdn.net/qq_44933518/article/details/105022162
今日推荐