NTP in OcNOS
https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/Sysman_Cmds/NTP_Commands.html
https://docs.ipinfusion.com/service-provider/index.html#page/OcNOS-SP/Sysman_Config/SNTPConfig.html
show clock | |
---|---|
RR3PLAB#show clock 10:01:56 CEST Mon Jul 15 2024 | |
NTP Config | |
feature ntp vrf management ntp enable vrf management | |
ntp-servers 172.16.10.2 | ntp server pl.pool.ntp.org vrf management or ntp server 172.16.10.2 vrf management |
show ntp commands | |
show ntp peers | |
•show ntp authentication-keys •show ntp authentication-status •show ntp logging-status •show ntp peer-status •show ntp peers •show ntp statistics •show ntp trusted-keys | |
ntp peer R3#show ntp peers ----------------------------------------------------------- Peer IP Address Serv/Peer ----------------------------------------------------------- 172.16.10.2 Server (configured) | |
ntp peer-status R3#show ntp peer-status Total peers : 1 * - selected for sync, + - peer mode(active), - - peer mode(passive), = - polled in client mode, x - source false ticker remote refid st t when poll reach delay offset jitter ============================================================================== *172.16.10.2 194.146.251.101 2 u 13 16 377 10.574 152.339 57.320 | |
ntp stats local and memotry R3#show ntp statistics local time since restart: 399 time since reset: 399 packets received: 35 packets processed: 26 current version: 26 previous version: 0 declined: 0 access denied: 0 bad length or format: 0 bad authentication: 0 rate exceeded: 0 R3#show ntp statistics memory time since reset: 403 total peer memory: 8 free peer memory: 7 calls to findpeer: 26 new peer allocations: 0 peer demobilizations: 0 hash table counts: 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 R3# | |
ntp io R3#show ntp statistics io local memory peer R3#show ntp statistics io time since reset: 265 receive buffers: 10 free receive buffers: 9 used receive buffers: 0 low water refills: 1 dropped packets: 0 ignored packets: 0 received packets: 24 packets sent: 25 packets not sent: 0 interrupts handled: 289 received by int: 24 |