yongyong_001 发表于 2009-09-14 22:10

Brocade 48000安装与配置(七)


14日期和时间设置
设置日期和时间
1)   连接到导向器,然后使用admin角色用户登录。
2)   使用以下语法,输入date命令:
date "mmddHHMMyy"
参数值解释如下:
• mm is the month; valid values are 01 through 12.
• dd is the date; valid values are 01 through 31.
• HH is the hour; valid values are 00 through 23.
• MM is minutes; valid values are 00 through 59.
• yy is the year, valid values are 00-37 and 70-99 (year values from 70-99 are interpreted as 1970-1999, year values from 00-37 are interpreted as 2000-2037).
switch:admin> date
Fri Sep 29 17:01:48 UTC 2007
Stealth200E:admin> date "0204101008"
Mon Feb4 10:10:00 UTC 2008
设置时区
1)   连接到导向器,然后使用admin角色用户登录。
2)   输入tsTimeZone命令如下:
switch:admin> tstimezone [--interactive]/ [, timezone_fmt]
• 使用不带参数的tsTimeZone命令显示当前的时区设置。
• 使用参数–interactive列出firmware支持的所有时区。
• 使用参数timeZone_fmt设置时区,通过指定Country/City或time zone ID,如PST。
下面的例子展示了如何显示当前时区的设置和如何改变时区到US/Central.
switch:admin> tstimezone
Time Zone : US/Pacific
switch:admin> tstimezone US/Central
switch:admin> tstimezone
Time Zone : US/Central
下面的过程描述了如何使用交互模式设置当前时区到Pacific Standard Time.
交互模式设置时区
1)   输入tsTimeZone命令如下:
switch:admin> tstimezone --interactive
提示选择一个常用地点。
Please identify a location so that time zone rules can be set correctly.
2)   输入合适的number或Ctrl-D退出。
3)   在提示处,选择一个country location。
4)   在提示处,输入合适的number去指定时区的区域或Ctrl-D退出
更详细设置请参阅《Fabric OS Administrator’s Guide》。



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2128/showart_2052442.html
页: [1]
查看完整版本: Brocade 48000安装与配置(七)