McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)
40
Setting the date and time
The switch date and time can be set explicitly using the Date command or can be set automatically
through a Network Time Protocol (NTP) server. The Date command also displays the current time. Unlike
the Date command, the NTP server also synchronizes the date and time on the switch with the date and
time on the workstation. Synchronized date and time is required for Secure Socket Layer (SSL) connections.
To use an NTP server, you must enable the NTP client on the switch and specify an IP address for the NTP
server.
NOTE: To set the date with the Date command, the NTP client must be disabled.
Enter the Date command to display the date and time as show in the following example:
McDATA4GbSAN #> date
Mon Apr 07 07:51:24 200x
Enter the Date command in an Admin session to set the date and time as shown in the following example:
McDATA4GbSAN #> admin start
McDATA4GbSAN (admin) #> date 013110152025
McDATA4GbSAN (admin) #> date
Fri Jan 31 10:15:03 UTC 2025
See the ”Date command” on page 106.
To configure the switch to use an NTP server, enter the Set Setup System command to enable the NTP
client and to specify the NTP server IP address.
McDATA4GbSAN #> admin start
McDATA4GbSAN (admin) #> set setup system
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
EthNetworkDiscovery (1=Static, 2=Bootp, 3=Dhcp, 4=Rarp) [Static ]
EthNetworkAddress (dot-notated IP Address) [10.0.0.1 ]
EthNetworkMask (dot-notated IP Address) [255.255.255.0]
EthGatewayAddress (dot-notated IP Address) [10.0.0.254 ]
AdminTimeout (dec value 0-1440 minutes, 0=never) [30 ]
InactivityTimeout (dec value 0-1440 minutes, 0=never) [0 ]
LocalLogEnabled (True / False) [True ]
RemoteLogEnabled (True / False) [False ]
RemoteLogHostAddress (dot-notated IP Address) [10.0.0.254 ]
NTPClientEnabled (True / False) [False ] True
NTPServerAddress (dot-notated IP Address) [10.0.0.254 ] 10.2.3.4
EmbeddedGUIEnabled (True / False) [True ]
Do you want to save and activate this services setup? (y/n): [n] y
System setup saved and activated.
See the ”Set Setup System command” on page 169.