Cisco Catalyst 4500 series Administration Manual page 387

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 8
Configuring Interfaces
The interface range command works only with VLAN interfaces that have been configured with the
Note
interface vlan command (the show running-configuration command displays the configured VLAN
interfaces). VLAN interfaces that are not displayed by the show running-configuration command
cannot be used with the interface range command.
This example shows how to reenable all Fast Ethernet interfaces 5/1 to 5/5:
Switch(config)# interface range fastethernet 5/1 - 5
Switch(config-if-range)# no shutdown
Switch(config-if-range)#
*Oct
*Oct
*Oct
*Oct
*Oct
*Oct
5, changed state to up
*Oct
3, changed state to up
*Oct
4, changed state to up
Switch(config-if)#
This example shows how to use a comma to add different interface type strings to the range to reenable
all Fast Ethernet interfaces ranging from 5/1 to 5/5 and both Gigabit Ethernet interfaces 1/1 and 1/2:
Switch(config-if)# interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2
Switch(config-if)# no shutdown
Switch(config-if)#
*Oct
*Oct
*Oct
*Oct
*Oct
*Oct
up
*Oct
up
*Oct
5, changed state to up
*Oct
3, changed state to up
*Oct
4, changed state to up
Switch(config-if)#
If you enter multiple configuration commands while in interface-range configuration mode, each
Note
command is run as it is entered (they are not batched together and run after you exit interface-range
configuration mode). If you exit interface-range configuration mode while the commands are being run,
some commands might not be run on all interfaces in the range. Wait until the command prompt is
displayed before exiting interface-range configuration mode.
OL-30933-01
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up
6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up
6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/1, changed state to
6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/2, changed state to
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Configuring a Range of Interfaces
8-5

Advertisement

Table of Contents
loading

Table of Contents