36
Default level
2: System level
Parameter
port-group-name: Sets the port group name, a string of 1 to 32 characters.
Example
# Create port group group1.
<Sysname> system-view
[Sysname] port-group manual group1
[Sysname-port-group-manual-group1]
speed auto
Description
Use the speed auto command to set options for speed auto negotiation.
Use the undo speed command to restore the default.
By default, an Ethernet interface automatically negotiates a speed with the peer.
The speed command and the speed auto command supersede each other. The command that is
configured last takes effect.
If you configure speed 100 after configuring speed auto 100 1000 on an interface, the interface speed is
set to 100 Mbps by force without negotiation. If you configure speed auto 100 1000 after configuring
speed 100 on the interface, the interface negotiates with its peer, and the negotiated speed is either 100
Mbps or 1000 Mbps.
To avoid negotiation failure, ensure that at least one speed option is supported at both ends.
This feature is supported only on Gigabit copper ports that support speed auto negotiation.
Syntax
speed auto { 10 | 100 | 1000 } *
undo speed
View
Layer 2 GE interface view
Default level
2: System level
Parameters
10: Sets 10 Mbps as an option for speed auto negotiation.
100: Sets 100 Mbps as an option for speed auto negotiation.
1000: Sets 1000 Mbps as an option for speed auto negotiation.
Example
# Configure the port GigabitEthernet 1/0/1 to use 10 Mbps and 1000 Mbps for speed negotiation.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1