Command Manual (For Soliton) – System Maintenance and Debugging
H3C S3100 Series Ethernet Switches
Chapter 1 Basic System
Configuration and Debugging
Commands
1-5
View
Views other than user view
Parameter
None
Description
Use the
return
command to return from current view to user view. The composite key
<Ctrl+Z> has the same effect with the
return
command.
Related command:
quit
.
Example
# Return from interface view to user view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] return
<Sysname>
1.1.6 sysname
Syntax
sysname
sysname
undo sysname
View
System view
Parameter
sysname
: System name of the Ethernet switch. It is a string of 1 to 30 characters. By
default, it is H3C.
Description
Use the
sysname
command to set the system name of an Ethernet switch. Use the
undo
sysname
command to restore the default system name of the Ethernet switch.
Changing the system name will affect the CLI prompt. For example, if the system name
of the switch is H3C, the prompt for user view is <H3C>.
Example
# Set the system name of the Ethernet switch to LANSwitch.