beautypg.com

HP 2910AL User Manual

Page 228

background image

Port Status and Configuration
Viewing Port Status and Configuring Port Parameters

[speed-duplex < auto-10 |10-full | 10-half | 100-full | 100-half |1000-full
|auto| auto 100 | auto-1000 | auto 10-100 >]

Specifies the port’s data transfer speed and mode. Does
not use the

no form of the command. (Default: auto.)

Note that in the above syntax you can substitute an “

int” for “interface”; that

is:

int < port-list >.

The 10/100 auto-negotiation feature allows a port to establish a link with a port
at the other end at either 10 Mbps or 100 Mbps, using the highest mutual speed
and duplex mode available. Only these speeds are allowed with this setting.

For example, to configure port 5 for auto-10-100, enter this command:

ProCurve(config)# int 5 speed-duplex auto-10-100

To configure ports 1 through 3 and port 6 for 100Mbps full-duplex, you would
enter these commands:

ProCurve(config)# int 1-3,6 speed-duplex 100-full

Similarly, to configure a single port with the above command settings, you
could either enter the same command with only the one port identified, or go
to the context level for that port and then enter the command. For example,
to enter the context level for port 6 and then configure that port for 100FDx:

ProCurve(config)# int e 6

ProCurve(eth-6)# speed-duplex 100-full

If port 8 was disabled, and you wanted to enable it and configure it for 100FDx
with flow-control active, you could do so with either of the following com­
mand sets.

These commands enable and configure
port 8 from the config level:

ProCurve(config)# int 8 enable

ProCurve(config)# int 8 speed-duplex 100-full

ProCurve(config)# int 8 flow-control

ProCurve(config)# int 8

ProCurve(eth-8)# enable

ProCurve(eth-8)# speed-duplex 100-full

These commands select the port 8
context level and then apply the
subsequent configuration commands
to port 8:

Figure 10-8. Examples of Two Methods for Changing a Port Configuration

Refer to “Enabling or Disabling Flow Control” on page 10-15 for more on flow
control.

10-14