Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
This guide refers to a switch in the Cisco Nexus 5000 Series switch as switch , and it uses the switch#
prompt.
Note
To change the name of the switch, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Changes the switch name prompt to the specified
name. The no command reverts the switch name
prompt to its default.
switch(config)# [no] switchname name
Step 2
This example shows how to change the name of a switch and change it back:
switch# configure terminal
switch(config)# switchname myswitch1
myswitch1(config)#
...
myswitch1(config)# no switchname
switch(config)#
Configuring Date and Time
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:
Procedure
PurposeCommand or Action
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
switch# clock set HH:MM:SS DD
Month YYYY
Step 1
(09), DD is the date (29), Month is the month in words
(February), and YYYY is the year (2008).
The following example sets the time for the switch:
switch# clock set 15:58:09 29 June 2009
Mon Jun 20 15:58:09 UTC 2009
The clock command changes are saved across system resets.Note
Configuring Time Zone
The Cisco Nexus 5000 Series switches use Universal Coordinated Time (UTC), which is the same as Greenwich
Mean Time (GMT). You can specify a time zone for the switch. To specify the local time without the daylight
saving time feature, perform this task:
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 41
Configuring the Switch
Configuring Date and Time