hostname:configuration services ntp> authkey hostname:configuration services ntp authkey>
hostname:configuration services ntp authkey> create hostname:configuration services ntp authkey-000 (uncommitted)> get keyno = (unset) type = (unset) key = (unset) hostname:configuration services ntp authkey-000 (uncommitted)> set keyno=1 keyno = 1 (uncommitted) hostname:configuration services ntp authkey-000 (uncommitted)> set type=A type = A (uncommitted) hostname:configuration services ntp authkey-000 (uncommitted)> set key=coconuts key = (set) (uncommitted) hostname:configuration services ntp authkey-000 (uncommitted)> commit hostname:configuration services ntp authkey>
서버가 인증을 사용하지 않으면 해당 서버 키를 0으로 설정해야 합니다. 예를 들어, 다음과 같이 위에서 만든 키를 사용하여 서버 "server1" 및 "server2"를 인증합니다.
hostname:configuration services ntp> set servers=server1,server2 servers = server1,server2 (uncommitted) hostname:configuration services ntp> set serverkeys=1,1 serverkeys = 1,1 (uncommitted) hostname:configuration services ntp> commit hostname:configuration services ntp>
서버가 인증을 사용하지 않으면 해당 서버 키를 0으로 설정해야 합니다. 예를 들어, 위에서 만든 키를 사용하여 서버 "server1" 및 "server2"를 인증합니다.
hostname:configuration services ntp> set servers=server1,server2 servers = server1,server2 (uncommitted) hostname:configuration services ntp> set serverkeys=1,1 serverkeys = 1,1 (uncommitted) hostname:configuration services ntp> commit hostname:configuration services ntp>
hostname:configuration services ntp> set servers=server1,server2,server3 servers = server1,server2,server3 (uncommitted) hostname:configuration services ntp> set serverkeys=1,2,3 serverkeys = 1,2,3 (uncommitted) hostname:configuration services ntp> commit hostname:configuration services ntp>
hostname:configuration services ntp> set servers=server1,server2,server3 servers = server1,server2,server3 (uncommitted) hostname:configuration services ntp> set serverkeys=1,1,0 serverkeys = 1,1,0 (uncommitted) hostname:configuration services ntp> commit hostname:configuration services ntp>