ntp-interface

Enters Network Time Protocol (NTP) interface configuration mode.
Syntax
ntp-interface { management port | ethernet unit/slot/port | lag lag-id | ve ve-id }
no ntp-interface { management port | ethernet unit/slot/port | lag lag-id | ve ve-id }
Parameters
management port
Specifies the management interface.
ethernet unit/slot/port
Specifies the Ethernet interface.
lag lag-id
Specifies the LAG virtual interface.
ve ve-id
Specifies the Virtual Ethernet interface.
Modes

NTP configuration mode

Usage Guidelines

The broadcast server or client is configured on selected interfaces. To remove the NTP broadcast configurations on the specified interface, use the no form of this command.

The no form of the command returns to NTP configuration mode.

The ntp-interface command is a mode-change command.

Examples

The following example enters the NTP interface configuration mode for Ethernet interface 1/1/1.

device(config)# ntp
device(config-ntp)# ntp-interface ethernet 1/1/1
device(config-ntp-if-e1000-1/1/1)# 

The following example enters the NTP interface configuration mode for management interface 1.

device(config)# ntp
device(config-ntp)# ntp-interface management 1
device(config-ntp-mgmt-1)# exit

History
Release version Command history
08.0.61 This command was modified to include the LAG ID option.