1、ntp-service authentication enable 开启NTP身份验证功能 2、ntp-service source-interfer LoopBack0 指定本机发生NTP的端口 loopBack0是端口号 3、ntp-service access peer 2098 指定本地时钟也可同步到时钟服务器,2098是一个权限值 4、ntp-service authentication-keyid 1 authentication-mode md5 cnnc 其中1是...
ntp-service authentication-keyid命令用来设置NTP认证密钥。 undo ntp-service authentication-keyid命令用来取消NTP认证密钥。 缺省情况下,没有配置验证密钥。 命令格式 ntp-service authentication-keyid key-id authentication-mode { md5 | hmac-sha256 } [ cipher ] password undo ntp-service authentication-keyid...
#将MD5的验证密钥设置为“admin123”。 [Huawei]ntp-service authentication enable[Huawei]ntp-service authentication-keyid 1 authentication-mode md5 cipher admin123[Huawei]ntp-service reliable authentication-keyid 1[Huawei]display current-configuration filter ntp# ntp ntp-service authentication enable ntp-ser...
admin(config)# ntp serve IP/HOSTNAME key 1 ? <cr> Carriage return. admin(config)# ntp serve IP/HOSTNAME key 1 路由器上的配置 路由器充當NTP伺服器。配置這些命令,使路由器成為具有NTP身份驗證的NTP伺服器。 ntp authentication-key 1 md5 Ntp123 >>> The same key that you configured on ISE ...
步骤1:配置NTP身份验证密钥。 admin(config)# ntp authentication-key ? <1-65535> Key number >>> This is the Key ID admin(config)# ntp authentication-key 1 ? >>> Here you can choose the HMAC value md5 MD5 authentication sha1 SHA1 authentication ...
R2(config)#ntp authentication-key 1 md5 cisco //设置密码 R2(config)#ntp trusted-key 1 //选择认证的密码 R2(config)#ntp server 1.1.1.1 key 1 //应用到对应的时钟源 (6)修改R1的clock以触发时钟同步,以便进 一步验证同步是否正确 R1#clock set 1:1:1 1 jul 2006 ...
ntp authentication-key 1 md5 cisco ntp trusted-key 1 ntp authenticate 保存并退出配置:输入end命令退出全局配置模式,并输入write或者copy running-config startup-config命令保存配置,使其在设备重新启动后仍然有效。 配置完成后,设备将会从配置的NTP服务器上同步时间。可以使用show ntp status命令来查看NTP服务器的...
·目前设备只支持MD5的密钥验证算法。 ·每台设备可以配置的最大密钥个数为1024。 ·如果NTP验证密钥被指定为可信密钥,删除密钥后,该密钥将自动变为不可信密钥,不必再执行undo ntp-service reliable authentication-keyid命令。 相关配置可参考命令ntp-service reliable authentication-keyid。
(1) 进入系统视图。 system-view (2) 开启NTP身份验证功能。 ntp-service authentication enable 缺省情况下,NTP身份验证功能处于关闭状态。 (3) 配置NTP身份验证密钥。 ntp-service authentication-keyid keyid authentication-mode md5 { cipher | simple } string [ acl ipv4-acl-number | ipv6 acl ipv6-acl...
——ntp authentication-key: 该全局命令用于定义N T P身份验证的键值。 ——ntp broadcast: 是一个接口命令,用于指定一特定接口来发送N T P广播包。 ——ntp broadcast client: 是一个接口命令,使路由器通过特定接口来接收N T P广播包。 ——ntp broadcast delay: 是一个全局命令,它用于设定数据包在路由器...