4-11
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter4 Configuring System Management Functions
Configuring the Network Time Protocol
Caution Do not enter the ntpclock-period command; it is docum ented for informational purposes only. The
system automatically generates this command as NTP determines the clock error and compensates.
To prevent an interface from receiving NTP packets, perform the following steps, beginning in global
configuration mode:
To configure the ATM switch router as a NTP master clock to which peers synchronize themselves when
an external NTP source is not available, use the following global configuration command:
To configure the ATM switch router as a NTP peer that receives its clock synchronization from an
external NTP source, use the following global configuration command:
To allow the ATM switch router system clock to be synchronized by a time server, use the following
global configuration command:
To use a particular source address in NTP packets, use the following global configuration command:
Command Purpose
Step1 Switch(config)# interface type card/subcard/port
Switch(config-if)#
Selects the physical interface to be configured.
Step2 Switch(config-if)# ntp disable Disables the NTP receive interface.
Command Purpose
ntp master [stratum] Configures NTP master clock.
Command Purpose
ntp peer ip-address [version number]
[key keyid] [source interface] [prefer]
Configures the system clock to synchronize a
peer or to be synchronized by a peer.
Command Purpose
ntp server ip-address [version number]
[key keyid] [source interface] [prefer]
Configures the system clock to allow it to be
synchronized by a time server.
Command Purpose
ntp source interface type card/subcard/port Configures a particular source address in NTP
packets.