DLINK交换机:
config sntp primary x.x.x.x //配置时间服务器
enable sntp //开启ntp服务
show sntp //查看ntp状态
show time //查看交换机时间
config time_zone operator + hour 8 min 0 //设置时间偏移为8小时。
H3C交换机:
ntp-service enable
ntp-service unicast-server XXXX source-interface Vlan-interfaceXXX
clock timezone 1 add 08:00:00