Administering the WMIC
Managing the System Time and Date
53
Cisco 3200 Series Wireless MIC Software Configuration Guide
3.
serve-only
—Allows only time requests from a device whose address passes the access list criteria.
4.
query-only
—Allows only NTP control queries from a device whose address passes the access list
criteria.
If the source IP address matches the access lists for more than one access type, the first access type is
granted. If no access groups are specified, all access types are granted to all devices. If any access groups
are specified, only the specified access types are granted.
To remove access control to the WMIC NTP services, use the
no ntp access-group
{
query-only
|
serve-only
|
serve
|
peer
} command in global configuration mode.
This example shows how to configure the WMIC to allow itself to synchronize to a peer from access
list 99. However, the WMIC restricts access to allow only time requests from access list 42:
bridge#
configure terminal
bridge(config)#
ntp access-group peer 99
bridge(config)#
ntp access-group serve-only 42
bridge(config)#
access-list 99 permit 172.20.130.5
bridge(config)#
access list 42 permit 172.20.130.6
Disabling NTP Services on a Specific Interface
NTP services are enabled on all interfaces by default.
To disable NTP packets from being received on an interface
, follow these steps, beginning in privileged
EXEC mode:
To reenable receipt of NTP packets on an interface, use the
no ntp disable
command in interface
configuration mode.
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
interface
interface-id
Enters interface configuration mode, and specify the interface to disable.
Step 3
ntp disable
Disables NTP packets from being received on the interface.
By default, all interfaces receive NTP packets.
Step 4
end
Returns to privileged EXEC mode.
Step 5
show running-config
Verifies your entries.
Step 6
copy running-config startup-config
(Optional) Saves your entries in the configuration file.