NTP
Diagram
Classes
configuration (iosxe.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ntp | Class | [ntp] | No |
ntp (iosxe.devices.configuration)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
authenticate | Boolean | true , false | No | |
logging | Boolean | true , false | No | |
access_group_peer_acl | String | No | ||
access_group_query_only_acl | String | No | ||
access_group_serve_acl | String | No | ||
access_group_serve_only_acl | String | No | ||
authentication_keys | List | [authentication_keys] | No | |
clock_period | Integer | min: 0 , max: 4294967295 | No | |
delete_mode | Choice | all , attributes | No | |
master | Boolean | true , false | No | |
master_stratum | Integer | min: 1 , max: 15 | No | |
passive | Boolean | true , false | No | |
update_calendar | Boolean | true , false | No | |
trap_source_interface_type | Choice | Loopback , Vlan , GigabitEthernet , TenGigabitEthernet , FortyGigabitEthernet , HundredGigabitEthernet , PortChannel | No | |
trap_source_interface_id | String | No | ||
servers | List | [servers] | No | |
peers | List | [peers] | No |
authentication_keys (iosxe.devices.configuration.ntp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
number | Integer | min: 1 , max: 4294967295 | Yes | |
trusted | Boolean | true , false | No | |
mode | Choice | md5 , cmac_aes_128 , hmac_sha1 , hmac_sha2_256 , sha1 , sha2 | No | |
key | String | No | ||
encryption_type | Integer | min: 0 , max: 4294967295 | No |
servers (iosxe.devices.configuration.ntp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | Yes | ||
vrf | String | No | ||
source_interface_type | Choice | Loopback , Vlan , GigabitEthernet , TenGigabitEthernet , FortyGigabitEthernet , HundredGigabitEthernet , PortChannel , PortChannelSubinterface | No | |
source_interface_id | String | No | ||
key | Integer | min: 1 , max: 4294967295 | No | |
prefer | Boolean | true , false | No | |
version | Integer | min: 1 , max: 4 | No |
peers (iosxe.devices.configuration.ntp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | Yes | ||
vrf | String | No | ||
source_interface_type | Choice | Loopback , Vlan , GigabitEthernet , TenGigabitEthernet , FortyGigabitEthernet , HundredGigabitEthernet , PortChannel | No | |
source_interface_id | String | No | ||
key | Integer | min: 1 , max: 4294967295 | No | |
prefer | Boolean | true , false | No | |
version | Integer | min: 1 , max: 4 | No |
Examples
iosxe: devices: - name: Device1 configuration: ntp: authenticate: true logging: false access_group_peer_acl: SACL1 access_group_query_only_acl: SACL1 access_group_serve_acl: SACL1 access_group_serve_only_acl: SACL1 authentication_keys: - number: 1 trusted: true md5: 060506324F41584B564347 encryption_type: 7 - number: 2 sha1: ef7e6e511c5d0dfba849b2a8c71b62dd2968806f encryption_type: 8 - number: 3 trusted: true cmac_aes_128: 875d5d2b5d5d5dd75d5dd95d5d415d5d encryption_type: 8 - number: 4 hmac_sha1: 4f65bcec7ee0e9bfaa6e2ff52021fa45865943f4 encryption_type: 8 - number: 5 hmac_sha2_256: 64f45ee02fdf0f7434d1e598726030af74b5f4c087be5b21e8b4b6b9eae440f4 encryption_type: 8 - number: 6 sha2: 223e83031067fc6822052fda7bd146d39b27387dbaafbac3730b4e6e encryption_type: 8 clock_period: 1 master: true master_stratum: 5 passive: false update_calendar: false trap_source: 1/0/1.322 servers: - ip: 1.2.3.4 source: Loopback1 key: 1 prefer: true version: 2 - ip: 1.2.3.5 vrf: SERVER_VRF_1 source: Loopback1 key: 1 prefer: true version: 2 peers: - ip: 5.2.3.4 source: Loopback2 key: 1 prefer: true version: 2 - ip: 5.2.3.1 source: Loopback2 vrf: PEER_VRF_1 key: 1 prefer: true version: 2