9-19
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter9 Configuring Interface Cha rac teristics Configuring Ethernet Interfaces
This example shows how to enable auto-MDIX on a p ort:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no shutdown
Switch(config-if)# speed auto
Switch(config-if)# duplex auto
Switch(config-if)# mdix auto
Switch(config-if)# end
Adding a Description for an Interface
You can add a description about an interface to help you re member its f unctio n. The desc ription ap pears
in the output of these privileged EXEC commands: show configuration, show running-config, and
show interfaces.
Beginning in privileged EXEC mode, follow these steps to add a description for an interface:
Use the no description interface configuration command to delete the description.
This example shows how to add a description on a port and how to verify the de scrip tio n:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# description Connects to Marketing
Switch(config-if)# end
Switch# show interfaces gigabitethernet0/2 description
Interface Status Protocol Description
Gi 0/2 admin down down Connects to Marketing
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface for which you are a dding a d escri p tion , an d ente r
interface configuration mode.
Step3 description string Add a description (up to 240 characters) for an interface.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id description
or
show running-config
Verify your entry.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.