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 g1
Switch(config-if)# description userport
Switch(config-if)# exit
Switch(config)# interface g2
Switch(config-if)# description "uplink port"
This example shows how to display the port description on interfaces g1 and g2:
CODE
Switch# show interfaces g1-2 status
Port  Name         Status      Vlan  Duplex  Speed    Type
g1    userport     notconnect  1     auto    auto     Copper
g2    uplink port  notconnect  1     auto    auto     Copper