configure ports display-string

configure ports port_list display-string string

Description

Configures a user-defined string for a port or group of ports.

Syntax Description

port_list

Specifies one or more ports or slots and ports.

string

Specifies a user-defined display string.

Default

The null string is the default.

Usage Guidelines

The display string can be up to 15 characters. Display strings do not need to be unique for each port—you can assign the same string to multiple ports. For example, you could give all the ports that connected to a particular department a common display string.

The string is displayed in certain commands such as the show ports information command.

Note

Note

Do not use a port number as a display string. For example, do not assign the display string “2” to port2.

Example

The following command configures the user-defined string corporate for port 1 on a stand-alone switch:

configure ports 1 display-string corporate

The following command configures the user-defined string corporate for ports 3, 4, and 5 on slot 1 on a modular switch:

configure ports 1:3-5 display-string corporate

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.