< Home

display api call-home connection status

Function

The display api call-home connection status command displays the call-home host connection status.

Format

display api call-home connection status

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The call-home host can be in any of the following statuses:
  • idle: No connection is initiated, or the host IP address is not parsed.
  • connecting: The host is being connected.

  • succeeded: The connection is successful.

  • failed: Failed to connect to the host.

  • disconnect: The host connection was torn down. The possible cause is that the call-home host tore down the connection, authentication failed, or the network connection failed.

The query results from succeeded to disconnect are displayed 0 to 2 minutes later, and the query results from disconnect to succeeded are displayed 0 to 3 minutes later.

Example

# Display the connection status of all call-home hosts.

<sysname> display api call-home connection status
--------------------------------------------------                                                                                  
 Host Name              : host1                                                                                                         
 IP Address             : 1.1.1.1                                                                                                   
 Connect-state          : succeeded                                                                                                
                                                                                                                                    
-------------------------------------------------- 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >