标签:pre 交换机 配置 one ntp服务 code turned net ica
一,图例<HW_4F_L2_SW_01>sys
[HW_4F_L2_SW_01]clock timezone BJ add 8
[HW_4F_L2_SW_01]ntp-service unicast-server 192.168.7.254
[HW_4F_L2_SW_01]dis clock
2019-05-09 16:10:11+08:00
二,验证
[HW_4F_L2_SW_01]inter g0/0/16
[HW_4F_L2_SW_01-GigabitEthernet0/0/16]shutdown
[HW_4F_L2_SW_01-GigabitEthernet0/0/16]undo shutdown
[HW_4F_L2_SW_01-GigabitEthernet0/0/16]dis logbuffer
May 9 2019 16:17:35+08:00 HW_4F_L2_SW_01 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthernet0/0/16 has turned into UP state.
May 9 2019 16:17:25+08:00 HW_4F_L2_SW_01 %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEthernet0/0/16 has turned into DOWN state.
三,自己作为NTP服务器
[HW_4F_L2_SW_01]clock timezone BJ add 8
[HW_4F_L2_SW_01]ntp-service refclock-master 2
#设置时区,并配置ntp服务
自己作为客户端向上游时间服务器同步时间同时自己又是下游客户端时间服务器扮演二个角色
标签:pre 交换机 配置 one ntp服务 code turned net ica
原文地址:https://blog.51cto.com/zhangchengjie/2391796