< Home

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.

Context

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.

Procedure

  1. Access the system view.

    system-view

  2. Create a keychain and access the keychain view.

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

  3. (Optional) Set parameters in TCP authentication.
    1. Set the TCP kind value of the keychain.

      tcp-kind kind-value

    2. Configure the mapping between the TCP algorithm and algorithm ID.

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

  4. Set the receive tolerance time.

    receive-tolerance { value | infinite }

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >