Chapter 4 Command Reference

ntp-ip

ntp-ip

To modify or display the IP addresses of the NTP (Network Time Protocol) server, use the ntp-ipcommand.

ntp-ip[ip-addr1 [ip-addr2]]

Syntax Description

 

ip-addr1

Specifies the IP address of the primary NTP server.

 

 

ip-addr2

Specifies the IP address of the secondary NTP server.

 

 

 

 

 

 

 

Defaults

Displays the current IP addresses of the primary and secondary NTP servers.

 

If only one value is entered, that value is applied to the IP address of the primary NTP server.

 

 

 

 

Command Types

Changes configuration

 

 

 

 

Command Modes

User password protected for display; master password protected for modification.

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

EDFA 1.0

This command was introduced.

 

 

 

 

 

 

 

Examples

The following example shows how to modify the IP address of the primary NTP server.

 

edfa > ntp-ip 209.128.68.149 209.128.68.147

The following example shows how to display the current IP addresses of the primary and secondary NTP servers.

edfa > ntp-ip

209.128.68.149, 209.128.68.147

Related Commands

Command

Description

 

 

 

 

ntp

Enables or disables the NTP for the system

 

 

 

 

 

Cisco ONS 15501 User Guide

 

 

 

 

 

 

78-14134-02, Release 2.0

 

 

4-29

 

 

 

 

 

Page 69
Image 69
Cisco Systems 15501 manual Ntp-ip