TMAegisベータ
cisco-iosxr のその他のルール

Cisco IOS XR

TMA-CISCO-IOSXR-2.2.1.4

Set 'key' for each 'ntp server'

中レベル 2自動cisco-iosxr

説明

Specifies the authentication key for NTP. This authentication feature provides protection against accidentally synchronizing the ntp system to another system that is not trusted, because the other system must know the correct authentication key. CIS marks this Manual; automated: fails if any NTP server has no 'key <id>'. Audited against the hierarchical output of 'show running-config' (run 'terminal length 0' first; not 'show running-config formal').

チェック方法

監査方法: 設定パターン

パターン
(?m)^ntp[^\n]*\n(?:[ \t][^\n]*\n)*?[ \t]+server (?:(?:[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \t\n][^ \t\n]*))))[ \t]+)*(?:(?:[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \t\n][^ \t\n]*)))))?$

修正方法

修正方法: ガイダンスまたは IaC パッチ

! Configure each NTP Server to use a key ring using the following command. ntp server {ntp-server_ip_address} key {ntp_key_id}

プロパティ

オペレーティングシステム
すべて
タグ
cisco-iosxrnetworkntp
参照
CIS Cisco IOS XR 7.x Benchmark v1.0.1 - 2.2.1.4 Set 'key' for each 'ntp server'

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target cisco-iosxr --level 2