Send feedback to nx5000-docfeedback@cisco.com
1-13
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1      Configuring the Switch
Additional Switch Configuration
Additional Switch Configuration
This section includes the following topics:
• Assigning a Switch Name, page 1-13
• Configuring Date, Time, and Time Zone, page 1-13
• Adjusting for Daylight Saving Time or Summer Time, page 1-14
Assigning a Switch Name
Each switch in the network requires a unique name. You can assign names to easily identify the switch 
by its physical location, its network association, or the organization to which it is deployed. The assigned 
name is displayed in the command-line prompt. The switch name is limited to 20 alphanumeric 
characters. 
Note This guide refers to a switch in the Cisco Nexus 5000 Series switch as switch, and it uses the switch# 
prompt.
To change the name of the switch, perform this task:
Configuring Date, Time, and Time Zone
The Cisco Nexus 5000 Series switches use Universal Coordinated Time (UTC), which is the same as 
Greenwich Mean Time (GMT). To change the default time on the switch, perform this task:
The following example sets the time for the switch:
switch# clock set 15:58:09 29 February 2008 
Mon Feb 20 15:58:09 UTC 2008
Note The clock command changes are saved across system resets.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# switchname myswitch1
myswitch1(config)# 
Changes the switch name prompt as specified 
(myswitch1).
Step 3
myswitch1(config)# no switchname
switch(config)#
Reverts the switch name prompt to its default (switch#).
Command Purpose
switch# clock set HH:MM:SS DD Month 
YYYY 
Sets the default time on the switch. HH represents hours 
in 24-hour time (15 for 3 P.M.), MM is minutes (58), SS 
is seconds (09), DD is the date (29), Month is the month 
in words (February), and YYYY is the year (2008).