H3C H3C S5600 Series Operation Manual

Summary of H3C S5600 Series

  • Page 1

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 table of contents i table of contents chapter 1 ntp configuration ....................................................................................................... 1-1 1.1 introduction to ntp ..................................

  • Page 2: 1.1  Introduction to Ntp

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-1 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...

  • Page 3

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-2 note: z the accuracy of a clock is determined by its stratum, which ranges from 1 to 16. The stratum of the reference clock ranges from 1 to 15. The accuracy descends with the increasing of stratum...

  • Page 4

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-3 the procedures of synchronizing system clocks are as follows: z 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 1 ) carrie...

  • Page 5

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-4 e peer ii. Peer mode active peer passiv netw ork clock synchronization request packet oper peer m ates in the passive ode automatically netw ork response packet synchronize active peer passive peer...

  • Page 6

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-5 table 1-1 ntp implementation modes on an s5600 series switch ntp implementation mode configuration on s5600 switches client/server mode configure the s5600 switch to operate in the ntp server mode....

  • Page 7

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-6 1.2.2 configuring ntp implementation modes table 1-2 configure ntp implementation modes operation command description enter system view system-view — configure to operate in the ntp client mode ntp...

  • Page 8

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-7 note: to reduce the risk of being attacked by malicious users against opened socket and enhance switch security, the s5600 series ethernet switches provide the following functions, so that a socket...

  • Page 9

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-8 iv. Ntp multicast server mode when an s5600 series switch operates in ntp multicast server mode, it multicasts a clock synchronization packet periodically. The devices which are configured to be in...

  • Page 10

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-9 1.4.1 prerequisites ntp authentication configuration involves: z configuring ntp authentication on the client z configuring ntp authentication on the server note the following when performing ntp a...

  • Page 12

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-11 operation command description configure the specified key to be a trusted key ntp-service reliable authentication-keyid key-id required by default, an authentication key is not a trusted key enter...

  • Page 13

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-12 operation command description configure the number of the sessions that can be established locally ntp-service max-dynamic-sessions number optional by default, up to 100 dynamic sessions can be es...

  • Page 14: 1.7  Configuration Example

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-13 1.7 configuration example 1.7.1 ntp server mode configuration i. Network requirements configure the local clock of h3c1 to be ntp master clock, with the stratum being 2. Note: h3c1 is a switch tha...

  • Page 15

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-14 # after the above configuration, the s5600 switch is synchronized to h3c1. View the ntp status of the s5600 series switch. [s5600] display ntp-service status clock status: synchronized clock strat...

  • Page 16

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-15 ii. Network diagram h3c 2 h3c 3 3.0. 3.0.1.32/24 1.31/24 3.0.1.33/24 s5600 h3c 2 h3c 3 3.0. 3.0.1.32/24 1.31/24 3.0.1.33/24 s5600 figure 1-7 network diagram for ntp peer mode configuration iii. Co...

  • Page 17

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-16 peer dispersion: 10.93 ms reference time: 07:55:07.172 utc apr 25 2006(c7f8545b.2c41fea8) the output information indicates that the s5600 series switch is synchronized to h3c3 and the stratum of i...

  • Page 18

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-17 iii. Configuration procedures 1) configure h3c3. # enter system view. System-view [h3c3] # enter vlan-interface 2 view. [h3c3] interface vlan-interface 2 [h3c3-vlan-interface2] # configure h3c3 to...

  • Page 19

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-18 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 1-19 ii. Network diagram h3c 3 3.0.1.31/24 3.0.1.32/24 erface 2 erface 2 1.0.1.31/24 vlan-int vlan-int -interface 2 h3c 4 - - -interface 2 3.0.1.31/24 3.0.1.32/24 3.0.1.31/24 3.0.1.32/24 - - - - - s560...

  • Page 21

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-20 the above configuration configures s5600-1 and s5600-2 to listen to multicast packets through their vlan interface 2, and h3c3 to advertise multicast packets through vlan interface 2. Because s560...

  • Page 22

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-21 note: this example assumes that h3c1 is a switch that supports the local clock being the master ntp clock. Ii. Network diagram h3c 1 1.0.1.11/24 1.0.1.12/24 s5600 h3c 1 1.0.1.11/24 1.0.1.12/24 s56...

  • Page 23

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-22 to synchronize the s5600 series switch, the following configuration is needed for h3c1. # enable authentication on h3c1. [h3c1] system-view [h3c1] ntp-service authentication enable # set the md5 k...

  • Page 24

    Operation manual – ntp h3c s5600 series ethernet switches-release 1510 chapter 1 ntp configuration 1-23 note: when the switch receives an ntp packet with authentication information, there are the following scenarios: z if the switch enables ntp authentication, it performs authentication operation. Z...