9-9
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuri ng th e Switch Interfaces Configuring Switch Interfaces
This exampl e shows how to define an interfac e-rang e macro na med enet_list to select Fast Ethernet
ports 1 to 4 and to verify the macro configuration:
Switch# configure terminal
Switch(config)# define interface-range enet_list fastethernet0/1 - 4
Switch(config)# end
Switch# show running-config | include define
define interface-range enet_list FastEthernet0/1 - 4
This exam pl e s h ows how to cr ea te a mu lti p le-i n te rface m a cr o n amed macro1:
Switch# configure terminal
Switch(config)# define interface-range macro1 gigabitethernet0/1 - 2, fastethernet0/5 - 7
Switch(config)# end
Switch#
This exampl e shows how to enter i nterfac e range co nfigurati on mode for t he inte rface-ra nge macr o
enet_list:
Switch# configure terminal
Switch(config)# interface range macro enet_list
Switch(config-if-range)#
This example shows how to delete the interface-range macro enet_list and to verify that it has been
deleted.
Switch# configure terminal
Switch(config)# no define interface-range enet_list
Switch# show run | include define

Configuring Switc h Interfaces

The switch supports these interface types:
Physical p or tsSwi tch po rts, i ncl uding ac cess, trun k, and LR E port s
VLANsSwitch virtual interfaces (SVIs)
Port-channelsEtherChan nel of interfac es
These sec tions descr ibe the default inte rface configurat ion and the optiona l feature s that you c an
configure on mo st physical interface s:
Defaul t Etherne t Interfa ce Configura tion, pa ge 9-10
SFP Configuration, page 9-10
Configuring Interface Speed and Duplex Mode, page 9-11
Configuring Media Types for Gigab it Interface s, page 9-14
Configuring I EEE 802 .3X Fl ow Control on Gigabit Et hern et Po rt s, pa ge 9 -14
Adding a D escr i ption for an In terfa ce , pa ge 9-16