Follow the commands below to set a port to a fixed speed and duplex (autonegotiate off).
Please note that the default setting after removing autonegotiate is 100Mbit Full-Duplex.
Only when you need different settings you need to use the speed and duplex commands.
<RT01>system-view
Enter system view, return user view with Ctrl+Z.
[RT01]
[RT01]interface GigabitEthernet0/0/9
[RT01-GigabitEthernet0/0/9]undo negotiation auto
[RT01-GigabitEthernet0/0/9]speed 100
Warning: Configuration is repeated.
[RT01-GigabitEthernet0/0/9]duplex full
Warning: Configuration is repeated.
[RT01-GigabitEthernet0/0/9]q
[RT01]q
<RT01>
Supported autonegotiate off speed settings
– 10
– 100
Supported autonegotiate off duplex settings
– half
– full
Follow the commands below to set an interface back to autonegotiate on.
<RT01>system-view
Enter system view, return user view with Ctrl+Z.
[RT01]
[RT01]interface GigabitEthernet0/0/9
[RT01-GigabitEthernet0/0/9]negotiation auto
[RT01-GigabitEthernet0/0/9]q
[RT01]q
<RT01>