HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 20

Configuring NTP in client/server mode, Configuring NTP in symmetric active/passive mode

Page 20 highlights

Configuring NTP in client/server mode When the device operates in client/server mode, specify the IP address for the server on the client. Follow these guidelines when you configure an NTP client: • A server must be synchronized by other devices or use its local clock as a reference source before synchronizing an NTP client. Otherwise, the client will not be synchronized to the NTP server. • If the stratum level of a server is higher than or equal to a client, the client will not synchronize to that server. • You can configure multiple servers by repeating the ntp-service unicast-server and ntp-service ipv6 unicast-server commands. To configure an NTP client: Step 1. Enter system view. 2. Specify an NTP server for the device. Command system-view • Specify an NTP server for the device: ntp-service unicast-server { ip-address | server-name } [ vpn-instance vpn-instance-name ] [ authentication-keyid keyid | priority | source interface-type interface-number | version number ] * • Specify an IPv6 NTP server for the device: ntp-service ipv6 unicast-server { ipv6-address | server-name } [ vpn-instance vpn-instance-name ] [ authentication-keyid keyid | priority | source interface-type interface-number ] * Remarks N/A By default, no NTP server is specified for the device. Configuring NTP in symmetric active/passive mode When the device operates in symmetric active/passive mode, specify on a symmetric-active peer the IP address for a symmetric-passive peer. Follow these guidelines when you configure a symmetric-active peer: • Execute the ntp-service enable command on a symmetric passive peer to enable NTP. Otherwise, the symmetric-passive peer will not process NTP messages from a symmetric-active peer. • Either the symmetric-active peer, or the symmetric-passive peer, or both of them must be in synchronized state. Otherwise, their time cannot be synchronized. • You can configure multiple symmetric-passive peers by repeating the ntp-service unicast-peer or ntp-service ipv6 unicast-peer command. To configure a symmetric-active peer: 14

  • 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

14
Configuring NTP in client/server mode
When the device operates in client/server mode, specify the IP address for the server on the client.
Follow these guidelines when you configure an NTP client:
A server must be synchronized by other devices or use its local clock as a reference source before
synchronizing an NTP client. Otherwise, the client will not be synchronized to the NTP server.
If the stratum level of a server is higher than or equal to a client, the client will not synchronize to that
server.
You can configure multiple servers by repeating the
ntp-service unicast-server
and
ntp-service ipv6
unicast-server
commands.
To configure an NTP client:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify an NTP server for the
device.
Specify an NTP server for the
device:
ntp-service unicast-server
{
ip-address
|
server-name
}
[
vpn-instance
vpn-instance-name
]
[
authentication-keyid
keyid
|
priority
|
source
interface-type
interface-number
|
version
number
] *
Specify an IPv6 NTP server for
the device:
ntp-service ipv6 unicast-server
{
ipv6-address
|
server-name
}
[
vpn-instance
vpn-instance-name
]
[
authentication-keyid
keyid
|
priority
|
source
interface-type
interface-number
]
*
By default, no NTP server is
specified for the device.
Configuring NTP in symmetric active/passive mode
When the device operates in symmetric active/passive mode, specify on a symmetric-active peer the IP
address for a symmetric-passive peer.
Follow these guidelines when you configure a symmetric-active peer:
Execute the
ntp-service enable
command on a symmetric passive peer to enable NTP. Otherwise,
the symmetric-passive peer will not process NTP messages from a symmetric-active peer.
Either the symmetric-active peer, or the symmetric-passive peer, or both of them must be in
synchronized state. Otherwise, their time cannot be synchronized.
You can configure multiple symmetric-passive peers by repeating the
ntp-service
unicast-peer
or
ntp-service
ipv6
unicast-peer
command.
To configure a symmetric-active peer: