cisco的时钟设定(clock ntp timezone)
来源:互联网 发布:慈溪顺通网络怎么样 编辑:程序博客网 时间:2024/05/21 08:45
From:http://blog.sina.com.cn/s/blog_6151984a0100f6xo.html
system clock
system calendar
system clock是基于软件的
system calendar是基于硬件的calendar不受开关机和重起的影响
通常他只被设一次
Manually Setting the Software Clock
clock set hh:mm:ss date month year
时 :分: 秒 日 月 年
Month 必须是字母,不能是数字
Set the Calendar from the Clock or NTP
clock update-calendar
Set the Calendar from the Clock
ntp update-calendar
Set the Calendar from NTP
用NTP周期性更新system calendar
Set the system clock from the system calendar
clock read-calendar
这语句使clock重读system calendar
通常是系统重起的时候,system clock读system calendar
进行clock inital.
Setting the Router as a Network Time Source
clock calendar-valid
make the system calendar be authoritative
Enables the router to act as a valid time source to which network peers can synchronize
ntp master
clock calendar-valid通常和ntp master一起使用
当用ROUTER做NTP master,而他又不与其他外部TIME SOURCE同步时,就表示他采用的时钟是ROUTER自己的 system calendar,这就要求他必须要authoritative
clock timezone
clock timezone zone hours-offset [...(minutes-offset)]
时区描述符, 时偏移, 分偏移
中国时区:beijing时间是GMT+8区
GMT时区设置:GMT为格林尼治标准时间,用户可以根据自己所在时区设置GMT时区
clock timezone GMT 8
北京时间
NTP同步,可以采用三种方法:
- ntp server 10.1.1.1 [version ...] [key ...] [source ...(interface)] [prefer]
- ntp peer 10.1.1.1 [normal-sync][version ...] [key ...] [source ...(interface)] [prefer]
- ntp broadcast/ntp broadcast client
ntp server是单向同步
ntp server时,router是client mode 对端必须是ntp master
ntp server 10.1.1.1
ntp master
ntp broadcast
int eth 0
ntp broadcast (send)
!
ntp server 10.9.0.1 prefer
int eth 0
ntp broadcast client (receive)
ntp broadcast 的server端,必须还有正常的NTP配置(NTP SERVER/NTP PEER)
ntp source
ntp master
ntp source loopback 0
ntp source loopback 0
It can be syncronize only if there is path between routers.
NTP同步经验
- ntp 同步绝对不要等超过三分钟,超过肯定有问题
- ntp同步不要怀疑ntp server地址,能ping通即可
- ntp source interface ...,配不配都与同步无关
ntp authentication 三步(别忘了trust-key)
ntp clientntp masterntp server 7.7.3.3 source lo0 key 1
ntp authenticate
ntp authentication-key 1 md5 cisco
ntp trust-key 1
ntp master 2
ntp source lo0
ntp authenticate
ntp authentication-key 1 md5 cisco
ntp trust-key 1
ntp认证三大配置缺一不可,不能因为ntp server ... key 1 就不配ntp trust-key 1
prefer
(config)#ntp server 3.3.3.3 ?
prefer Prefer this peer when possible 配多个ntp server时,取最优先的
0
上一篇:squid无法启动,解决一例。
下一篇:NTP 时间同步协议配置
相关热门文章
- TP-LINK 740N 的WDS中继接法...
- WDS连接路由网络
- CENTOS 6.2 全新安装无线网卡...
- 双无线路由器二次路由配置...
- Busybox下tftp命令使用详解...
- IBM DS3400 盘阵怎么查看是单...
- 启动auditd时,报错如下,怎么...
- CGSL系统中root密码正确,但无...
- 在CGSL系统中,如何为不同的用...
- CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~
评论热议
0 0
- cisco的时钟设定(clock ntp timezone)
- cisco的时钟设定(clock ntp timezone)
- CISCO NTP和时钟
- CISCO NTP服务的配置
- S3C2440的时钟设定
- Synchronize a Cisco router's clock with Network Time Protocol (NTP)
- NTP 服务器的安装与设定
- s5pv210 clock的时钟的发生过程
- NTP网络时钟协议的实现
- ntp时钟同步的建立过程
- Cisco IOS Cookbook 中文精简版 14-23 NTP和时钟
- Sample cisco NTP Configurations
- cisco NTP 故障
- 计算机NTP时钟同步(NTP服务器-NTP时间服务器)的重要性及其配置方法
- Clock Domains--时钟域
- s5pv210------clock时钟管理
- 时钟——clock
- SharePoint Silverlight Clock 时钟
- 域用户权限|安装软件
- MSA2000配置参考文档
- 几种系统下查看FC HBA卡信息的方法
- squid无法启动,解决一例。
- android Menu 选项菜单示例
- cisco的时钟设定(clock ntp timezone)
- NTP 时间同步协议配置
- ExtMail 1.1.1 批量增加用户
- CISCO NAT 配置
- 菜鸟必读:CISCO NAT 配置学习经典
- 系统管理员应该怎样高效的书写文档
- Oracle Client R12R2 安装检查失败解决
- 关于Oracle的安装、卸载、配置
- RedHat Enterprice Linux 5.4 下安装Oracle 10g
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
洪吉童
洪吉童的后裔 演员
洪吉童之重出江湖
洪吉童结局
洪吉童传
洪君彦
章含之 洪君彦
洪均生
洪堡
洪堡大学
洪堡创办了什么大学
洪天峰
洪天明图片
洪天明的老婆
洪天照
洪天照图片
洪太尉
洪太尉误走妖魔
洪学敏
洪学敏现状
洪学智
洪学智简历
洪学智子女
洪学智夫人
洪学智儿子
洪学智孩子
洪安通
洪安通袁承志
洪玄公
剑灵洪玄公的书信
洪宗玄女友
洪宣娇
洪宣娇剥皮全文
太平天国洪宣娇受刑
洪家拳
洪家楼
洪家楼教堂
洪家楼房价
济南洪家楼
洪家楼小学
济南洪家楼教堂