首页 > 代码库 > cisco设备时间配置

cisco设备时间配置

Core-Switch-1#show clock

Core-Switch-1#show ntp status

Core-Switch-1#conf t

Core-Switch-1(config)# clock timezone GMT +8

Core-Switch-1(config)#service timestamps debug datetime msec localtime show-timezone

Core-Switch-1(config)#service timestamps log datetime msec localtime show-timezone

Core-Switch-1(config)#exit

Core-Switch-1# clock set 13:51:00 Sep 7 2011(手动配置)

或通过NTP服务器时间同步:

Core-Switch-1#ntp server 202.112.31.197 

Core-Switch-1#wr

Core-Switch-1#show logging


cisco设备时间配置