134
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter D Commands
description (interface)
description (interface)
To add a description to an interface configuration, use the description command. To remove the
description, use the no form of this command.
description description
no description
Syntax Description
Command Default No description is added.
Command Modes Interface configuration mode
Subinterface configuration mode
Virtual Ethernet interface configuration
Command History
Usage Guidelines The description command is meant to provide a reminder in the configuration to describe what certain
interfaces are used for. The description appears in the output of the following commands such as show
interface and show running-config.
You can use this command on the following interfaces:
• Ethernet interface
• Management interface
• Subinterfaces
• Virtual Ethernet interface
Examples This example shows how to add a description for an interface:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# description "10G Server Link"
switch(config-if)#
This example shows how to add a description for a virtual Ethernet interface:
switch# configure terminal
switch(config)# interface vethernet 1
switch(config-if)# description "Virtual interface"
switch(config-if)#
description String description of the interface configuration. This string is limited to 80
characters.
Release Modification
5.2(1)N1(1) This command was introduced.