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

CLI-based Configuration Guide - Security

AR500, AR510, AR531, AR550, AR1500, and AR2500 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).
Configuring an HSB Service

Configuring an HSB Service

Context

An HSB service establishes an HSB channel for transmitting packets of other services and maintains the link status by notifying the HSB group of the faulty link.

An HSB service provides the following functions:
  • Establishing an HSB channel: A TCP channel is established for sending HSB packets by setting the IP addresses and port numbers of the local and peer devices. The HSB service provides packet sending and receiving for other services and notifies link status changes.
  • Maintaining the link status of the HSB channel: HSB packets are sent and retransmitted to prevent long TCP interruption that is not detected by the protocol stack. If a device does not receive an HSB packet from the peer device within the period (retransmission interval x retransmission times), the local device receives a message indicating the exception and then re-establishes a channel to the peer.
NOTE:
  • Parameters for the HSB channel must be configured on the local and remote ends at the same time. The source IP address, destination IP address, source port, and destination port of the local end are the destination IP address, source IP address, destination port, and source port of the remote end, respectively.
  • Parameters of HSB service packets, including the interval and packet retransmission times, must be the same on both ends.
  • Pay attention to the following points when configuring a shared key:
    • Configuring a shared key for HSB service is not recommended in a secure network environment because this configuration will degrade the HSB performance. If the shared key is required, ensure that the same shared key is configured at both ends of the HSB service. Inconsistent keys on both ends will cause frequent interruption of the HSB channel.
    • The key command must be configured before the service-ip-port command; otherwise, the key command will fail to be configured.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run hsb-service service-index

    An HSB service is created and the HSB service view is displayed.

    By default, no HSB service is created.

  3. (Optional) Run key cipher key-string

    The key used by the HSB devices is configured.

    By default, the key used by HSB devices is not configured.

  4. Run service-ip-port local-ip local-ip-address peer-ip peer-ip-address local-data-port local-port peer-data-port peer-port

    The IP address and port number of an HSB channel is configured.

    By default, the IP address and port number of an HSB channel are not configured.

  5. (Optional) Run service-keep-alive detect retransmit retransmit-times interval interval-value

    The retransmission times and interval of HSB packets are set.

    The default number of retransmission times is 5, and the default retransmission interval is 3 seconds.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034236

Views: 96064

Downloads: 58

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