10-18
Catalyst 3560 Switch Software Configuration Guide
78-16156-01
Chapter 10 Configuring Interface Characteristics
Configuring Ethernet Interfaces
This example shows how to enable automatic PoE on a port and the response from the show power inline
command for the interface when a Cisco IEEE-compliant IP Phone is being supplied with power:
Switch# configure terminal
Switch(config)# interface fastethernet0/1
Switch(config-if)# power inline auto
Switch(config-if)# end
Switch# show power inline fastethernet0/1
Interface Admin Oper Power Device Class
(Watts)
---------- ----- ---------- ------- ------------------- -----------
Fa0/1 auto on 6.3 Cisco IP Phone 7960 Class 2
Adding a Description for an Interface
You can add a description about an interface to help you remember its function. The description appears
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 description:
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
Gi0/2 admin down down Connects to Marketing
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Enter interface configuration mode, and enter the interface for which
you are adding a description.
Step 3
description string Add a description (up to 240 characters) for an interface.
Step 4
end Return to privileged EXEC mode.
Step 5
show interfaces interface-id description
or
show running-config
Verify your entry.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.