Administering the WMIC
Managing the System Time and Date
49
Cisco 3200 Series Wireless MIC Software Configuration Guide
Configuring NTP Associations
An NTP association can be a peer association (the WMIC can either synchronize to the other device or
allow the other device to synchronize to it), or it can be a server association (the WMIC synchronizes to
the other device; the device does not synchronize to the WMIC).
To form an NTP association with another device
, follow these steps, beginning in privileged EXEC mode:
You need to configure only one end of an association; the other device can automatically establish the
association. If you are using the default NTP version (version 3), but NTP synchronization does not
occur, try using NTP version 2. Many NTP servers on the Internet run version 2.
To remove a peer or server association, use the
no ntp peer
ip-address
or the
no ntp server
ip-address
command in global configuration mode.
This example shows how to configure the WMIC to synchronize its system clock with the clock of the
peer at IP address 172.16.22.44, using NTP version 2:
bridge(config)#
ntp server 172.16.22.44 version 2
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
ntp peer
ip-address
[
version
number
]
[
key
keyid
] [
source
interface
] [
prefer
]
or
ntp server
ip-address
[
version
number
]
[
key
keyid
] [
source
interface
] [
prefer
]
Configures the WMIC system clock to synchronize a peer or to be
synchronized by a peer (peer association).
or
Configures the WMIC system clock to be synchronized by a time server
(server association).
No peer or server associations are defined by default.
•
For
ip-address
in a peer association, specify the IP address of the peer
that is providing, or that is being provided, the clock synchronization.
For a server association, specify the IP address of the time server that
is providing the clock synchronization.
•
(Optional) For
number
, specify the NTP version number. The range is
from 1 to 3. By default, version 3 is selected.
•
(Optional) For
keyid
, enter the authentication key defined with the
ntp authentication-key
command.
•
(Optional) For
interface
, specify the interface from which to pick the
IP source address. By default, the source IP address is taken from the
outgoing interface.
•
(Optional) Enter the
prefer
keyword to make this peer or server the
preferred one that provides synchronization. This keyword reduces
switching between peers and servers.
Step 3
end
Returns to privileged EXEC mode.
Step 4
show running-config
Verifies your entries.
Step 5
copy running-config startup-config
(Optional) Saves your entries in the configuration file.