10-9
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter10 Configuring Interface Char acteristics
Configuring Ethernet Interfaces
This example shows how to define an interface-range named enet_list to include ports 1 and 2 and t o
verify the macro configuration:
Switch# configure terminal
Switch(config)# define interface-range enet_list gigabitethernet0/1 - 2
Switch(config)# end
Switch# show running-config | include define
define interface-range enet_list GigabitEthernet0/1 - 2
This example shows how to create a multiple-inte rface macro named macro1:
Switch# configure terminal
Switch(config)# define interface-range macro1 fastethernet0/1 - 2, gigabitethernet0/1 - 2
Switch(config)# end
This example shows how to enter interface-range configuration mode for the interface-range
macroen et_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 was deleted.
Switch# configure terminal
Switch(config)# no define interface-range enet_list
Switch(config)# end
Switch# show run | include define
Switch#
Configuring Ethernet Interfaces
These sections contain this configuration information:
Default Ethernet Interface Configuration, page 10-9
Configuring Interface Speed and Duplex Mode, page 10-10
Configuring IEEE 802.3x Flow Control, page 10-14
Configuring Auto-MDIX on an Interface, page 10-15
Adding a Description for an Interface, page 10-16

Default Ethernet Interface Configuration

Table10-1 shows the Ethernet interface default configuration. For more details on the VLAN parameters
listed in the table, see Chapter12, “Configuring VLANs.” For details on controlling traffic to the port,
see Chapter21, “Configuring Port-Based Traffic Control.”
Table10-1 Default Layer 2 Ethernet Interface Configuration
Feature Default Setting
Allowed VLAN range VLANs 1– 4094.
Default VLAN (for access ports) VLAN 1.
Native VLAN (for IEEE 802.1Q
trunks)
VLAN 1.