Specifications
4-13
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 4 Administering the Switch
Configuring NTP
To remove access control to the switch NTP services, use the no ntp access-group {query-only |
serve-only | serve | peer} global configuration command.
EXAMPLE
This example shows how to configure the switch to allow itself to synchronize to a peer from access
list 99. However, the switch restricts access to allow only time requests from access list 42:
Switch# configure terminal
Switch(config)# ntp access-group peer 99
Switch(config)# ntp access-group serve-only 42
Switch(config)# access-list 99 permit 172.20.130.5
Switch(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.
BEFORE YOU BEGIN
Review the “Network Time Protocol” section on page 4-2.
DETAILED STEPS
Step 3
access-list access-list-number
permit source [source-wildcard]
Create the access list.
• For access-list-number, enter the number specified in Step 2.
• Enter the permit keyword to permit access if the conditions
are matched.
• For source, enter the IP address of the device that is
permitted access to the switch.
• (Optional) For source-wildcard, enter the wildcard bits to be
applied to the source.
Note When creating an access list, remember that, by default,
the end of the access list contains an implicit deny
statement for everything if it did not find a match before
reaching the end.
Step 4
end Return to privileged EXEC mode.
Step 5
show running-config Verify your entries.
Step 6
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Enter interface configuration mode, and specify the interface to
disable.