16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Tasks
48
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
Defining a Range Macro
To define an interface range macro, use the
define interface
-
range
command in global configuration mode:
Verifying Configuration of a Range of Interfaces
Step 1
Use the show running-configuration command to show the defined interface-range macro
configuration:
Router#
show running-configuration
| include define define interface-range enet_list
FastEthernet5/1 - 4
Configuring Layer 2 Optional Interface Features
•
Interface Speed and Duplex Configuration Guidelines, page 48
•
Configuring the Interface Speed, page 49
•
Configuring the Interface Duplex Mode, page 49
•
Configuring a Description for an Interface, page 50
•
Configuring an Ethernet Interface as a Layer 2 Trunk, page 50
•
Configuring an Ethernet Interface as a Layer 2 Access, page 52
Interface Speed and Duplex Configuration Guidelines
When configuring an interface speed and duplex mode, note these guidelines:
•
If both ends of the line support autonegotiation, Cisco highly recommends the default
autonegotiation settings.
•
If one interface supports autonegotiation and the other end does not, configure duplex and speed on
both interfaces; do not use the auto setting on the supported side.
•
Both ends of the line need to be configured to the same setting. For example, both hard-set or both
auto-negotiate. Mismatched settings are not supported.
Caution
Changing the interface speed and duplex mode configuration might shut down and reenable the interface
during the reconfiguration.
Command
Purpose
Step 1
Router(config)#
define interface-range
macro-name
{
vlan
vlan-id
-
vlan-id
} | {{
ethernet
|
fastethernet
}
slot/interface
-
interface
} [
,
{{
ethernet
|
fastethernet
}
slot/interface
-
interface
}]
Defines the interface-range macro and save it in NVRAM.