description

This topic explains the commands that set or clear a descriptive name for a port.

Syntax

CODE
description word
no description

Parameter

word: A port description with a length from 1 to 64 characters. If the description includes a space character, place the entire string in double quotes.

Default

No default value.

Mode

Interface Configuration

Usage

Use the description command to set a port description so that you can identify it easily.

Use the no description command to reset the description to a blank string.

Example

This example shows how to set a port description:
CODE
Switch(config)# interface 1/0/1
Switch(config-if)# description userport
Switch(config-if)# exit
Switch(config)# interface 1/0/2
Switch(config-if)# description "uplink port"

: This example shows how to display the port description on interfaces 1/0/1 and 1/0/2:
CODE
Switch# show interfaces 1/0/1-1/0/2 status
Port     Name         Status      Vlan  Duplex  Speed    Type
1/0/1    userport     notconnect  1     auto    auto     Copper
1/0/2    uplink port  notconnect  1     auto    auto     Copper