Cisco产品时钟设置
1、查看當(dāng)前時間
?? #show clock detail
?? *17:12:00.410 CST Tue Mar 9 1993
?? Time source is NTP
?? 說明:CST 表示China Standard Time UTC+8:00 中國沿海時間(北京時間)
2、調(diào)整時間
?? #clock set? hh:mm:ss? <1-31>? MONTH? <1993-2035>
?? 其中:<1-31> : Day ofthe month
???????? <1993-2035> :Year
?? 例:#clock set 08:50:00 29 May 2013
3、時區(qū)設(shè)置
?? (confg)#clock timezone? WORD? <-23 - 23>
?? 其中:WORD: name of time zone
??????? <-23 - 23>:? Hours offset from UTC
?? 屬于配置,需要write
?? 例:(config)#clock timezone CST 8
4、調(diào)整log等顯示時間
?? service timestamps logdatetime msec? localtime show-timezone
?? 調(diào)整好后,以后查看日志的時間就比較方便了。
?? 調(diào)整前,1w5d: %SYS-5-CONFIG_I: Configured from console byvty0
?? 調(diào)整后,Apr 23 16:26:31.037Beijing: %SYS-5-CONFIG_I: Configured from console byvty0
總結(jié)
以上是生活随笔為你收集整理的Cisco产品时钟设置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 教你5分钟做成一个ASP论坛
- 下一篇: 考试驾照驾校软件自己测试软件