Assigning A Switch Name; Configuring Date, Time, And Time Zone - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 3
Configuring the Switch
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

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.
This guide refers to a switch in the Cisco Nexus 5000 Series switch as switch, and it uses the switch#
Note
prompt.
To change the name of the switch, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# switchname myswitch1
myswitch1(config)#
Step 3
myswitch1(config)# no switchname
switch(config)#

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:
Command
switch# clock set HH:MM:SS DD Month
YYYY
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
The clock command changes are saved across system resets.
Note
You can specify a time zone for the switch. To specify the local time without the daylight saving time
feature, perform this task:
OL-16597-01
Adjusting for Daylight Saving Time or Summer Time, page 3-14
Purpose
Enters configuration mode.
Changes the switch name prompt as specified
(myswitch1).
Reverts the switch name prompt to its default (switch#).
Purpose
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).
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Additional Switch Configuration
3-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents