H3c-technologies H3C WX5500E Series Access Controllers Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 38
31
# Display NTP session information for Switch A, which shows that an association has been set up
between Switch A and the device.
[SwitchA-Vlan-interface3] display ntp-service sessions
source reference stra reach poll now offset delay disper
**************************************************************************
[1234] 3.0.1.31 127.127.1.0 2 255 64 26 -16.0 40.0 16.6
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
Configuration example for NTP client/server mode with
authentication
Network requirements
As shown in Figure 15, perform the following configurations to synchronize the time between Device B
and Device A and ensure network security.
The local clock of Device A is to be configured as a reference source, with the stratum level 2.
Device B operates in client mode and Device A is to be used as the NTP server of Device B, with
Device B as the client.
NTP authentication is to be enabled on both Device A and Device B.
Figure 15 Network diagram
Configuration procedure
1. Set the IP address for each interface as shown in Figure 15. (Details not shown.)
2. Configure Device B:
<DeviceB> system-view
# Enable NTP authentication on Device B.
[DeviceB] ntp-service authentication enable
# Set an authentication key.
[DeviceB] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[DeviceB] ntp-service reliable authentication-keyid 42
# Specify Device A as the NTP server of Device B.
[DeviceB] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
Before Device B can synchronize its clock to that of Device A, enable NTP authentication for
Device A.
Perform the following configuration on Device A:
# Enable NTP authentication.
[DeviceA] ntp-service authentication enable
# Set an authentication key.
[DeviceA] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 103 104

Comentarios a estos manuales

Sin comentarios