11-8
Optimizing Port Usage Through Traffic Control and Port Trunking
Viewing Port Status and Configur ing Port Parameters
Ports: Traffic Control
and Trunking
Using the CLI To Configure Ports. You can configure one or more of the
following port parameters. For details on each option, see Table 11-1 on page
11-3.
Syntax: [no] interface <[ethernet] port-list>
disable | enable
speed-duplex
<auto-10 |10-full | 10-half | 100-full | 100-half |auto|1000-full |>
flow-control
Note that in the above syntax you can subsitute an “int” for “interface” and an
“e” for “ethernet”; that is int e <port-list>.
For example, to configure ports C1 through C3 and port C6 for 100Mbps full-
duplex, you would enter these commands:
HP4108(config)# int e c1-c3,c6 speed-duplex 100-full
Similarly, to configure a single port with the settings in the above command,
you could either enter the same command with only the one port identifie d,
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 :
HP4108(config)# int e c6
HP4108(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 e ither of the following
command sets.
■These commands enable and configure port C8 from the config level:
HP4108(config)# int e c8 enable
HP4108(config)# int e c8 speed-duplex 100-full
HP4108(config)# int e c8 flow-control
■These commands select the context leve l for port C8 and then apply all
of the configuration commands to port C8:
HP4108(config)# int e c8
HP4108(eth-C8)# enable
HP4108(eth-C8)# speed-duplex 100-full
HP4108(eth-C8)# flow-control