R1(config)# ntp source loopback 0 这会确保NTP报文使用Loopback0接口的IP地址。 配置客户端(R2): 进入配置模式: 代码语言:txt AI代码解释 R2# configure terminal 配置Loopback0接口并设置IP地址: 代码语言:txt AI代码解释 R2(config)# interface Loopback0 R2(config-if)# ip address 2.2.2.2 255.255.255...
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是...
Core-Switch-1(config)#ntp source loopback 0#指定发送NTP服务的源接口,一般指定为交 换机的回环接口loopback 0,此项可以不用设定,默认即可。 Core-Switch-1# clock set 13:51:00 Sep 7 2011#手动设置交换机日期时间 或通过NTP服务器时间同步: Core-Switch-1#ntp server 192.168.0.254 key 8888 #注:8888...
00-前言 01-接口批量配置 02-以太网接口配置 03-LoopBack接口、NULL接口和InLoopBack接口配置 04-二层技术-以太网交换配置指导 00-前言 01-MAC地址表配置 02-以太网链路聚合配置 03-DRNI配置 04-端口隔离配置 05-VLAN配置 06-MVRP配置 07-QinQ配置 08-VLAN映射配置 09-环路检测配置 10-生成树配置 11-LL...
ntp-service source-interface loopback0 ntp-service authentication-keyid 1 authentication-mode md5 simple admin ntp-service reliable authentication-keyid 1 undo ntp-service disable 华为交换机作为客户端配置如下: ntp-service authentication enable
00-前言 01-接口批量配置命令 02-以太网接口命令 03-LoopBack接口、NULL接口和InLoopBack接口命令 04-二层技术-以太网交换命令参考 00-前言 01-MAC地址表命令 02-以太网链路聚合命令 03-DRNI命令 04-端口隔离命令 05-VLAN命令 06-MVRP命令 07-QinQ命令 08-VLAN映射命令 09-环路检测命令 10-生成树命令 11...
ntp source Loopback0 ntp server 10.10.10.1 key 1 配置方法: // router 7206 conf t ntp source FastEthernet0/1 //指定更新源地址,覆盖ntp server中的配置 ntp update-calendar //设备如带有硬件时钟,同时更新硬件时钟 ntp server 202.155.248.218 source FastEthernet0/1 //指定更新目的地址,香港,并指定更...
restrict 192.168.112.0 mask 255.255.255.0 nomodify# 设置容许访问该ntp服务器的网络地址段restrict 192.168.57.0 mask 255.255.255.0 nomodify# Permit all access over the loopback interface. This could# be tightened as well, but to do so would effect some of# the administrative functions.# Use public...
4、ailsh ntp stash ntp asssh ntp ass detail-配置命令ntp authentication-key 1 md5 xxntp source Loopback0ntp server key 1配置方法:/ router 7206conf tntp source FastEthernet0/1 /指定更新源地址,覆盖 ntp server 中的配置ntp update-calendar /股备如带有硬件时钟,同时更新硬件时钟ntp server 18 sourc...
ntp source Loopback0 ntp update-calendar ntp server 10.100.100.1 This is the NTP configuration on the switch with NTP authentication enabled: #ntp set ntp client enable # #Enables NTP authenticationset ntp authentication enable ##The key string for NTP authentication key 10 is "ticktock" ...