HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 25

Configuration guidelines, Configuration procedure, Disabling an interface from receiving NTP messages

Page 25 highlights

When the device responds to an NTP request received, the source IP address of the NTP response is always the destination IP address of the NTP request. Configuration guidelines • The source interface for NTP unicast messages is the interface specified in the ntp-service unicast-server or ntp-service unicast-peer command. • The source interface for NTP broadcast or multicast messages is the interface where you configure the ntp-service broadcast-server or ntp-service multicast-server command. Configuration procedure To specify the source interface for NTP messages: Step 1. Enter system view. Command system-view 2. Specify the source interface for NTP messages. ntp-service source-interface interface-type interface-number Remarks N/A By default, no source interface is specified for NTP messages, and the system uses the IP address of the interface determined by the matching route as the source IP address of NTP messages. Disabling an interface from receiving NTP messages If NTP is enabled, NTP messages can be received from all interfaces by default. You can disable an interface from receiving NTP messages by using the following configuration. Step 1. Enter system view. 2. Enter VLAN interface view. 3. Disable the interface from receiving NTP messages. Command system-view interface interface-type interface-number ntp-service in-interface disable Remarks N/A N/A By default, an interface is enabled to receive NTP messages. Configuring the allowed maximum number of dynamic sessions NTP has the following types of associations: • Static association-An association that a user has manually created by using an NTP command. • Dynamic association-Temporary association created by the system during operation. A dynamic association is removed if the system fails to receive messages from it over a specific period of time. The following describes how an association is established in different operation modes: • Client/server mode-After you specify an NTP server, the system creates a static association on the client. The server simply responds passively upon the receipt of a message, rather than creating an association (static or dynamic). 18

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157

18
When the device responds to an NTP request received, the source IP address of the NTP response is
always the destination IP address of the NTP request.
Configuration guidelines
The source interface for NTP unicast messages is the interface specified in the
ntp-service
unicast-server
or
ntp-service unicast-peer
command.
The source interface for NTP broadcast or multicast messages is the interface where you configure
the
ntp-service
broadcast-server
or
ntp-service
multicast-server
command.
Configuration procedure
To specify the source interface for NTP messages:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the source interface
for NTP messages.
ntp-service source-interface
interface-type interface-number
By default, no source interface is
specified for NTP messages, and
the system uses the IP address of
the interface determined by the
matching route as the source IP
address of NTP messages.
Disabling an interface from receiving NTP messages
If NTP is enabled, NTP messages can be received from all interfaces by default. You can disable an
interface from receiving NTP messages by using the following configuration.
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN interface view.
interface
interface-type
interface-number
N/A
3.
Disable the interface from
receiving NTP messages.
ntp-service in-interface disable
By default, an interface is enabled
to receive NTP messages.
Configuring the allowed maximum number of dynamic
sessions
NTP has the following types of associations:
Static association
—An association that a user has manually created by using an NTP command.
Dynamic association
—Temporary association created by the system during operation. A dynamic
association is removed if the system fails to receive messages from it over a specific period of time.
The following describes how an association is established in different operation modes:
Client/server mode
—After you specify an NTP server, the system creates a static association on the
client. The server simply responds passively upon the receipt of a message, rather than creating an
association (static or dynamic).