H3C S5500-EI Series Command Manual
H3C S5500-EI Series Command Manual

H3C S5500-EI Series Command Manual

Ntp
Hide thumbs Also See for S5500-EI Series:

Advertisement

Command Manual - NTP
H3C S5500-EI Series Ethernet Switches
Chapter 1 NTP Configuration Commands .................................................................................. 1-1
1.1 NTP Configuration Commands.......................................................................................... 1-1
1.1.1 display ntp-service sessions ................................................................................... 1-1
1.1.2 display ntp-service status........................................................................................ 1-3
1.1.3 display ntp-service trace ......................................................................................... 1-4
1.1.4 ntp-service access .................................................................................................. 1-5
1.1.5 ntp-service authentication enable ........................................................................... 1-6
1.1.6 ntp-service authentication-keyid.............................................................................. 1-7
1.1.7 ntp-service broadcast-client .................................................................................... 1-8
1.1.8 ntp-service broadcast-server................................................................................... 1-9
1.1.9 ntp-service in-interface disable ............................................................................... 1-9
1.1.10 ntp-service max-dynamic-sessions ..................................................................... 1-10
1.1.11 ntp-service multicast-client.................................................................................. 1-11
1.1.12 ntp-service multicast-server ................................................................................ 1-11
1.1.13 ntp-service reliable authentication-keyid............................................................. 1-12
1.1.14 ntp-service source-interface................................................................................ 1-13
1.1.15 ntp-service unicast-peer...................................................................................... 1-14
1.1.16 ntp-service unicast-server ................................................................................... 1-15

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading

Summary of Contents for H3C S5500-EI Series

  • Page 1: Table Of Contents

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 NTP Configuration Commands .................. 1-1 1.1 NTP Configuration Commands..................1-1 1.1.1 display ntp-service sessions ................... 1-1 1.1.2 display ntp-service status..................1-3 1.1.3 display ntp-service trace ..................1-4 1.1.4 ntp-service access ....................
  • Page 2: Chapter 1 Ntp Configuration Commands

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Chapter 1 NTP Configuration Commands Note: The local clock of an S5500-EI Ethernet switch cannot be set as a reference clock. It can serve as a reference clock source to synchronize the clock of other devices only after it is synchronized.
  • Page 3 Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Table 1-1 Description on the fields of the display ntp-service sessions command Field Description source IP address of the clock source Reference clock ID of the clock source...
  • Page 4: Display Ntp-Service Status

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Note: When a device is working in the NTP broadcast/multicast server mode, the display ntp-service sessions command executed on the device will not display the NTP session information corresponding to the broadcast/multicast server, but the sessions will be counted in the total number of associations.
  • Page 5: Display Ntp-Service Trace

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Table 1-2 Description on the fields of the display ntp-service status command Field Description Clock status Status of the system clock Clock stratum Stratum level of the local clock...
  • Page 6: Ntp-Service Access

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands The display ntp-service trace command is available only if the local device can ping through all the devices on the NTP server chain; otherwise, this command will fail to display all the NTP servers on the NTP chain due to timeout.
  • Page 7: Ntp-Service Authentication Enable

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands synchronization: Specifies to permit server access only. acl-number: Basic ACL number, in the range of 2000 to 2999 Description Use the ntp-service access command to configure the NTP service access-control right to the local device.
  • Page 8: Ntp-Service Authentication-Keyid

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Parameters None Description Use the ntp-service authentication enable command to enable NTP authentication. Use the undo ntp-service authentication enable command to disable NTP authentication. By default, NTP authentication is disabled.
  • Page 9: Ntp-Service Broadcast-Client

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Caution: Presently the system supports only the MD5 algorithm for key authentication. You can set a maximum of 1,024 keys for each device. If an NTP authentication key is specified as a trusted key, the key automatically changes to not trusted after you delete the key.
  • Page 10: Ntp-Service Broadcast-Server

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands 1.1.8 ntp-service broadcast-server Syntax ntp-service broadcast-server [ authentication-keyid keyid | version number ] * undo ntp-service broadcast-server View VLAN interface view Parameters authentication-keyid keyid: Specifies the key ID to be used for sending broadcast messages to broadcast clients, where keyid is in the range of 1 to 4294967295.
  • Page 11: Ntp-Service Max-Dynamic-Sessions

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands Parameters None Description Use the ntp-service in-interface disable command to disable an interface from receiving NTP messages. Use the undo ntp-service in-interface disable command to restore the default.
  • Page 12: Ntp-Service Multicast-Client

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands 1.1.11 ntp-service multicast-client Syntax ntp-service multicast-client [ ip-address ] undo ntp-service multicast-client [ ip-address ] View VLAN interface view Parameters ip-address: Multicast IP address, defaulting to 224.0.1.1. The value ranges from 224.0.1.0 to 224.0.1.255.
  • Page 13: Ntp-Service Reliable Authentication-Keyid

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands authentication-keyid keyid: Specifies the key ID to be used for sending multicast messages to multicast clients, where keyid is in the range of 1 to 4294967295. This parameter is not meaningful if authentication is not required.
  • Page 14: Ntp-Service Source-Interface

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands No authentication key is configured to be trusted by default. Examples # Enable NTP authentication, specify to use MD5 encryption algorithm, with the key ID of 37 and key value of BetterKey, and specify that this key is a trusted key.
  • Page 15: Ntp-Service Unicast-Peer

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands 1.1.15 ntp-service unicast-peer Syntax ntp-service unicast-peer { ip-address | peer-name } [ authentication-keyid keyid | priority | source-interface interface-type interface-number | version number ] * undo ntp-service unicast-peer { ip-address | peer-name }...
  • Page 16: Ntp-Service Unicast-Server

    Command Manual – NTP H3C S5500-EI Series Ethernet Switches Chapter 1 NTP Configuration Commands 1.1.16 ntp-service unicast-server Syntax ntp-service unicast-server { ip-address | server-name } [ authentication-keyid keyid | priority | source-interface interface-type interface-number | version number ] * undo ntp-service unicast-server { ip-address | server-name }...

Table of Contents