NTP(Network Time Protocol)
Network

NTP(Network Time Protocol)

1. NTP(Network Time Protocol)

- ์žฅ๋น„์˜ ์‹œ๊ฐ„์„ ๋งž์ถœ ๋•Œ ์‚ฌ์šฉ

- NTP Server : ์‹œ๊ฐ„ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•˜๋Š” ์žฅ๋น„

- NTP Client : NTP Server๋กœ๋ถ€ํ„ฐ ์‹œ๊ฐ„ ์ •๋ณด๋ฅผ ๋ฐ›๋Š” ์žฅ๋น„

 

Configuring NTP

Configuring NTP

www.cisco.com

 

2. NTP Server/Client

- NTP Server

NTP Server์˜ stratum number๋Š” 1์ด๋ฉฐ ์žฅ๋น„๋ฅผ ๊ฑฐ์น˜๋ฉฐ +1์ด ๋จ(stratum number๊ฐ€ ๋†’์„์ˆ˜๋ก ์ •ํ™•ํ•œ ์‹œ๊ฐ„์ž„์„ ์˜๋ฏธ)

R1(config)#ntp master 1

# ๋งˆ์ง€๋ง‰ ์ˆซ์ž๋Š” stratum number

- NTP Client

R2(config)#ntp server 1.1.12.1 source f0/0
R2(config)#clock timezone KST 9

#source interface๊ฐ€ ์—†์œผ๋ฉด ๋ผ์šฐํŒ… ํ…Œ์ด๋ธ”์—์„œ ์ถœ๋ ฅ ์ธํ„ฐํŽ˜์ด์Šค์— ์„ค์ •๋œ IP๋กœ ์‚ฌ์šฉ

R2(config)#ntp server time.bora.net
R2(config)#clock timezone KST 9

#์™ธ๋ถ€ NTP Server ์„ค์ • ๊ฐ€๋Šฅ

R2#show clock

# ํ˜„์žฌ ์‹œ๊ฐ„ ํ™•์ธ ๊ฐ€๋Šฅ
# ์‹œ๊ฐ„ ์•ž์— *์ด ๋ถ™์–ด์žˆ์œผ๋ฉด ์„ค์ •๋˜์ง€ ์•Š์€ ์‹œ๊ฐ„
R2#show ntp associations

# ๋™๊ธฐํ™” ํ™•์ธ ๊ฐ€๋Šฅ
R2#show ntp status

# NTP ์ƒํƒœ ๊ตฌ์ฒด์  ํ™•์ธ ๊ฐ€๋Šฅ

 

3. NTP ๋ณด์•ˆ

- NTP Server์™€ ํ‚ค ๊ฐ’์ด ์ผ์น˜ํ•˜๋Š” NTP Client๋งŒ ์‹œ๊ฐ„์ด ๋™๊ธฐํ™”๋˜๋„๋ก ํ•˜๋Š” ๋ณด์•ˆ ์„ค์ •

R1(config)#ntp authentication-key 10 md5 passwordpassword #์ธ์ฆ ํ‚ค ๋ฒˆํ˜ธ, ์ธ์ฆ ๋ฐฉ์‹, ์•”ํ˜ธ ์ง€์ •
R1(config)#ntp trusted-key 10 #์ธ์ฆ ํ‚ค ์‚ฌ์šฉ ์„ ์–ธ
R1(config)#ntp authenticate

#์—ฌ๋Ÿฌ๊ฐœ ์„ค์ • ๊ฐ€๋Šฅ
R2(config)#ntp authentication-key 10 md5 passwordpassword #์ธ์ฆ ํ‚ค ๋ฒˆํ˜ธ, ์ธ์ฆ ๋ฐฉ์‹, ์•”ํ˜ธ ์ง€์ •
R2(config)#ntp trusted-key 10 #์ธ์ฆ ํ‚ค ์‚ฌ์šฉ ์„ ์–ธ
R2(config)#ntp authenticate
R2(config)#ntp server 1.1.12.1 key 10

'Network' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์žฅ๋น„ ์„ธํŒ… ๋ฐ ์ ‘์†  (0) 2021.05.19
EtherChannel  (1) 2021.05.17
FHRP(First Hot Routing Protocol, HSRP, VRRP, GLBP)  (0) 2021.05.09
VLAN(Virtual LAN)  (0) 2021.05.09
Cisco Systems CCNA(Cisco Certified Network Associate) ์ž๊ฒฉ์ฆ ์ทจ๋“  (1) 2021.05.05