The port description command configures description about the device type connected to an interface.
The undo port description command restores the default setting.
By default, no description about the device type connected to an interface is configured.
Parameter |
Description |
Value |
---|---|---|
router |
Indicates that the interface is connected to a router. |
- |
switch |
Indicates that the interface is connected to a switch. |
- |
phone |
Indicates that the interface is connected to an IP phone. |
- |
desktop |
Indicates that the interface is connected to a desktop terminal, such as a PC. |
- |
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view
Usage Scenario
You can run this command to configure description about the device type connected to an interface to facilitate device management and maintenance. For example, you can run port description router command to indicate that the interface is connected to a router.
Precautions
After you configure this command on an interface, the interface can still switch between Layer 2 and Layer 3 modes.