- Table of Contents
-
- 08-System Volume
- 00-System Volume Organization
- 01-Login Commands
- 02-Basic System Configuration Commands
- 03-Device Management Commands
- 04-File System Management Commands
- 05-SNMP Commands
- 06-RMON Commands
- 07-MAC Address Table Management Commands
- 08-System Maintaining and Debugging Commands
- 09-Information Center Commands
- 10-PoE Commands
- 11-Track Commands
- 12-NQA Commands
- 13-NTP Commands
- 14-VRRP Commands
- 15-HA Commands
- 16-Hotfix Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
15-HA Commands | 21.81 KB |
HA Configuration Commands
display switchover state
Syntax
display switchover state [ slot-id ]
View
Any view
Default Level
1: Monitor level
Parameters
slot-id: Slot ID of the active main board (AMB) or standby main board (SMB).
Description
Use the display switchover state command to display the switchover state.
This command displays the switchover state on the AMB or the SMB depending on the slot number specified. The switchover state of the AMB will be displayed if no slot number is specified.
Examples
# Display the switchover state on the AMB.
<Sysname> display switchover state
HA FSM State(master): Slave is absent.
Table 1-1 display switchover state command output description
Field |
Description |
Slave is absent |
The SMB is not in the slot. |
Waiting batch backup request from slave |
Waiting for the backup requests from the SMB |
Batch backup |
Backup state |
Realtime and routine backup to slave |
Real-time or routine backup state |
slave restart
Syntax
slave restart
View
System view
Default Level
2: System level
Parameters
None
Description
Use the slave restart command to manually configure the SMB to restart.
When the backup system program operates abnormally and needs to be reloaded, you can manually restart the SMB.
Examples
# Restart the SMB.
<Sysname> system-view
[Sysname] slave restart
The slave will reset! Continue?[Y/N]:y
slave switchover
Syntax
slave switchover
View
System view
Default Level
2: System level
Parameters
None
Description
Use the slave switchover command to manually configure the switchover between the AMB and SMB.
Related commands: slave switchover { disable | enable }.
Examples
# Manually configure the switchover between the AMB and the SMB.
<Sysname> system-view
[Sysname] slave switchover
Caution!!! Confirm switch slave to master?[Y/N] y
Starting.....
RAM Line....OK
slave switchover { disable | enable }
Syntax
slave switchover { disable | enable }
View
System view
Default Level
2: System level
Parameters
disable: Disables manual configuration of the switchover between the AMB and SMB.
enable: Enables manual configuration of the switchover between the AMB and SMB.
Description
Use the slave switchover disable command to disable manual switchover function between the AMB and SMB.
Use the slave switchover enable command to enable manual switchover function between the AMB and SMB.
By default, manual configuration of the switchover between the AMB and SMB is enabled.
Related commands: slave switchover.
Examples
# Enable manual configuration of the switchover between the AMB and SMB.
[Sysname] slave switchover enable