No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Switch as an NTP Client

Configuring the Switch as an NTP Client

  • Unicast client/server mode

    # Enable NTP authentication, configure the authentication key, and specify the key as reliable.
    <HUAWEI> system-view
    [~HUAWEI] ntp authentication enable
    [*HUAWEI] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*HUAWEI] ntp trusted authentication-keyid 42
    [*HUAWEI] commit
    # Specify an NTP unicast server for the NTP unicast client and specify key 42 for encryption.
    [~HUAWEI] ntp unicast-server 10.1.1.1 authentication-keyid 42
    [*HUAWEI] commit
  • Broadcast mode

    # Enable NTP authentication, configure the authentication key, and specify the key as reliable.
    <HUAWEI> system-view
    [~HUAWEI] ntp authentication enable
    [*HUAWEI] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*HUAWEI] ntp trusted authentication-keyid 42
    [*HUAWEI] commit
    # Configure the NTP broadcast client to listen to the NTP broadcast packets on 10GE1/0/1.
    [~HUAWEI] interface 10ge 1/0/1
    [~HUAWEI-10GE1/0/1] undo portswitch
    [*HUAWEI-10GE1/0/1] ntp broadcast-client
    [*HUAWEI-10GE1/0/1] quit
    [*HUAWEI] commit
  • Multicast mode

    # Enable NTP authentication, configure the authentication key, and specify the key as reliable.
    <HUAWEI> system-view
    [~HUAWEI] ntp authentication enable
    [*HUAWEI] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*HUAWEI] ntp trusted authentication-keyid 42
    [*HUAWEI] commit
    # Configure the NTP multicast client to listen to the NTP multicast packets on 10GE1/0/1.
    [~HUAWEI] interface 10ge 1/0/1
    [~HUAWEI-10GE1/0/1] undo portswitch
    [*HUAWEI-10GE1/0/1] ntp multicast-client
    [*HUAWEI-10GE1/0/1] quit
    [*HUAWEI] commit
  • Manycast mode

    # Enable NTP authentication, configure the authentication key, and specify the key as reliable.
    <HUAWEI> system-view
    [~HUAWEI] ntp authentication enable
    [*HUAWEI] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*HUAWEI] ntp trusted authentication-keyid 42
    [*HUAWEI] commit
    # Configure the NTP manycast client to listen to the NTP manycast packets on 10GE1/0/1, and specify key 42 for encryption.
    [~HUAWEI] interface 10ge 1/0/1
    [~HUAWEI-10GE1/0/1] undo portswitch
    [*HUAWEI-10GE1/0/1] ntp manycast-client authentication-keyid 42
    [*HUAWEI-10GE1/0/1] quit
    [*HUAWEI] commit
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 144153

Downloads: 3160

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next