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


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


CLI-based Configuration Guide - Security

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
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).
Creating a Keychain

Creating a Keychain


A keychain must be created before applications are authenticated and encrypted. Deleting the keychain in use may interrupt communication. Exercise caution when you delete the keychain.

Transmission Control Protocol (TCP) applications are connected using TCP authentication. TCP uses enhanced TCP authentication options to send TCP authentication packets. Vendors use different kind-values to represent the enhanced TCP authentication option and different IDs to represent different algorithms. When a keychain is applied to a TCP application, you must configure the kind value and the mapping between the TCP algorithm and algorithm ID based on the peer configuration so that devices of different vendors can communicate.


  1. Run system-view

    The system view is displayed.

  2. Run keychain keychain-name mode { absolute | periodic { daily | weekly | monthly | yearly } }

    A keychain is created and the keychain view is displayed.

  3. (Optional) Configure parameters in TCP authentication.
    1. Run tcp-kind kind-value

      The TCP type value of the keychain is configured.

    2. Run tcp-algorithm-id { hmac-md5 | hmac-sha-256 | hmac-sha1-12 | hmac-sha1-20 | md5 | sha-1 | sha-256 } algorithm-id

      The mapping between the TCP algorithm and algorithm ID is configured.


      HMAC-MD5 and MD5 have potential security risks. HMAC-SHA-256 or SHA-256 is recommended.

  4. (Optional) Run receive-tolerance { value | infinite }

    The receive tolerance time is configured.


    You are advised to set the receive tolerance time to advance the start receive time and delay the end receive time so that packets are not lost due to time asynchronization on the network.

Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 134057

Downloads: 242

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