Chapter 10
Configuring Interface Characteristics
This example shows how to define an interface-range named enet_list to include ports 1 and 2 and to
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-interface 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
macro 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 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
Table 10-1
parameters listed in the table, see
to the port, see
Table 10-1
Feature
Allowed VLAN range
Default VLAN (for access ports)
OL-8603-04
Setting the Type of a Dual-Purpose Uplink Port, page 10-10
shows the Ethernet interface default configuration. For more details on the VLAN
Chapter 19, "Configuring Port-Based Traffic Control."
Default Layer 2 Ethernet Interface Configuration
Chapter 12, "Configuring VLANs."
Default Setting
VLANs 1 to 4094.
VLAN 1.
Catalyst 2960 Switch Software Configuration Guide
Configuring Ethernet Interfaces
For details on controlling traffic
10-9