Configuring The Source Ip Address For Ntp Packets - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Managing the System Time and Date
Disabling NTP Services on a Specific Interface
NTP services are enabled on all interfaces by default.
Beginning in privileged EXEC mode, follow these steps to disable NTP packets from being received on
an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ntp disable
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
To re-enable receipt of NTP packets on an interface, use the no ntp disable interface configuration
command.

Configuring the Source IP Address for NTP Packets

When the switch sends an NTP packet, the source IP address is normally set to the address of the interface
through which the NTP packet is sent. Use the ntp source global configuration command when you want to
use a particular source IP address for all NTP packets. The address is taken from the specified interface. This
command is useful if the address on an interface cannot be used as the destination for reply packets.
Beginning in privileged EXEC mode, follow these steps to configure a specific interface from which the
IP source address is to be taken:
Command
Step 1
configure terminal
Step 2
ntp source type number
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
The specified interface is used for the source address for all packets sent to all destinations. If a source address
is to be used for a specific association, use the source keyword in the ntp peer or ntp server global
configuration command as described in the
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
7-10
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the interface to disable.
Disable NTP packets from being received on the interface.
By default, all interfaces receive NTP packets.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the interface type and number from which the IP source address
is taken.
By default, the source address is determined by the outgoing interface.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
"Configuring NTP Associations" section on page
Chapter 7
Administering the Switch
7-5.
78-11380-12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents