You are here: Home > CLI Commands > Just_CLI_Topics > ntp

ntp

ntp

authenticate

authentication-key <keyid> {md5|sha1} <keyvalue>

server {<ip>|<ip6>} {[iburst|key] <keyid>}

server-mode

source

standalone

trusted-key

Description

This command allows you to configure NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. options.

Syntax

Parameter

Description

Range

Default

authenticate

This parameter enables the controller to authenticate the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server before synchronizing local time with server. This helps identify secure servers from fraudulent servers. This command has to be enabled for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication to work.

authentication-key

This command configures a key identifier and secret key and adds them into the database. NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication works with a symmetric key configured by user. The key is shared by the client (Aruba managed device) and an external NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server.

<key-id>

The key identifier is a string that is shared by the client (Arubamanaged device) and an external NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server. This value is added into the database.

md5|sha1 <keyvalue>

The key value is a secret string, which along with the key identifier, is used for authentication. This is added into the database.

server

This command configures an NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server.

You can configure the Mobility Master to set its system clock using NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. by specifying one or more NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers.

<ip>/<ip6>

IPv4/IPv6 address of the Peer.

iburst

(Optional) This parameter causes the Mobility Master to send up to ten queries within the first minute to the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server. This option is considered “aggressive” by some public NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. servers.

disabled

key <key-id>

This is the key identifier used to authenticate the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server. This needs to match the key identifier configured in the
ntp authentication-key command.

server-mode [disable]

This command disables NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server mode.

source

This command specifies the source address for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client traffic.

loopback

This parameter sets loopack interface as the source for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client traffic.

<vlanid>

This parameter sets source VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client traffic.

standalone

This command configures NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. time serve.

vlan-range <word>

Configures VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. interfaces on which NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. adheres for serving time where:

<word>: Represents VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. range.

trusted-key

This command configures an additional subset of trusted keys which can be used for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication.

<keyid>

An additional trusted string that can be used for authentication.

Usage Guidelines

Network Time Protocol (NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network.) authentication enables the controller to authenticate the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server before synchronizing local time with server. This helps identify secure servers from fradulent servers. This command has to be enabled for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. authentication to work.

Starting from 8.1.0.0, you can specify the source address for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. traffic originating from the Mobility Master using the source parameter. Before this enhancement, the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. traffic’s source address was dynamically decided by the NTP module. The source of the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client traffic can be either a loopback interface or a specific VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. ID. To allow time synchronization to be independent of any physical interfaces that could be down, use the loop back interface as the NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. source address.

Example

The following command configures an NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. server:

(host) [mynode] (config) #ntp authenticate

The following command configures the loopback interface as the source for NTPNetwork Time Protocol. NTP is a protocol for synchronizing the clocks of computers over a network. client traffic:

(host) [mynode] (config) #ntp source loopback

Command History

Release

Modification

ArubaOS 8.2.0.0

The sha1 sub-parameter was added.

ArubaOS 8.1.0.0

The server-mode and source parameters were added.

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

Config mode on Mobility Master.

/*]]>*/