desc
This command sets the description of the specified interface. This descriptive name can be used to associate the interface with other commands.
Syntax
desc <string>
|
Command |
Description |
|---|---|
|
string |
Specifies the interface description using an alphanumerical string (up to 255 characters). |
Default
NA
Note
| ■ | Use inverted commas when using the space character as part of the description. |
| ■ | The string is limited to 255 characters. |
Command Mode
Privileged User
Example
| ■ | This example sets the description on the Gigabit Ethernet interface to "MyGbE": |
#configure data (config-data)# interface gigabitethernet 0/0 (conf-if-GE 0/0)# desc MyGbE
| ■ | This example references the Gigabit Ethernet interface using its descriptive name "MyGbE": |
# show data interfaces desc MyGbE
or
(config-data)# interface desc MyGbE (conf-if-GE 0/0)#