#
System
#
URL
frinx-openconfig-system:ntp
#
OPENCONFIG YANG
{
"system": {
"ntp": {
"ntp-keys": {
"ntp-key" [
{
"key-id": <key_id>,
"state": {
"frinx-ciena-ntp-extension:key-type": "<key_type>",
"key-id": <key_id>
},
"config": {
"key-id": <key_id>
}
}
]
},
"servers": {
"server": [
{
"address": "<server_address>",
"state": {
"address": "<server_address>",
"frinx-ciena-ntp-extension:admin-state": "<admin_state>",
"frinx-ciena-ntp-extension:ip-address": "<server_ip_address>",
"frinx-ciena-ntp-extension:host-name": "<server_host_name>",
"frinx-ciena-ntp-extension:server": {
"offset": "<server_offset>",
"auth-state": "<server_auth_state>",
"condition": "<server_condition>",
"server-state": "<server_state>"
},
"frinx-ciena-ntp-extension:oper-state": "<server_oper_state>",
"frinx-ciena-ntp-extension:config-state": "<server_config_state>",
"frinx-ciena-ntp-extension:auth-key-id": "<server_auth_key_id>",
"frinx-ciena-ntp-extension:index": <server_index>,
"frinx-ciena-ntp-extension:stratum": <server_stratum>
},
"config": {
"address": "<server_address>"
}
}
]
}
}
}
}
#
OS Configuration Commands
#
Ciena SAOS 6
#
CLI
SAOS6> ntp client show keys +-- NTP AUTHENTICATION KEYS --+ | Key ID | Type | +--------------+--------------+ | <key_id> | <key_type> | +--------------+--------------+ SAOS6>ntp client show +------------------- NTP CLIENT STATE --------------------+ | Parameter | Value | +---------------------------+-----------------------------+ | | | +---------------------------+-----------------------------+ +---------------------------------------------------- NTP SERVER CONFIGURATION ----------------------------------------------------+ | | | Auth | Config |Admin|Oper |Server| Server |Auth | Offset | | IP Address | Host Name | Key ID | State |State|State|State |Condition|State| (ms) | +-----------------------------------------+----------------------+---------+-----------+-----+-----+------+---------+-----+--------+ |<server_address> | | | | | | | | | | +-----------------------------------------+----------------------+---------+-----------+-----+-----+------+---------+-----+--------+ +-- NTP AUTHENTICATION KEYS --+ | Key ID | Type | +--------------+--------------+ | | | +--------------+--------------+ +-------------------------- NTP MULTICAST ADDRESSES ---------------------------+ | | +------------------------------------------------------------------------------+ SAOS6>ntp client show server <server_address> +-------------------------- NTP SERVER CONFIGURATION --------------------------+ | Parameter | Value | +-------------+----------------------------------------------------------------+ | Host Name | <server_host_name> | | IP Address | <server_ip_address> | | Admin State | <admin_state> | | Oper State | <server_oper_state> | | Auth Key ID | <server_auth_key_id> | | Config State| <server_config_state> | | Server State| <server_state> | | Condition | <server_condition> | | Auth State | <server_auth_state> | | Offset (ms)| <server_offset> | +-------------+----------------------------------------------------------------+
#
Unit
Link to GitHub : saos6-unit
#
Ciena SAOS 8
#
CLI
SAOS8>ntp client show keys +- NTP AUTHENTICATION KEYS -+ | Key ID | Type | +-------------+-------------+ | <key_id> | <key_type> | +-------------+-------------+ SAOS8>ntp client show +------------------------- NTP CLIENT STATE -------------------------+ | Parameter | Value | +------------------------+-------------------------------------------+ | | | +------------------------+-------------------------------------------+ +---------------------------------------------------- NTP SERVER CONFIGURATION ----------------------------------------------------+ | | | Auth | Config |Admin|Oper |Server| Server |Auth | Offset | | IP Address | Host Name |Key ID| State |State|State|State | Cond |State| (ms) | +-----------------------------------------+----------------------+------+-----------+-----+-----+------+--------+-----+------------+ |<server_address> | | | | | | | | | | +-----------------------------------------+----------------------+------+-----------+-----+-----+------+--------+-----+------------+ +- NTP AUTHENTICATION KEYS -+ | Key ID | Type | +-------------+-------------+ | | | +-------------+-------------+ +-------------------------- NTP MULTICAST ADDRESSES ---------------------------+ | | +------------------------------------------------------------------------------+ SAOS8>ntp client show server <server_address> +----------------------- NTP CLIENT SERVER CONFIGURATION ----------------------+ | Parameter | Value | +-------------+----------------------------------------------------------------+ | Index | <server_index> | | Host Name | <server_host_name> | | IP Address | <server_ip_address> | | Admin State | <admin_state> | | Oper State | <server_oper_state> | | Auth Key ID | <server_auth_key_id> | | Config State| <server_config_state> | | Server State| <server_state> | | Condition | <server_condition> | | Auth State | <server_auth_state> | | Offset (ms)| <server_offset> | | Stratum | <server_stratum> | +-------------+----------------------------------------------------------------+
#
Unit
Link to GitHub : saos8-unit