Switch 7700 Command reference Guide, v2.0

Table Of Contents
System Status and System Information Display Commands 445
Parameter
sysname: Specify the hostname with a character string with the length ranging
from1 to 30 characters.
Description
Using the sysname command, you can set the hostname of Ethernet Switch.
By default, the hostname of Ethernet Switch is SW7700.
Changing the hostname name of Ethernet Switch will affect the prompt of
command line interface. E.g. the host name of Ethernet Switch is SW7700, and
the prompt in user view is <SW7700>.
Example
Set the hostname of the Ethernet Switch to be LANSwitch.
[SW7700]sysname LANSwitch
[LANSwitch]
System Status and
System Information
Display Commands
This sections describes the system status and system information display
commands on your Switch 7700.
display clock Syntax
display clock
View
All views
Parameter
None
Description
Using the display clock command, subscribers can obtain information about
system data and time from the terminal display..
For the related commands, see clock.
Example
View the current system date and clock.
<SW7700>display clock
15:50:45 UTC Mon 2001/2/12
display
current-configuration
Syntax
display current-configuration
View
All views