如果NTP服务端同时配置了命令ntp-service server server-source和ntp-service source-interface,则优先使用ntp-service server server-source命令配置的接口作为提供NTP服务的源接口。 使用实例 # 指定NTP报文的本地源接口为VLANIF100。 <HUAWEI> system-view [HUAWEI] ntp-service source-interface vlanif 100翻译...
[DeviceB]ntp server source-interface10ge1/0/1 #DeviceB指定DeviceA为NTP服务器,并使用已配置的验证密钥。 [DeviceB]ntp unicast-server 2.2.2.2 authentication-keyid 42 #在DeviceB上开启NTP服务器功能。 [DeviceB]undontpserver disable 在DeviceC启动验证功能并指定NTP服务器。
1.1.12 ntp-service multicast-server 1.1.13 ntp-service refclock-master 1.1.14 ntp-service reliable authentication-keyid 1.1.15 ntp-service source-interface 1.1.16 ntp-service unicast-peer 1.1.17 ntp-service unicast-server 1 NTP 1.1 NTP配置命令 1.1.1 display ntp-service sessions 【命令】 displa...
ntp server source-interface all enable 华三有这条命令吗?interface-type:接口类型,loopback、物理口...
· ntp-service unicast-server命令中的ip-address是一个单播地址,不能为广播地址、组播地址或本地时钟的IP地址。 · 通过source-interface参数指定NTP报文的源接口后,NTP报文的源IP地址将被设置为指定接口的主IP地址。 · 服务器端只有当其时钟被同步后,才能作为时间服务器去同步其他设备。当服务器端的时钟层数大于...
R2(config)# ntp server 1.1.1.1 这将告诉R2去同步来自1.1.1.1的时间。 指定NTP源为Loopback0接口: 代码语言:txt AI代码解释 R2(config)# ntp source loopback 0 如果可以访问互联网,你也可以使用公共NTP服务器: 代码语言:txt AI代码解释 R2(config)# ntp server 202.112.10.36 source FastEthernet0/0 ...
ntp-service unicast-server命令用来为设备指定NTP服务器。 undo ntp-service unicast-server命令用来取消为设备指定的NTP服务器。 【命令】 ntp-service unicast-server { server-name | ip-address } [ vpn-instance vpn-instance-name ] [ authentication-keyid keyid | priority | source interface-type interfac...
driftfile用来指定记录本机与上层NTP server之间的频率误差。单位是百万分之一秒。 5 6 # Permit time synchronization with our time source, but do not 7 # permit the source to query or modify the service on this system. 8 restrict default nomodify notrap nopeer noquery...
Nexus_7000(config)#ntp server 129.6.15.28 prefer Nexus_7000(config)#ntp server 129.6.15.29 !--- Configure the source interface for all NTP packets. Nexus_7000(config)#ntp source-interface vlan1 !--- Configure the device as an authoritative NTP server. Nexus_7000(config)#ntp master 1 Nexus...
上面是一个debug的输出,从中看到了自server的数据包显示为stratum 0,代表服务器没有同步,既然上游服务器没有同步,本地服务器就更不能同步了。 交换机未设置时间前显示的日志: #sh log 4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up ...