Cisco Catalyst 3550 series Software Configuration Manual page 247

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 10
Configuring Interface Characteristics
When using the interface range global configuration command, note these guidelines:
Valid entries for port-range:
You must add a space between the interface numbers and the hyphen when using the
interface range command. For example, the command interface range fastethernet 0/1 - 5 is a
valid range; the command interface range fastethernet 0/1-5 is not a valid range.
The interface range command works only 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 in a range must be the same type; that is, all Fast Ethernet ports, all Gigabit Ethernet
ports, all EtherChannel ports, or all SVIs.
This example shows how to use the interface range global configuration command to enable Fast
Ethernet interfaces 0/1 to 0/5:
Switch# configure terminal
Switch(config)# interface range fastethernet0/1 - 5
Switch(config-if-range)# no shutdown
Switch(config-if-range)#
*Oct
*Oct
*Oct
*Oct
*Oct
*Oct
changed state to up
*Oct
state to up
*Oct
state to up
This example shows how to use a comma to add different interface type strings to the range to enable all
Fast Ethernet interfaces in the range 0/1 to 0/3 and Gigabit Ethernet interfaces 0/1 and 0/2:
Switch# configure terminal
Switch(config)# interface range fastethernet0/1 - 3, gigabitethernet0/1 - 2
Switch(config-if-range)# no shutdown
Switch(config-if-range)#
*Oct
*Oct
*Oct
*Oct
*Oct
*Oct
changed state to up
*Oct
changed state to up
*Oct
changed state to up
78-11194-09
vlan vlan-ID - vlan-ID, where VLAN ID is from 1 to 4094
fastethernet slot/{first port} - {last port}, where slot is 0
gigabitethernet slot/{first port} - {last port}, where slot is 0
port-channel port-channel-number - port-channel-number, where port-channel-number is
from 1 to 64
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/4, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/05,
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/ 1,
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 2,
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 3,
Catalyst 3550 Multilayer Switch Software Configuration Guide
Using the Interface Command
10-9

Advertisement

Table of Contents
loading

Table of Contents