set port alias
Enterasys C3 Configuration Guide 11-9
Parameters
Defaults
If port-string is not specified, aliases for all ports will be displayed.
Mode
Switch command, read-only.
Example
This example shows how to display alias information for ports 1-3 on unit 3:
C3(rw)->show port alias ge.3.1-3
Port ge.3.1 user
Port ge.3.2 user
Port ge.3.3 Admin
set port alias
Use this command to assign an alias name to a port.
Syntax
set port alias port-string [name]
Parameters
Defaults
If name is not specified, the alias assigned to the port will be cleared.
Mode
Switch command, read-write.
Examples
This example shows how to assign the alias “Admin” to ge.3.3:
C3(rw)->set port alias ge.3.3 Admin
This example shows how to clear the alias for ge.3.3:
C3(rw)->set port alias ge.3.3
port-string (Optional) Displays alias name(s) for specific port(s). For a detailed
description of possible port-string values, refer to “Port String Syntax
Used in the CLI” on page 11-1.
port-string Specifies the port to which an alias will be assigned. For a detailed
description of possible port-string values, refer to “Port String Syntax
Used in the CLI” on page 11-1.
name (Optional) Assigns an alias name to the port. If the alias name contains
spaces, the text string must be surrounded by double quotes. Maximum
length is 60 characters.