system name

This topic explains the command that sets the system name of the switch, which also appears in the CLI prompt.

Syntax

system name name

Parameter

name: Specify the system name string. The name parameter can represent any combination of printable characters and a space except for a question mark (?), single quote ('), and double quote (").

Default

The default name is the switch model name.

Mode

Global Configuration

Usage

Use this command to modify the system name of the switch. The system name is also used as the CLI prompt.

Example

This example shows how to modify the system name:

CODE
Switch(config)# system name myname
myname(config)#

This example shows how to display the system name information:

CODE
myname# show info
System Name      : myname
System Location  : 
System Contact   : 
MAC Address      : 00:01:02:03:04:05
IP Address       : 192.168.0.239
Subnet Mask      : 255.255.255.0
Hardware Version : 2
Loader Version   : 1.0.0.1
Loader Date      : 2017-12-28 09:35:22 UTC
Firmware Version : 6.0.9.2
Firmware Date    : Oct 29 2021 - 14:16:17
System Object ID : 1.3.6.1.4.1.4526.100.4.48
System Up Time   : 0 days, 0 hours, 2 mins, 37 secs