< Home

display cluster negotiation status

Function

The display cluster negotiation status command displays the status of cluster negotiation.

Format

display cluster negotiation status [ history | verbose ]

Parameters

Parameter Description Value
history

Indicates historical cluster negotiation status.

-

verbose

Indicates detailed cluster negotiation status.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

None.

Example

# Displays the status of cluster negotiation.

C_No2_M<sysname> display cluster negotiation status
configuration                                                                   
-------------------------------------------------                               
 cluster id 10000                                                               
 cluster detect-interval 1                                                      
 cluster timer hello 1                                                          
 cluster timer holding-multiplier 10                                            
                                                                                
ID    status   health   version   join                 leave                    
--------------------------------------------------------------------------      
3     slave    10000    A         2017/11/23 15:58:26  2017/11/23 15:17:45      
1     slave    10000    A         2017/11/23 15:58:35  2017/11/23 15:20:38      
2*    master   9960     A         2017/11/23 15:19:45  2017/11/23 15:19:39      
4     down     0        NA        NA                   NA
Table 1 Description of the display cluster negotiation status command output

Item

Description

configuration

The configurations of cluster.

For the cluster detect-interval, cluster timer hello, or cluster timer holding-multiplier command, it is not displayed for the default configuration.

ID

ID of a member in the cluster. The asterisk (*) indicates the local device.

status

Management status of a device.

health

Health rating of the cluster member.

version

Device version. One value indicates one version.

join

Time when the device joins the cluster.

leave

Time when the device leaves the cluster.

# Display historical cluster negotiation status.

C_No2_M<sysname> display cluster negotiation status history

=================================================
From State          To State  Reason
=================================================
2017/12/23 22:21:23
INIT                SLAVE     Negotiation probe
2017/12/23 22:27:38 
SLAVE               MASTER    Re-election       
2017/12/23 22:28:54                       
MASTER              INIT      Disable from CLI        
2017/12/24 01:05:27                       
INIT                SLAVE     Negotiation probe       
2017/12/25 11:17:04                       
SLAVE               MASTER    Re-election             
2017/12/25 11:22:43                       
MASTER              INIT      Channel line down       
2017/12/25 11:35:21                       
INIT                SLAVE     Negotiation probe       
2017/12/25 11:36:10                       
SLAVE               INIT      Channel line down       
2017/12/25 11:36:38                       
INIT                SLAVE     Negotiation probe       
2017/12/25 11:37:14                       
SLAVE               MASTER    Re-election             
2017/12/26 11:28:47                       
MASTER              INIT      Disable from CLI        
2017/12/26 12:56:44                       
INIT                SLAVE     Negotiation probe       
2017/12/26 12:58:20                       
SLAVE               INIT      Disable from CLI        
2017/12/26 13:36:35
SLAVE               MASTER    Re-election

=================================================



Local Priority History
===============================================================================
10000  9996  10000
Table 2 Description of the display cluster negotiation status history command output

Item

Description

From State

Status before the change

To State

Status after the change

Reason

Reason for the change

Local Priority History

Historical health rating change

# Displays the detailed status of cluster negotiation.

C_No1_S<sysname> display cluster negotiation status verbose
Detail
-----------------------------------------------------------
silence:0       hello send:1048721       keep alive:1048720
single:0        master id:2              channel queue:83

elable  hash:87556001
elable  difference:no
cluster id:500
cluster difference:no
version hash:356719604
channel ready:yes
hash mode/gene difference:no


Interface                  Type            Status   IP
-----------------------------------------------------------
GigabitEthernet 0/0/0       negotiation     up       1.0.0.8
GigabitEthernet 0/0/1       backup          up       2.0.0.8
GigabitEthernet 0/0/2       forward         up       3.0.0.8


Node  IP                   Status       Send-hello     Active
-------------------------------------------------------------------
1*    1.0.0.8              up           0              yes         
2     1.0.0.9              up           1              yes         
3     1.0.0.10             down         0              no          
4     1.0.0.11             down         0              no          


Key Property                                                       
-------------------------------------------------------------------
C:Cluster ID  S:Smooth Upgrade  M:Hash Mode                        
G:Hash Gene  E:Elable  Y: Permit  N:Deny                           
Node      C         S         E         M         G                
-------------------------------------------------------------------
1*        Y         Y         Y         Y         Y                
2         Y         Y         Y         Y         Y                
3         Y         N         Y         Y         Y                
4         Y         N         Y         Y         Y                


Reason Of Preemption Under The Same Health                         
-------------------------------------------------------------------
F:First Join  C:Cluster Enable   K:Encryption-Key   H:Health Change
U:Upgrade System-Software   L:Leave For a Long Time                
  
Node    F(H)         C         K         U         L               
-------------------------------------------------------------------
1*      N(Y)         N         Y         N         N               
2       Y(N)         N         N         N         N               


DataPlane Channel Status For All Nodes                             
-------------------------------------------------------------------
Source-Node Destination-Node(Negotiation,Backup)                   
Y:Channel Is Normal  N:Channel Is Abnormal                         
  
1*      --          2(Y,Y)      3(N,N)      4(N,N)                 
2       1(Y,Y)      --          3(N,N)      4(N,N)                 
3       1(N,N)      2(N,N)      --          4(N,N)                 
4       1(N,N)      2(N,N)      3(N,N)      --
Table 3 Description of the display cluster negotiation status verbose command output

Item

Description

Detail

  • silence: ID of the quiet timer
  • hello send: ID of the sending timer
  • keep alive: ID of the keepalive timer
  • Single: whether the cluster has only one device, which can be 0 (indicating that the cluster has multiple devices) and 1 (indicating that the cluster has only one device)
  • master id: management master ID
  • channel queue: queue ID

elable hash

Hash value of the electronic label

elable difference

Whether cluster members have different electronic labels, which can be no (indicating that they have the same electronic labels) and yes (indicating that they have different electronic labels)

cluster id

Cluster ID

cluster difference

Whether cluster IDs are different, which can be no (indicating that the cluster IDs are the same) and yes (indicating that the cluster IDs are different)

version hash

Hash value of the software version name

channel ready

Channel ready status

hash mode/gene difference

Whether cluster members have different hash modes and hash genes, which can be no (indicating that they have the same hash modes and hash genes) and yes (indicating that they have different hash modes and hash genes)

Interface/Type/Status/IP

Interface name/Channel type/Status/IP address

Node/IP/Status/Send-hello/Active

  • Node: cluster member ID, with the asterisk (*) indicating a local device
  • IP: IP address of the negotiation channel
  • Status: status of the negotiation channel
  • Send-hello: whether the response from the peer times out after the Hello packet is sent, which can be 0 (indicating that the response from the peer does not time out) and X (indicating the number of times the response from the peer times out)
  • Active: whether a cluster member carries services, which can be no (indicating that the cluster member does not carry services) and yes (indicating that the cluster member carries services)

Key Property

  • Cluster ID: whether cluster IDs are consistent
  • Smooth Upgrade: whether the smooth cluster upgrade is complete
  • Hash Mode: whether hash modes are the same
  • Hash Gene: whether hash genes are the same
  • Elable: whether electronic labels are the same

Reason Of Preemption Under The Same Health

  • First Join: joining a cluster for the first time
  • Cluster Enable: enabling the cluster function
  • Encryption-Key: configuring the shared key of the cluster
  • Health Change: decreased health value
  • Upgrade System-Software: system software upgrade
  • Leave For a Long Time: cluster members leaving for more than 24 hours

If the preceding events occur on a cluster member, Y is displayed in the corresponding field. Otherwise, N is displayed.

DataPlane Channel Status For All Nodes

Status of the channel data plane, such as 1* -- 2(Y,Y) 3(N,N) 4(N,N):
  • 2(Y,Y): indicates that the data plane of the negotiation channel from node 1 to node 2 is normal or the data plane of the backup channel is normal.
  • 3(N,N): indicates that the data plane of the negotiation channel from node 1 to node 3 is abnormal or the data plane of the backup channel is abnormal.
  • 4(N,N): indicates that the data plane of the negotiation channel from node 1 to node 4 is abnormal or the data plane of the backup channel is abnormal.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >