Configuring port auto-negotiation speed – H3C Technologies H3C S3100 Series Switches User Manual
Page 143

1-2
Operation
Command
Remarks
Enable the Ethernet port
undo shutdown
Optional
By default, the port is enabled.
Use the shutdown command to
disable the port.
Set the description string for the
Ethernet port
description text
Optional
By default, the description string of
an Ethernet port is null.
Set the duplex mode of the
Ethernet port
duplex { auto | full | half }
Optional
By default, the duplex mode of the
port is auto (auto-negotiation).
Set the speed of the Ethernet port
speed { 10 | 100 | 1000 | auto }
Optional
z
By default, the speed of an
Ethernet port is determined
through auto-negotiation (the
auto keyword).
z
Use the 1000 keyword for
Gigabit Ethernet ports only.
Set the medium dependent
interface (MDI) mode of the
Ethernet port
mdi { across | auto | normal }
Optional
Be default, the MDI mode of an
Ethernet port is auto.
Set the maximum frame size
allowed on the Ethernet port to
2048 bytes (Only S3100-EI Series
switches support this feature)
jumboframe enable
Optional
By default, the maximum frame
size allowed on an Ethernet port is
2048 bytes.
Configuring Port Auto-Negotiation Speed
You can configure an auto-negotiation speed for a port by using the speed auto command.
Take a 10/100/1000 Mbps port as an example.
z
If you expect that 10 Mbps is the only available auto-negotiation speed of the port, you just need to
configure speed auto 10.
z
If you expect that 10 Mbps and 100 Mbps are the available auto-negotiation speeds of the port, you
just need to configure speed auto 10 100.
z
If you expect that 10 Mbps and 1000 Mbps are the available auto-negotiation speeds of the port,
you just need to configure speed auto 10 1000.
Follow these steps to configure auto-negotiation speeds for a port:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
—
Configure the available
auto-negotiation speed(s) for
the port
speed auto [ 10 | 100 | 1000 ]*
Optional
By default, the port speed is determined
through auto-negotiation.