NtpClientConfig Object


Description:

Ntp client configuration.

Parents: EmulatedDevice

Result children (automatically created): NtpClientResults, NtpClientSessionResults

Relations:

Side name
(Type)
Relative Description
ViewControlPlaneMplsBindingResult
(ControlPlaneBindingResult)

ViewControlPlaneMplsBindingResult

ConvergenceConfig
(PrimaryPathProtocolConfig)

ConvergenceConfig, ConvergenceConfig

ResultChild
(ResultChild)

NtpClientResults, NtpClientSessionResults

Use this to connect a results object to an object.

TimeComparisonPair
(TimeComparisonPairSrcProtocol)

TsnProtocolsTimeComparisonPair, TsnProtocolsTimeComparisonPair

UsesIf
(UsesIf)

Aal5If, EthIIIf, FcIf, GreIf, GroupIf, HdlcIf, Ipv4If, Ipv6If, Ipv6SrhIf, ItagIf, L2tpv2If, L2tpv3If, LispIf, MacsecIf, MplsIf, PppIf, PppoeIf, TrillIf, VbrasIf, VlanIf, VxlanGpeIf, VxlanIf

Specifies the interfaces used by the configuration object (configuration object examples: BgpRouterConfig, LdpRouterConfig, and so on).

NtpClientConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AuthMode

Authentication Mode

Type: enum

Default: NONE

Possible Values:

Value Description
NONE

None

MD5

MD5

Ipv4Tos

IPv4 TOS Value.

Type: u8

Default: 192

Ipv6TrafficClass

IPv6 Traffic Class Value.

Type: u8

Default: 0

IpVersion

Select IP version.

Type: enum

Default: IPV4

Possible Values:

Value Description
IPV4

Use IP version 4.

IPV6

Use IP version 6.

KeyId

Key Id

Type: u32

Default: 1

Range: 1 - 4294967295

OverwriteAutoPollInterval

Use custom poll interval or not.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use custom poll interval.

FALSE

Auto negoticate poll interval.

Password

Password

Type: string

Default: spirent

Range: 0 - 16 characters

PollInterval

Poll interval.

Type: enum

Default: INTERVAL_64_SEC

Possible Values:

Value Description
INTERVAL_4_SEC

4s

INTERVAL_8_SEC

8s

INTERVAL_16_SEC

16s.

INTERVAL_32_SEC

32s.

INTERVAL_64_SEC

64s.

INTERVAL_128_SEC

128s.

INTERVAL_256_SEC

256s.

INTERVAL_512_SEC

512s.

INTERVAL_1024_SEC

1024s.

INTERVAL_2048_SEC

2048s.

INTERVAL_1_HOUR

1h.

INTERVAL_2_HOUR

2h.

INTERVAL_4_HOUR

4h.

INTERVAL_9_HOUR

9h.

INTERVAL_18_HOUR

18h.

INTERVAL_36_HOUR

36h.

Precision

Local clock precision.

Type: enum

Default: LESS_001_0US

Possible Values:

Value Description
LESS_025_0NS

25ns.

LESS_100_0NS

100ns.

LESS_250_0NS

250ns.

LESS_001_0US

1us.

LESS_002_5US

5us.

LESS_010_0US

10us.

LESS_025_0US

25us.

LESS_100_0US

100us.

LESS_250_0US

250us.

LESS_001_0MS

1ms.

LESS_002_5MS

2.5ms.

LESS_010_0MS

10ms.

LESS_025_0MS

25ms.

LESS_100_0MS

100ms.

LESS_250_0MS

250ms.

LESS_001_0S

1s.

LESS_010_0S

10s.

GREATER_010_0S

Greater than 10s.

RefIpv4ServerAddr

Reference IPv4 address.

Type: ip

Default: 192.85.1.3

RefIpv6ServerAddr

Reference IPv6 address.

Type: ipv6

Default: 2000::2

SrcPort

NTP Server UDP Source Port Number.

Type: u16

Default: 1024

Range: 1 - 65535

UsePartialBlockState

Unused.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Unused.

FALSE

Unused.

NtpClientConfig Read-Only Attributes

Read-Only Attribute Description
Mode

NTP association mode.

Type: enum

Default: CLIENT

Possible Values:

Value Description
CLIENT

Client mode.

NtpVersion

Select NTP version.

Type: enum

Default: VERSION_4

Possible Values:

Value Description
VERSION_4

Use NTP version 4.

SyncState

Ntp synchronized state.

Type: enum

Default: IDLE

Possible Values:

Value Description
IDLE

Idle.

SYNCHRONIZING

Is synchronizing.

UNSYNCD

Unsynchronized.

PARTIAL_SYNCD

Partial synchronized.

SYNCD

Synchronized.