Cisco 7609 Configuration Manual page 87

Cisco ios software configuration guide—12.1e
Hide thumbs Also See for 7609:
Table of Contents

Advertisement

Chapter 6
Configuring Interfaces
For information about macros, see the
page
6-6.
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)#
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 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)#
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.
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.
78-14064-04
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/
"Defining and Using Interface-Range Macros" section on
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring a Range of Interfaces
6-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents