HP (Hewlett-Packard) 2520 Switch User Manual


 
Port Status and Configuration
Viewing Port Status and Configuring Port Parameters
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-9. Examples of Two Methods for Changing a Port Configuration
Refer to “Enabling or Disabling Flow Control” on page 10-17 for more on flow
control.
Enabling or Disabling Flow Control
Note You must enable flow control on both ports in a given link. Otherwise, flow
control does not operate on the link, and appears as Off in the show interfaces
brief port listing, even if flow control is configured as enabled on the port in
the switch. (Refer to Figure 10-3 on page 10-9.) Also, the port (speed-duplex)
mode must be set to Auto (the default).
To disable flow control on some ports, while leaving it enabled on other ports,
just disable it on the individual ports you want to exclude.
Syntax:
[ no ]interface < port-list > flow-control
Enables or disables flow control packets on the port. The “no
form of the command disables flow control on the individual
ports. (Default: Disabled.)
For example, suppose that:
1. You want to enable flow control on ports 5-6.
2. Later you want to disable flow control on those ports.
Assuming that flow control is currently disabled on the switch, you would use
these commands:
10-17