Experimental requirements:
① Turn off the auto-negotiation function of the three switches and enable full-duplex mode
② Configure the port connecting SW2/SW3 to the PC to 10M rate, and configure the port connecting to SW1 to 100M mode; configure the SW1 port to 100M mode accordingly, and verify connectivity on the PC side.
SW1:
[SW1]interface g0/0/1
[SW1-GigabitEthernet0/0/1]undo negotiation auto //关闭自协商功能
[SW1-GigabitEthernet0/0/1]duplex full //开启全双工模式
[SW1-GigabitEthernet0/0/1]speed 100 //设置端口的速率为100Mbps
[SW1-GigabitEthernet0/0/1]interface g0/0/2
[SW1-GigabitEthernet0/0/2]undo negotiation auto
[SW1-GigabitEthernet0/0/2]duplex full
[SW1-GigabitEthernet0/0/2]speed 100
[SW1-GigabitEthernet0/0/2]q
SW2:
[SW2]interface g0/0/1
[SW2-GigabitEthernet0/0/1]undo negotiation auto
[SW2-GigabitEthernet0/0/1]duplex full
[SW2-GigabitEthernet0/0/1]speed 100
[SW2-GigabitEthernet0/0/1]Q
[SW2]interface g0/0/2
[SW2-GigabitEthernet0/0/2]undo negotiation auto
[SW2-GigabitEthernet0/0/2]duplex full
[SW2-GigabitEthernet0/0/2]speed 10
[SW2-GigabitEthernet0/0/2]q
SW3:
[SW3]interface g0/0/1
[SW3-GigabitEthernet0/0/1]undo negotiation auto
[SW3-GigabitEthernet0/0/1]duplex full
[SW3-GigabitEthernet0/0/1]speed 100
[SW3-GigabitEthernet0/0/1]q
[SW3]interface g0/0/2
[SW3-GigabitEthernet0/0/2]undo negotiation auto
[SW3-GigabitEthernet0/0/2]duplex full
[SW3-GigabitEthernet0/0/2]speed 10
[SW3-GigabitEthernet0/0/2]q
Verify connectivity: