9-6
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuring the Switch Interfaces
Using the Inter fa ce Comma nd
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
<output truncated>

Configuring a Range of Interfaces

You can use the interface range global configuration command to configure multiple interfaces with the
same configuration parameters. When you enter the interface-range configuration mode, all command
parameters that you enter are attributed to all interfaces within that range until you exit this mode.
Beginning in privileged EXEC mode, follow thes e steps to configure a range of interfaces with the
same parameters:
When using the interface range global con figuration co mman d, note these gui delin es:
Valid entries for port-range:
vlan vlan-ID - vlan-ID, wher e VLAN ID is from 1 to 1005 with t he SI installe d or 1 to 4094
with the EI installed
fastethernet slot/{first port} - {last port}, wh er e sl ot i s 0
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 interface range {port-range | macro
macro_name} Enter int erface- range con figuration mod e by enterin g the range of
interface s (VLAN s or physical ports) to be configured.
You can use the interf ace range command to configure up to f ive
port ranges or a previously defined macro.
The macro variab le is explai ned in th e Configuri ng and Usin g
Interface-Range Macros section on page 9-8.
Each comma-separated port-range must co n sist of th e s a me por t
type. You do not need to enter spaces before or after the comma.
When you def ine a range, the space between the first port and the
hyphen is req uired.
Step 3 You ca n n ow use th e no rma l c on figurat ion co mm an ds to a pply the
configuration parameters to all interfaces in the range.
Step 4 end Return to privileged EXEC mode.
Step 5 show interfaces [interface-id] Verify the configuration of the interfaces in the range.
Step 6 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.