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]*)))))?$
조치 방법
조치 방식: 가이드 또는 인프라 패치
! 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