Cisco Systems OL-7396-01 Manual De Usuario

Descargar
Página de 934
4-10
ATM Switch Router Software Configuration Guide 
OL-7396-01
Chapter 4
Configuring System Management Functions
Configuring the Network Time Protocol
Configuring the Network Time Protocol
This section describes configuring the Network Time Protocol (NTP) on the ATM switch router.
To control access to the system NTP services, use the following ntp global configuration commands. To 
remove access control to the system’s NTP services, use the no ntp command. See the example 
configuration at the end of this section and the 
 to confirm 
the NTP configuration.
To see a list of the NTP commands enter a ? in EXEC configuration mode. The following example shows 
the list of commands available for NTP configuration:
Switch(config)# ntp ?
  access-group        Control NTP access
  authenticate        Authenticate time sources
  authentication-key  Authentication key for trusted time sources
  broadcastdelay      Estimated round-trip delay
  clock-period        Length of hardware clock tick
  master              Act as NTP master clock
  max-associations    Set maximum number of associations
  peer                Configure NTP peer
  server              Configure NTP server
  source              Configure interface for source address
  trusted-key         Key numbers for trusted time sources
  update-calendar     Periodically update calendar with NTP time
To control access to the system NTP services, use the following global configuration command:
To enable NTP authentication, perform the following steps in global configuration mode:
To specify that a specific interface should send NTP broadcast packets, perform the following steps, 
beginning to global configuration mode:
As NTP compensates for the error in the system clock, it keeps track of the correction factor for this 
error. The system automatically saves this value into the system configuration using the 
ntp clock-period global configuration command.
Command
Purpose
ntp access-group {query-only | serve-only | 
serve | peer} access-list-number
Configures an NTP access group.
Command
Purpose
Step 1
Switch(config)# ntp authenticate
Enables NTP authentication.
Step 2
Switch(config)# ntp authentication-key number 
md5 value
Defines an authentication key.
Command
Purpose
Step 1
Switch(config)# interface type card/subcard/port
Switch(config-if)# 
Selects the physical interface to be configured.
Step 2
Switch(config-if)# ntp broadcast [client | 
destination | key | version]
Configures the system to receive NTP broadcast 
packets.