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.
- 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. In addition, the IP address protocol stacks of the local and remote ends must be the same and must be IPv4 or IPv6 at the same time.
- 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.