set port name

Last Updated : Nov 06, 2012 |

Configuresa name for a port. If you do not specify a name, the port name displays as NO NAME.

Syntax

set port name module/port [name]

Parameter

Parameter

Description

Possible Values

Default Value

module

Number of the module

port

Number of the port on the module. You can also specify a range of ports separated by a dash. For example:10/35-6 for both ETH LAN ports on the front panel.

name

The port name

maximum 16-character string

User level

read-write

Context

general

Example

To set the name of port 6/5 to arthur:

Gxxx-001# set port name 6/5 arthur
Port 6/5 name set.
Note:

If using spaces, enclose the entire string in quotation marks (for example, New York).