12-39
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
OL-26520-01
Chapter 12 Configuring Interface Characteristics
Configuring Ethernet Interfaces
The show power inline dynamic-priority command shows the power priority of each port:
Switch# show power inline dynamic-priority
Dynamic Port Priority
-----------------------
Port OperState Priority
--------- --------- --------
Fa0/1 off High
Fa0/2 off High
Fa0/3 off High
Fa0/4 off High
Fa0/5 off High
Fa0/6 off High
Fa0/7 off High
Fa0/8 off High
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 gigabitethernet1/0/2
Switch(config-if)# description Connects to Marketing
Switch(config-if)# end
Switch# show interfaces gigabitethernet1/0/2 description
Interface Status .Protocol Description
Gi1/0/2 admin down down Connects to Marketing
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface for which you are adding a description, and enter
interface configuration mode.
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.