Skip to Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

ntp peer — global

Synopsis

ntp peer address [version value] [key keyid] [source interface] [prefer]
no ntp peer address

Configures

Network Time Protocol (NTP) service

Default

None

Description

This command defines the address of an NTP peer. The router synchronizes its time with the peer’s time and attempts to update the peer’s time. Notice how a peer is different from a server. If you specify an NTP server with the ntp server command, the router gets its time from the server but does not attempt to update the server’s time.

address

The IP address of the NTP peer.

version value

The NTP version (1 through 3). The default is 3.

key keyid

Authentication key to use for this peer. The ntp authentication-key command defines the keys and their key IDs.

source interface

The interface the router should use to communicate with this peer.

prefer

Makes this peer preferred over others.

Example

The following command sets an NTP peer at 10.11.1.2, which is available via the ethernet0 interface.

ntp peer 10.11.1.2 version 2 source ethernet0
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata