2424 CHAPTER 162: BASIC CONFIGURATION COMMANDS
View System view
Parameter sysname: Name of the device, a string of 1 to 30 characters.
Description Use the sysname command to set the name of the device.
Use the undo sysname demand to restore the device name to the default.
The default name varies with devices by default.
Modifying device name affects the prompt of the CLI. For example, if the device
name is Sysname, the prompt of user view is <Sysname>.
Example # Set the name of the device to R2000.
<Sysname> system-view
[Sysname] sysname R2000
[R2000]
system-view
Syntax system-view
View User view
Parameter None
Description Use the system-view command to enter system view from the current user view.
Related command: quit, return.
Example # Enter system view from the current user view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]