12-15
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 12 Configuring Interface Characteristics
Using Interface Configuration Mode
When using the
interface range
global configuration command, note these guidelines:
•
Valid entries for
port-range
:
–
vlan
vlan-ID
-
vlan-ID
, where the VLAN ID is 1 to 4094
–
gigabitethernet
module/{first
port
} - {
last port
} (for Catalyst 3560-E switches), where the
module is always 0
–
gigabitethernet
stack member/module/{first
port
} - {
last port
} (for Catalyst 3750-E switches),
where the module is always 0
tengigabitethernet
module/{
first port
} - {
last port
} (for Catalyst 3560-E switches), where the
module is always 0
–
tengigabitethernet
stack member/module/{
first port
} - {
last port} (for
Catalyst 3750-E
switches), where the module is always 0
–
gigabitethernet
stack member/module/{first
port
} - {
last port
}, where the module is always 0
–
tengigabitethernet
stack member/module/{
first port
} - {
last port
}, where the module is
always 0
–
port-channel
port-channel-number
-
port-channel-number
, where the
port-channel-number
is 1 to 48
Note
When you use the
interface range
command with port channels, the first and last
port-channel number must be active port channels.
•
You must add a space between the first interface number and the hyphen when using the
interface range
command. For example, the command
interface range gigabitethernet1/0/1 - 4
is
a valid range; the command
interface range gigabitethernet1/0/1-4
is not a valid range.
•
The
interface range
command only works with VLAN interfaces that have been configured with
the
interface vlan
command. The
show running-config
privileged EXEC command displays the
configured VLAN interfaces. VLAN interfaces not displayed by the
show running-config
command cannot be used with the
interface range
command.
•
All interfaces defined in a range must be the same type (all Gigabit Ethernet ports, all 10-Gigabit
Ethernet ports, all EtherChannel ports, or all VLANs), but you can enter multiple ranges in a
command.
This example shows how to use the
interface range
global configuration command to set the speed to
100 Mb/s on ports 1 to 4 on switch 1:
Switch#
configure terminal
Switch(config)#
interface range gigabitethernet1/0/1 - 4
Switch(config-if-range)#
speed 100
Step 3
Use the normal configuration commands to apply the configuration
parameters to all interfaces in the range. Each command is executed
as it is entered.
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
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...