- Table of Contents
-
- 11-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-NTP commands
- 04-PoE commands
- 05-SNMP commands
- 06-RMON commands
- 07-NETCONF commands
- 08-CWMP commands
- 09-EAA commands
- 10-Process monitoring and maintenance commands
- 11-Mirroring commands
- 12-sFlow commands
- 13-Information center commands
- 14-VCF fabric commands
- 15-Cloud connection commands
- 16-SmartMC commands
- 17-WiNet commands
- 18-EPA commands
- Related Documents
-
Title | Size | Download |
---|---|---|
15-Cloud connection commands | 63.33 KB |
Cloud connection commands
The S3100V3-EI switch series does not support cloud connections.
cloud-management keepalive
Use cloud-management keepalive to set the keepalive interval for the local device to send keepalive packets to the H3C cloud server.
Use undo cloud-management keepalive to restore the default.
Syntax
cloud-management keepalive interval
undo cloud-management keepalive
Default
The keepalive interval is 180 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the keepalive interval in the range of 180 to 600 seconds.
Usage guidelines
If the device does not receive a response from the H3C cloud server within three keepalive intervals, the device sends a registration request to re-establish the cloud connection.
Examples
# Set the keepalive interval to 360 seconds.
<Sysname> system-view
[Sysname] cloud-management keepalive 360
cloud-management server domain
Use cloud-management server domain to configure the domain name of the H3C cloud server.
Use undo cloud-management server domain to restore the default.
Syntax
cloud-management server domain domain-name
undo cloud-management server domain
Default
The default settings are as follows:
· The domain name of the cloud server is not configured for the S5130S-HI, S5130S-EI, S3100V3-EI, E500C, E500D, and E128C & E152C switch series.
· For the S5130S-SI and S5120V2-SI switch series:
¡ The domain name of the cloud server is not configured for a switch that starts up with the initial configuration.
¡ The domain name of the cloud server is oasis.h3c.com for a switch that starts up with the factory defaults.
For more information about the initial configuration and factory defaults, see Fundamentals Configuration Guide.
Views
System view
Predefined user roles
network-admin
Parameters
domain-name: Specifies the domain name of the H3C cloud server, a case-sensitive string of 1 to 253 characters.
Usage guidelines
Before you configure the domain name of the H3C cloud server, make sure a DNS server has been configured to translate the domain name.
If you execute the command multiple times, the most recent configuration takes effect.
Examples
# Configure the domain name of the H3C cloud server as abc.com.
<Sysname> system-view
[Sysname] cloud-management server domain abc.com
cloud-management server password
Use cloud-management server password to set the password for establishing cloud connections to the cloud server.
Use cloud-management server password to restore the default.
|
NOTE: This command is supported only in Release 6328 and later. |
Syntax
cloud-management server password { cipher | simple } string
undo cloud-management server password
Default
No password is set for establishing cloud connections to the cloud server.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
cipher: Specifies the password in encrypted form.
simple: Specifies the password in plaintext form. For security purposes, the password specified in plaintext form will be stored in encrypted form.
string: Specifies the password. The plaintext form is a case-sensitive string of 1 to 63 characters. The encrypted form is a case-sensitive string of 1 to 117 characters.
Usage guidelines
After you change the password, the device terminates the cloud connections that have been established (if any) and uses the new password to establish cloud connections.
Examples
# Set the password for establishing cloud connections to the cloud server to 12345678TESTplat&! in plaintext format.
<Sysname> system-view
[Sysname] cloud-management server password simple 12345678TESTplat&!
display cloud-management state
Use display cloud-management state to display cloud connection state information.
Syntax
display cloud-management state
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display cloud connection state information.
<Sysname> display cloud-management state
Cloud connection state : Established
Device state : Request_success
Cloud server address : 10.1.1.1
Cloud server domain name : abc.com
Cloud server port : 443
Connected at : Wed Jan 27 14:18:40 2016
Duration : 00d 00h 02m 01s
Process state : Message received
Failure reason : N/A
Table1-1 Command output
Field |
Description |
Cloud connection state |
Cloud connection state: Unconnected, Request, and Established. |
Device state |
Local device state: · Idle—In idle state. · Connecting—Connecting to the H3C cloud server. · Request_CAS_url—Sent a central authentication service (CAS) URL request. · Request_CAS_url_success—Requesting CAS URL succeeded. · Request_CAS_TGT—Sent a ticket granting ticket (TGT) request. · Request_CAS_TGT_success—Requesting TGT succeeded. · Request_CAS_ST—Sent a service ticket (ST) request. · Request_CAS_ST_success—Requesting ST succeeded. · Request_cloud_auth—Sent an authentication request. · Request_cloud_auth_success—Authentication succeeded. · Register—Sent a registration request. · Register_success—Registration succeeded. · Request—Sent a handshake request. · Request_success—Handshake succeeded. |
Cloud server address |
IP address of the H3C cloud server. |
Cloud server domain name |
Domain name of the H3C cloud server. |
Cloud server port |
TCP port number used to establish cloud connections. |
Connected at |
Time when the cloud connection was established. |
Duration |
Duration since the establishment of the cloud connection. |
Process state |
Cloud connection processing state: · DNS not parsed. · DNS parsed. · Message not sent. · Message sent. · Message not received. · Message received. |
Failure reason |
Cloud connection failure reason: · DNS parse failed. · Socket connection failed. · SSL creation failed. · Sending CAS url request failed. · Sending CAS TGT failed. · Sending CAS ST failed. · Sending cloud auth request failed. · Sending registration request failed. · Processing CAS URL response failed. · Processing CAS TGT response failed. · Processing CAS ST response failed. · Processing cloud auth response failed. · Processing registration response failed. · Sending handshake request failed. · Processing handshake failed. · Sending websocket request failed. · Processing websocket packet failed. |
reset cloud-management tunnel
Use reset cloud-management tunnel to re-establish the cloud connection to the H3C cloud server.
Syntax
reset cloud-management tunnel
Views
User view
Predefined user roles
network-admin
Examples
# Re-establish the cloud connection to the H3C cloud server.
<Sysname> reset cloud-management tunnel