Configuring an Interface Description
Context
To facilitate switch management and maintenance, you can configure interface descriptions. An interface description can contain:
- The switch where the interface is located
- The interface type
- The remote device
For example, a description of To-[DeviceB]GE-0/0/1 indicates that an interface of this switch is connected to GE0/0/1 of device B.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- (Optional)
To configure this function in a sub-interface view, run interface interface-type interface-number.subinterface-number
The Ethernet sub-interface view is displayed.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support Ethernet sub-interfaces.
- Only hybrid and trunk interfaces on the preceding switches support Ethernet sub-interface configuration.
After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.
After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.
- VLAN termination sub-interfaces cannot be created on a VCMP client.
- Run description description
A description is configured for the interface.
By default, an interface has no description.
The interface description is displayed from the first non-space character.