Configuring an Interface Description
Problem
You want to include a description of an interface in the configuration.
Solution
Use the following command to configure a description of the interface:
[edit interfaces fe-0/0/0] aviva@router1# set interfaces fe-0/0/0 description "to router2 fe-0/0/0"
Discussion
It's often convenient to include a short description of the interface to make a note of any administrative information that is useful to you or your staff, such as the remote interface. This recipe sets a description of the interface that describes the remote router and interface that is at the other end of this link.
The configured interface description script shows up in the show interfaces command output:
aviva@router1> show interfaces fe-0/0/0 Physical interface: fe-0/0/0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 79 Description: to router2 fe-0/0/0 Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps 16384 …
You can use the show interfaces descriptions command to list the descriptions for all interfaces:
aviva@router1> show interfaces descriptions Interface Admin Link Description fe-0/0/0 up up to router2 fe-0/0/0 fe-0/0/1 up up to router2 fe-0/0/1 fe-0/0/2 up up to router2 fe-0/0/2