The service-ip-port command configures the IP address and port number of an HSB channel.
The undo service-ip-port command deletes the IP address and port number of an HSB channel.
By default, the IP address and port number of an HSB channel are not configured.
service-ip-port local-ip { local-ipv4-address | local-ipv6-address } peer-ip { peer-ipv4-address | peer-ipv6-address } local-data-port local-port peer-data-port peer-port
undo service-ip-port local-ip { local-ipv4-address | local-ipv6-address } peer-ip { peer-ipv4-address | peer-ipv6-address } local-data-port local-port peer-data-port peer-port
Parameter |
Description |
Value |
---|---|---|
local-ip { local-ipv4-address | local-ipv6-address } |
Specifies the local IPv4 or IPv6 address of the HSB service. |
|
peer-ip { peer-ipv4-address | peer-ipv6-address } |
Specifies the peer IPv4 or IPv6 address of the HSB service. |
|
local-data-port local-port |
Specifies the local port number of the HSB service. |
The value is an integer that ranges from 10240 to 49152. |
peer-data-port peer-port |
Specifies the peer port number of the HSB service. |
The value is an integer that ranges from 10240 to 49152. |
Usage Scenario
After you create an HSB service using the hsb-service command, run the service-ip-port command to configure IP addresses and port numbers for the local and peer devices. When the configuration is complete, the HSB service establishes a Transmission Control Protocol (TCP) channel to transmit packets of other services and notifies service modules of link status changes.
Prerequisites
An HSB service has been created.
Precautions
It is recommended that the HSB channel be configured on an independent and highly reliable physical link.