/system/ntp/client/servers
servers
NTP servers of the client. Static entries are added here or with servers in /system/ntp/client; entries learned from DHCP (when the DHCP client has use-peer-ntp=yes) are dynamic. See the NTP guide.
system/ntp/client/servers
Type: Directory
客户端的 NTP 服务器。静态条目在此处添加,或通过 /system/ntp/client 中的 servers 添加;从 DHCP 学到的条目(当 DHCP 客户端设置 use-peer-ntp=yes 时)是动态的。请参阅 NTP 指南。
| 标志 | 名称 | 描述 |
|---|---|---|
X | disabled | 条目已禁用。 |
D | dynamic | 从 DHCP 学到的动态条目。动态条目无法编辑。 |
| 参数 | 类型 | 描述 |
|---|---|---|
address * | address (flags=46D) | NTP 服务器的 IP 地址或域名。IPv4 和 IPv6 地址可以带有 @vrf 后缀,链路本地 IPv6 地址可以带有 %interface 后缀。域名使用 /ip/dns 解析;结果显示在 resolved-address 中。 |
min-poll | num | 向此服务器查询的最短间隔,以 2 的幂(秒)表示(6 表示每 64 秒)。必须小于 max-poll。范围:3..17。默认值:6。 |
max-poll | num | 向此服务器查询的最长间隔,以 2 的幂(秒)表示(10 表示每 1024 秒)。范围:3..17。默认值:10。 |
iburst | bool | 启用后,客户端会在添加服务器后立即发送一组约一秒间隔的查询,以快速获得初始估计。默认值:yes。 |
auth-key | enum (none) { none:0 } | 用于验证此服务器回复的 /system/ntp/key 密钥。未通过验证的回复会被拒绝(crypto NAK),客户端不会同步。默认值:none。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
resolved-address | address (flags=46) | address 中的域名解析到的 IP 地址。 |