< Home

display hsb-service

Function

The display hsb-service command displays information about an HSB service.

Format

display hsb-service service-index

Parameters

Parameter

Description

Value

service-index

Specifies the ID of an HSB service.

The value is fixed as 0.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to view information about an HSB service.

Example

# Display the HSB service configuration.

<HUAWEI> display hsb-service 0
Hot Standby Service Information:
----------------------------------------------------------
  Local IP Address       : 192.168.4.1
  Peer IP Address        : 192.168.4.2
  Source Port            : 10245
  Destination Port       : 10245
  Keep Alive Times       : 5
  Keep Alive Interval    : 3
  Service State          : Not Valid
  Service Batch Modules  :
  Shared-key             : -
----------------------------------------------------------
Table 1 Description of the display hsb-service command output

Item

Description

Local IP Address

IP address of the local device.

To set this parameter, run the service-ip-port command.

Peer IP Address

IP address of the peer device.

To set this parameter, run the service-ip-port command.

Source Port

Local port number.

To set this parameter, run the service-ip-port command.

Destination Port

Destination port number.

To set this parameter, run the service-ip-port command.

Keep Alive Times

Number of times that heartbeat packets are sent.

To set this parameter, run the service-keep-alive detect command.

Keep Alive Interval

Interval for sending heartbeat packets.

To set this parameter, run the service-keep-alive detect command.

Service State

Status of the HSB service:

  • Connected
  • Disconnected
  • Not Valid

Service Batch Modules

Service modules bound to an HSB service.

Shared-key

Key used by the HSB devices.

To set this parameter, run the key command.

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