SMC Networks SMC TigerStack II SMC6624M User Manual

Page 99

Advertising
background image

6-7

Optimizing Port Usage Through Traffic Control and Port Trunking

Viewing Port Status and Configuring Port Parameters

Op
timiz

in

g

Po
rt Usa

g

e

Thr
oug

h Tr

af

fic

Co
nt

rol
an
d

Using the CLI To Configure Ports.

You can configure one or more of the

following port parameters. For details on each option, see Table 6-1 on page
6-2.

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]
[broadcast-limit <0 - 99>]

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 1 through 4 and port 7 for 100Mbps full-duplex
with a broadcast limit of 20%, you would enter this command:

SMC TigerSwitch 10/100(config)# int e 1-4,7

speed-duplex

100-full

broadcast-limit 20

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 7 and then configure that port for
100FDx with a broadcast limit of 20%:

SMC TigerSwitch 10/100(config)# int e 7

SMC TigerSwitch 10/100(eth-7)# speed-duplex 100-full

broadcast-limit 20

If port 8 was disabled, and you wanted to enable it and configure it for 100FDx
with a broadcast limit of 20%, with flow-control active and a broadcast limit
of 20%, you could do so with either of the following command sets.

This command enables and configures port 8 from the config level:

SMC TigerSwitch 10/100(config)# interface e 8 enable

speed-duplex

100-full broadcast-limit 20 flow-control

These two commands select the context level for port 8 and then apply
all of the configuration commands to port 8:

SMC TigerSwitch 10/100(config)# int e 8

SMC TigerSwitch 10/100(eth-8)# enable speed-duplex

100-full

flow-control broadcast-limit 20

Advertising