Cisco 7604 Configuration Manual page 129

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 9
Configuring Interfaces
With releases earlier than Release 12.2(18)SXD, for VLAN interfaces, the interface range
command supports only those VLAN interfaces for which Layer 2 VLANs have been created with
the interface vlan command (the show running-configuration command displays the configured
VLAN interfaces). The interface range command does not support VLAN interfaces that are not
displayed by the show running-configuration command.
With Release 12.2(18)SXD and later releases, the interface range command supports VLAN
interfaces for which Layer 2 VLANs have not been created with the interface vlan command.
The link state messages (LINK-3-UPDOWN and LINEPROTO-5-UPDOWN) are disabled by default.
Note
Enter the logging event link status command on each interface where you want the messages enabled.
This example shows how to reenable all Fast Ethernet ports 5/1 to 5/5:
Router(config)# interface range fastethernet 5/1 - 5
Router(config-if)# no shutdown
Router(config-if)#
*Oct
*Oct
*Oct
*Oct
*Oct
*Oct
5, changed state to up
*Oct
3, changed state to up
*Oct
4, changed state to up
Router(config-if)#
This example shows how to use a comma to add different interface type strings to the range to reenable
all Fast Ethernet ports in the range 5/1 to 5/5 and both Gigabit Ethernet ports (1/1 and 1/2):
Router(config-if)# interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2
Router(config-if)# no shutdown
Router(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
Router(config-if)#
If you enter multiple configuration commands while you are in interface-range configuration mode, each
command is executed as it is entered (they are not batched together and executed after you exit
interface-range configuration mode).
If you exit interface-range configuration mode while the commands are being executed, some commands
may not be executed on all interfaces in the range. Wait until the command prompt reappears before
exiting interface-range configuration mode.
OL-4266-08
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/
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Configuring a Range of Interfaces
9-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents