NTP Feature
Configure NTP servers and authentication if required.
Diagram
Classes
system_profiles (sdwan.feature_profiles)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ntp | Class | [ntp] | No |
ntp (sdwan.feature_profiles.system_profiles)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[^&<>! "]{1,128}$ | No | |
description | String | No | ||
authentication_keys | List | [authentication_keys] | No | |
authoritative_ntp_server | Boolean | true , false | No | |
authoritative_ntp_server_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
authoritative_ntp_server_source_interface | String | Regex: ^(GigabitEthernet|Loopback|TenGigabitEthernet|TwoGigabitEthernet|FortyGigabitEthernet|HundredGigE|Vlan)(([1-9]\d|\d)/){0,2}(0|[1-9]\d*)([:|\.][1-9]\d*)? | No | |
authoritative_ntp_server_source_interface_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
authoritative_ntp_server_stratum | Integer | min: 1 , max: 15 | No | |
authoritative_ntp_server_stratum_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
servers | List | [servers] | No | |
trusted_keys | List | Integer[min: 1 , max: 65535 ] | No | |
trusted_keys_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
authentication_keys (sdwan.feature_profiles.system_profiles.ntp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 1 , max: 65535 | No | |
id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
md5_value | String | min: 1 | No | |
md5_value_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
servers (sdwan.feature_profiles.system_profiles.ntp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
authentication_key | Integer | min: 1 , max: 65535 | No | |
authentication_key_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
hostname_ip | IP | No | ||
hostname_ip_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
prefer | Boolean | true , false | No | |
prefer_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
source_interface | String | Regex: ^(GigabitEthernet|Loopback|TenGigabitEthernet|TwoGigabitEthernet|FortyGigabitEthernet|HundredGigE|Vlan)(([1-9]\d|\d)/){0,2}(0|[1-9]\d*)([:|\.][1-9]\d*)? | No | |
source_interface_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
ntp_version | Integer | min: 0 , max: 4 | No | |
ntp_version_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No | |
vpn_id | Integer | min: 0 , max: 65530 | No | |
vpn_id_variable | String | Regex: ^[./\[\]a-zA-Z0-9_-]{1,64}$ | No |
Examples
sdwan:
feature_profiles:
system_profiles:
- name: system1
description: this is test system profile
ntp:
name: ntp
description: "Base NTP template; no auth key; no ntp master"
servers:
- hostname_ip: 172.16.0.11
prefer: true
source_interface_variable: ntp_server_source_interface
vpn_id: 0
- hostname_ip: time-pnp.cisco.com
prefer: false
source_interface: GigabitEthernet0/0/0
vpn_id: 0