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.


Configuration Guide - Security

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, MPAC, separating the management plane from the service plane, security risks, PKI.
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 will 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 kind 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.

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

    The receive tolerance time is configured.


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

    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-03-28

Document ID: EDOC1000178177

Views: 220540

Downloads: 714

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