华三华为 思科 时间同步配置

10 篇文章 1 订阅
8 篇文章 1 订阅

**

末尾有惊喜

**
华三
1.设置时区:
clock timezone BeiJing add 08:00:00
2.在<>模式下设置时间和日期
clock datetime hh:mm:ss (MM/DD/YYYY or YYYY/MM/DD)
3.设置ntp服务器地址:
ntp-service unicast-server 192.168.1.1
4.查看状态
display ntp-service status
clock status: synchronized
时间状态: 已同步
5.设置时间源:
ntp-service refclock-master ?
INTEGER<1-15> Stratum level of the local clock
X.X.X.X IP address of the local clock

5.1.创建时钟层数
5.2.加ip 本地时钟的ip地址
5.3.直接回车 会出现127段ip 本地时钟地址
6.查看当前时间:
display clock
7.查看ntp信息
display ntp-service
event NTP event(ntp事件)
sessions NTP session information(ntp会话信息)
statistics NTP statistical information(ntp 统计信息)
status NTP status and configuration information(ntp状态和配置信息)
trace NTP time synchronization trace information(ntp 时间同步跟踪信息)

华为
1.设置时区:
clock timezone BeiJing add 08:00:00
2.在<>模式下设置时间和日期
clock datetime hh:mm:ss YYYY-MM-DD
3.设置ntp服务器地址:
ntp-service unicast-server 192.168.1.1
4.查看状态
display ntp-service status
clock status: synchronized
时间状态: 已同步
5.设置时间源:
ntp-service refclock-master ?
INTEGER<1-15> Stratum level of the local clock
X.X.X.X IP address of the local clock

1.创建时钟层数
2.加ip 本地时钟的ip地址
3.直接回车 会出现127段ip 本地时钟地址
查看当前时间:
display clock
查看ntp信息
display ntp-service
event NTP event(ntp事件)
sessions NTP session information(ntp会话信息)
statistics NTP statistical information(ntp 统计信息)
status NTP status and configuration information(ntp状态和配置信息)
trace NTP time synchronization trace information(ntp 时间同步跟踪信息)

思科
1.在#模式下设置时间和日期
设置时区:
clock timezone BeiJing 8
2.设置时间:
clock set hh:mm:ss 22 Jun 2021
//将时间设置为2021年6月22日hh:mm:ss Jun是6月的英文缩写
3.配置ntp服务器地址
ntp server 192.168.1.1
4.查看时间:
show clock
5.查看当前硬件时钟为:
show calendar
6.将硬件时钟和当前clock同步
clock update-calendar

7.设置为第一服务器
ntp master 1
学习累了吧 看下美女
在这里插入图片描述

在这里插入图片描述

  • 5
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值