華為路由器時間同步 華為NTP配置例項

2021-10-17 02:10:17 字數 1167 閱讀 5782

一、網路裝置作為ntp伺服器配置。

1、配置ntp主時鐘

ntp-service refclock-master 2

2.開啟ntp認證

ntp-service authentication enable

3、配置ntp時鐘源本地介面,可以不配置。

ntp-service source-inte***ce loopback0

4、配置ntp伺服器服務認證密碼

ntp-service authentication-keyid 1 authentication-mode md5 cipher admin

5、配置可信秘鑰號

ntp-service reliable authentication-keyid 1

6、開啟ntp伺服器功能

undo ntp-service disable

二、網路裝置作為ntp客戶端配置。

1.開啟ntp認證

ntp-service authentication enable

2、配置ntp服務認證密碼

ntp-service authentication-keyid 1 authentication-mode md5 cipher admin

3、配置秘鑰號

ntp-service reliable authentication-keyid 1

4、配置ntp伺服器位址

ntp-service unicast-server 192.168.1.1

三、檢視ntp各種狀態

1、檢視本地裝置的ntp會話資訊。

display ntp-service sessions

2、檢視本地裝置ntp會話的詳細資訊

display ntp-service sessions verbose

3、檢視從本地裝置到參考時鐘源的路徑

display ntp-service trace

4、檢視ntp報文的統計資訊

display ntp-service statistics packet

5、檢視最新的10條時鐘不同步原因

display ntp-service event clock-unsync

檢視最新的10條時鐘不同步原因

注意:h3c的裝置要手動指定clock protocol ntp,否則不會同步

華為策略路由加等價路由 華為路由器配置路由策略

如圖1所示,某公司的部門a和部門b相距較遠,router 1和router 6分別作為這兩個部門的出口裝置,as 100內部使用ospf作為igp。現要求 通過部署bgp,使部門a和部門b可以通訊。通過配置路由策略,將router 2 router 3 router 4鏈路作為主鏈路,負責 rout...

華為路由器介面如何區分 華為路由器介面介紹

e1 f和t1 f介面 e1 f和t1 f介面是指部分 fractional 化e1 t1介面,它們分別是ce1 pri和ct1 pri介面的簡化版本。在e1 t1接入應用中,如果不需要劃分出多個通道組 channel group 或不需要isdn pri功能,使用ce1 pri或ct1 pri介面...

華為路由器DHCP中繼

按照老師的例子搭了乙個簡單的拓撲,包括乙個終端,兩個路由器,如圖 路由器ar2 g1埠 位址 192.168.2.2 子網掩碼 255.255.255.0 可以看出路由器的兩個埠分別是兩個網路 路由器ar4 作為dhcp伺服器 dhcp伺服器原來就是乙個路由器,原來還以為是一台很大的主機。這個拓撲圖...