
Port Status and Basic Configuration
Viewing Port Status and Configuring Port Parameters
Using the CLI To Configure Ports. You can configure one or more of the
following port parameters. For details, refer to table 10-1 on pages 10-3 thru
10-4.
Syntax: [no] interface < port-list > < [disable | enable >]
< disable | enable >
Disables or enables the port for network traffic. (Default:
enable.)
speed-duplex < auto-10 |10-full | 10-half | 100-full | 100-half |auto|
1000-full >
Specifies the port’s data transfer speed and mode.
(Default: auto.)
flow-control
Enables or disables flow control packets on the port. The
"no" version of the command disables flow control.
(Default: Disabled.)
Note: Requires that you first enable global flow control.
Refer to the “flow control” entry in Table
10-1 on pages
10-3 thru 10-4.
Note that in the above syntax you can substitute an “int” for “interface”; that
is: int < port-list >.
For example, to configure ports C1 through C3 and port C6 for 100Mbps full-
duplex, you would enter these commands:
HPswitch(config)# int c1-c3,c6 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 C6 and then configure that port for 100FDx:
HPswitch(config)# int e c6
HPswitch(eth-C6)# speed-duplex 100-full
If port C8 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
command sets. (Note that to enable flow control on individual ports, you must
first enable it globally, as shown in these examples.)
10-8
Kommentare zu diesen Handbüchern