Add an Interface Description to the Configuration
You can include a text description of each physical interface in the configuration file. Any descriptive text you include is displayed in the output of the
show interfacescommands, and is also exposed in theifAliasMIB object. It has no impact on the interface's configuration. To add a text description, include thedescriptionstatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]descriptiontext;The description can be a single line of text. If the text contains spaces, enclose it in quotation marks.
For information about describing logical units, see Add a Logical Unit Description to the Configuration.
Example: Add an Interface Description to the Configuration
Add a description to a SONET interface:
[edit interfaces so-1/1/0]user@host#setdescription"BB: phl01 P12/0/0 - local wire"[edit interfaces so-1/1/0]user@host#commit[edit interfaces so-1/1/0]user@host#exit configuration-modecli>show interfaces so-1/1/0so-1/1/0 {physical-interface index 9 snmp-ifindex 10;enabled physical-link up;description "BB: phl01 P12/0/0 - local wire";encapsulation cisco-hdlc;...