H3C S5600 series Operation Manual
Hide thumbs Also See for S5600 series:

Advertisement

Quick Links

Operation Manual - NTP
H3C S5600 Series Ethernet Switches-Release 1510
Chapter 1 NTP Configuration ....................................................................................................... 1-1
1.1 Introduction to NTP ............................................................................................................ 1-1
1.1.1 Applications of NTP................................................................................................. 1-1
1.1.2 Working Principle of NTP ........................................................................................ 1-2
1.1.3 NTP Implementation Mode ..................................................................................... 1-3
1.2 NTP Implementation Mode Configuration ......................................................................... 1-5
1.2.1 Prerequisites ........................................................................................................... 1-5
1.2.2 Configuring NTP Implementation Modes ................................................................ 1-6
1.3 Access Control Permission Configuration ......................................................................... 1-8
1.4 NTP Authentication Configuration ..................................................................................... 1-8
1.4.1 Prerequisites ........................................................................................................... 1-9
1.4.2 Configuring NTP Authentication.............................................................................. 1-9
1.5 Configuration of Optional NTP Parameters ..................................................................... 1-11
1.6 Displaying and Debugging NTP....................................................................................... 1-12
1.7 Configuration Example .................................................................................................... 1-13
1.7.1 NTP Server Mode Configuration ........................................................................... 1-13
1.7.2 NTP Peer Mode Configuration .............................................................................. 1-14
1.7.3 NTP Broadcast Mode Configuration ..................................................................... 1-16
1.7.4 NTP Multicast Mode Configuration ....................................................................... 1-18
1.7.5 NTP Server Mode with Authentication Configuration............................................ 1-20

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5600 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5600 series

  • Page 1: Table Of Contents

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 NTP Configuration ....................... 1-1 1.1 Introduction to NTP ......................1-1 1.1.1 Applications of NTP....................1-1 1.1.2 Working Principle of NTP ..................1-2 1.1.3 NTP Implementation Mode ..................
  • Page 2: Chapter 1 Ntp Configuration

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Chapter 1 NTP Configuration 1.1 Introduction to NTP Network time protocol (NTP) is a time synchronization protocol defined by RFC1305. It is used for time synchronization among a set of distributed time servers and clients.
  • Page 3: Working Principle Of Ntp

    The clocks with the stratum of 16 are in unsynchronized state and cannot serve as reference clocks. The local clock of an S5600 series switch cannot operate as a reference clock. And an S5600 series switch can serve as a time server only when it is synchronized.
  • Page 4: Ntp Implementation Mode

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration The procedures of synchronizing system clocks are as follows: LS_A sends an NTP packet to LS_B, with the timestamp identifying the time when it is sent (that is, 10:00:00am, noted as T ) carried.
  • Page 5 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration II. Peer mode Active peer Active peer Active peer Active peer Active peer Active peer Active peer Active peer Active peer Active peer Active peer Active peer...
  • Page 6: Ntp Implementation Mode Configuration

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Table 1-1 NTP implementation modes on an S5600 series switch NTP implementation mode Configuration on S5600 switches Configure the S5600 switch to operate in the NTP server mode.
  • Page 7: Configuring Ntp Implementation Modes

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration 1.2.2 Configuring NTP Implementation Modes Table 1-2 Configure NTP implementation modes Operation Command Description Enter system view system-view — ntp-service unicast-server remote-ip Optional server-name Configure to operate in...
  • Page 8 The remote server identified by the remote-ip argument operates as the peer of the S5600 series switch, and the S5600 series switch operates as the active peer. The clock of the S5600 series switch can be synchronized to the remote server or be used to synchronize the clock of the remote server.
  • Page 9: Access Control Permission Configuration

    NTP server mode. Whereas if it operates in any of the other modes, it establishes connections with the peer. If an S5600 series switch operates as a passive peer in peer mode, NTP broadcast client mode, or NTP multicast client mode, the connections it establishes with the peers are dynamic.
  • Page 10: Prerequisites

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration 1.4.1 Prerequisites NTP authentication configuration involves: Configuring NTP authentication on the client Configuring NTP authentication on the server Note the following when performing NTP authentication configuration:...
  • Page 11 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Operation Command Description In NTP client mode and NTP peer mode, you NTP client mode: need to associate the specified key with the ntp-service unicast-server corresponding { remote-ip | server-name } server on the client.
  • Page 12: Configuration Of Optional Ntp Parameters

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Operation Command Description Required Configure ntp-service reliable specified key to be By default, an authentication authentication-keyid key-id a trusted key key is not a trusted key...
  • Page 13: Displaying And Debugging Ntp

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Operation Command Description Configure Optional number ntp-service By default, up to 100 dynamic sessions that can max-dynamic-sessions sessions can be established established number locally. locally Enter...
  • Page 14: Configuration Example

    Configure the local clock of H3C1 to be NTP master clock, with the stratum being 2. Note: H3C1 is a switch that allows the local clock to be the master clock. An S5600 series switch operates in client mode, with H3C1 as the time server. H3C1 operates in server mode automatically. II. Network diagram 1.0.1.1 2/24...
  • Page 15: Ntp Peer Mode Configuration

    H3C1, and the stratum of its clock is 3, one stratum higher than H3C1. # View the information about the NTP sessions of the S5600 series switch. You can see that the S5600 series switch establishes a connection with H3C1.
  • Page 16 # After the local synchronization, set the S5600 series switch to be its peer. [H3C3] ntp-service unicast-peer 3.0.1.32 The S5600 series switch and H3C3 are configured to be peers with regard to each other. H3C3 operates in the active peer mode, while the S5600 series switch operates in the passive peer mode.
  • Page 17: Ntp Broadcast Mode Configuration

    2, one stratum higher than H3C3. # View the information about the NTP sessions of the S5600 series switch and you can see that a connection is established between the S5600 series switch and H3C3.
  • Page 18 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration III. Configuration procedures Configure H3C3. # Enter system view. <H3C3> system-view [H3C3] # Enter VLAN-interface 2 view. [H3C3] interface Vlan-interface 2 [H3C3-Vlan-interface2] # Configure H3C3 to be the broadcast server and send broadcast packets through VLAN-interface 2.
  • Page 19: Ntp Multicast Mode Configuration

    Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Clock stratum: 3 Reference clock ID: 3.0.1.31 Nominal frequency: 60.0002 Hz Actual frequency: 60.0002 Hz Clock precision: 2^18 Clock offset: 0.0000 ms Root delay: 0.00 ms Root dispersion: 16.38 ms...
  • Page 20 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration II. Network diagram 3.0.1.31/24 3.0.1.31/24 3.0.1.31/24 3.0.1.31/24 3.0.1.31/24 3.0.1.31/24 Vlan-int Vlan-int erface 2 erface 2 H3C 3 H3C 3 1.0.1.31/24 1.0.1.31/24 Vlan Vlan -interface 2 -interface 2...
  • Page 21: Ntp Server Mode With Authentication Configuration

    The local clock of H3C1 operates as the master NTP clock, with the clock stratum set to An S5600 series switch operates in client mode with H3C1 as the time server. H3C1 operates in the server mode automatically. Meanwhile, NTP authentication is enabled on both sides.
  • Page 22 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Note: This example assumes that H3C1 is a switch that supports the local clock being the master NTP clock. II. Network diagram 1.0.1.12/24 1.0.1.12/24 1.0.1.11/24 1.0.1.11/24...
  • Page 23 # Specify the key to be a trusted key. [H3C1] ntp-service reliable authentication-keyid 42 After the above configuration, the S5600 series switch can be synchronized to H3C1. You can view the status of S5600 after the synchronization. [S5600] display ntp-service status...
  • Page 24 Operation Manual – NTP H3C S5600 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Note: When the switch receives an NTP packet with authentication information, there are the following scenarios: If the switch enables NTP authentication, it performs authentication operation.

Table of Contents