Specifications
2-20
Cisco MGX 8850 (PXM45) and MGX 8950 Software Configuration Guide
Release 3, Part Number 78-14788-01 Rev. C0, January 2004
Chapter 2 Configuring General Switch Features
Viewing and Setting the Switch Date and Time
Viewing and Setting the Switch Date and Time
The switch date and time is appended to event messages and logs. To assure that events are properly time
stamped, use the following procedure to view and change the date and time.
Step 1 Establish a configuration session using a user name with SUPER_GP privileges or higher.
Step 2 To view the current switch date and time, enter the following command after the switch prompt:
mgx8850a.7.PXM.a > dspdate
Step 3 To change the switch date, enter the following command:
mgx8850a.7.PXM.a > cnfdate <mm/dd/yyyy>
Step 4 To change the time zone, enter the following command:
mgx8850a.7.PXM.a > cnftmzn <timezone>
Replace <timezone> with one of the parameter values listed in Table 2-5. If your switch is located
outside the Western Hemisphere, select GMT and use the next step to specify an offset from GMT. If
your switch is located in the Western Hemisphere choose the appropriate option from Table 2-5.
Daylight times are adjusted by one hour in the fall and spring for daylight savings. Standard times are
not adjusted.
Step 5 To configure an offset from GMT, enter the following command:
mgx8850a.7.PXM.a > cnftmzngmt <timeoffsetGMT>
Replace <timeoffsetGMT> with the offset in hours from GMT. Enter a number from -12 to +12.
Step 6 To change the switch time, enter the following command:
mgx8850a.7.PXM.a > cnftime <hh:mm:ss>
Replace <hh> with the hour of the day (0 to 23), mm with the minute of the hour (0 to 59), and ss with
the number of seconds in the minute (0 to 59).
Step 7 To verify the new date and time settings, enter the dspdate command.
Table 2-5 Time Zones for cnftmzn Command
Parameter Value Time Zone
CDT Central Daylight Time
CST Central Standard Time
EDT Eastern Daylight Time
EST Eastern Standard Time
GMT Greenwich Mean Time
MDT Mountain Daylight Time
MST Mountain Standard Time
PDT Pacific Daylight Time
PST Pacific Standard Time