15-21
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 15 Configuring Interface Characteristics
Configuration Examples for Configuring Interface Characteristics
This example shows how to enter interface-range configuration mode for the interface-range
macro enet_list:
Switch# configure terminal
Switch(config)# interface range macro enet_list
Switch(config-if-range)#
This example shows how to delete the interface-range macro enet_list and to verify that it was deleted.
Switch# configure terminal
Switch(config)# no define interface-range enet_list
Switch(config)# end
Switch# show run | include define
Switch#
Setting Speed and Duplex Parameters: Example
This example shows how to set the interface speed to 10 Mb/s and the duplex mode to half on a
10/100 Mb/s port:
Switch# configure terminal
Switch(config)# interface fasttethernet1/3
Switch(config-if)# speed 10
Switch(config-if)# duplex half
This example shows how to set the interface speed to 100 Mb/s on a 10/100/1000 Mb/s port:
Switch# configure terminal
Switch(config)# interface gigabitethernet1/2
Switch(config-if)# speed 100
Enabling auto-MDIX: Example
This example shows how to enable auto-MDIX on a p ort:
Switch# configure terminal
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# speed auto
Switch(config-if)# duplex auto
Switch(config-if)# mdix auto
Switch(config-if)# end
Adding a Description on a Port: Example
This example shows how to add a description on a port and how to verify the de scription:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet1/2
Switch(config-if)# description Connects to Marketing
Switch(config-if)# end
Switch# show interfaces gigabitethernet1/2 description
Interface Status Protocol Description
Gi1/2 admin down down Connects to Marketing