9-8
Optimizing Traffic Flow with Port Controls, Port Trunking, and Port-Based Priority
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 on each option, see Table 9-9-1 on page
9-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:
HPswitch(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 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.
■
These commands enable and configure port C8 from the config level:
HPswitch(config)# int e c8 enable
HPswitch(config)# int e c8 speed-duplex 100-full
HPswitch(config)# int e c8 flow-control
■
These commands select the context level for port C8 and then apply all
of the configuration commands to port C8:
HPswitch(config)# int e c8
HPswitch(eth-C8)# enable
HPswitch(eth-C8)# speed-duplex 100-full
HPswitch(eth-C8)# flow-control
Summary of Contents for ProCurve 4104GL
Page 2: ......
Page 26: ...xxiv Getting Started Need Only a Quick Start ...
Page 34: ...1 8 Selecting a Management Interface Advantages of Using HP TopTools for Hubs Switches ...
Page 50: ...2 16 Using the Menu Interface Where To Go From Here ...
Page 172: ...8 24 Time Protocols SNTP Messages in the Event Log ...
Page 240: ...10 30 Configuring for Network Management Applications CDP ...
Page 288: ...11 48 Port Based Virtual LANs VLANs and GVRP GVRP ...
Page 480: ...C 38 Troubleshooting Restoring a Flash Image ...
Page 486: ...D 6 MAC Address Management Determining MAC Addresses ...
Page 490: ......
Page 502: ...12 Index ...
Page 503: ......