
Configuring the Cisco Gigabit EtherSwitch EHWIC
Configuration Examples for Gigabit EtherSwitch EHWICs
79
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
• Storm-Control: Example, page 86
• Ethernet Switching: Examples, page 86
Range of Interface: Examples
This section provides the following configuration examples:
• Single Range Configuration: Example, page 79
• Range Macro Definition: Example, page 79
Single Range Configuration: Example
The following example shows all Gigabit Ethernet interfaces on an HWIC-4ESW in slot 1 being
reenabled:
Router(config)#int range gigabitethernet 0/1/0 - 3
Router(config-if-range)#no shut
Router(config-if-range)#
*Mar 21 14:01:21.474: %LINK-3-UPDOWN: Interface GigabitEthernet0/1/0, changed state to up
*Mar 21 14:01:21.490: %LINK-3-UPDOWN: Interface GigabitEthernet0/1/1, changed state to up
*Mar 21 14:01:21.502: %LINK-3-UPDOWN: Interface GigabitEthernet0/1/2, changed state to up
*Mar 21 14:01:21.518: %LINK-3-UPDOWN: Interface GigabitEthernet0/1/3, changed state to up
Router(config-if-range)#
Range Macro Definition: Example
The following example shows an interface-range macro named enet_list being defined to select
interfaces 0/1/0 through 0/1/3:
Router(config)#define interface-range enet_list gigabitethernet 0/1/0 - 0/1/3
Router(config)#
The following example shows how to change to the interface-range configuration mode using the
interface-range macro enet_list:
Router(config)#interface range macro enet_list
Optional Interface Feature: Examples
• Interface Speed: Example, page 79
• Setting the Interface Duplex Mode: Example, page 80
• Adding a Description for an Interface: Example, page 80
Interface Speed: Example
The following example shows the interface speed being set to 100 Mbps on GigabitEthernet interface
0/3/7:
Router(config)#interface gigabitethernet 0/3/7
Router(config-if)#speed 100
Comentarios a estos manuales