- Table of Contents
-
- 12-High Availability Configuration Guide
- 00-Preface
- 01-High Availability Overview
- 02-Active and Standby Switchover Configuration
- 03-Ethernet OAM Configuration
- 04-CFD Configuration
- 05-DLDP Configuration
- 06-RPR Configuration
- 07-RRPP Configuration
- 08-Smart Link Configuration
- 09-Monitor Link Configuration
- 10-VRRP Configuration
- 11-BFD Configuration
- 12-Track Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
02-Active and Standby Switchover Configuration | 73.4 KB |
Configuring active and standby switchover
Active and standby switchover overview··
Configuration restrictions and guidelines
Active and standby switchover configuration task list
Ignoring version check of the standby MPU
Manually configuring active and standby switchover
Displaying and maintaining active and standby switchover
Active and standby switchover overview
If a switch has two main processing units (MPUs), the MPU that forwards and processes packets is called the active MPU, and the MPU that is in the standby state is called the standby MPU. The system uses the main board with a smaller slot number as the active MPU, and the other main board as the standby MPU. The standby MPU keeps its configuration the same as the active MPU through the synchronization function. When the active MPU fails, the standby MPU becomes the active MPU to process services to ensure the normal operation of the switch. This switchover process is called an active and standby switchover.
Active and standby switchover functions in the following ways:
· Automatic active and standby switchover. If the active MPU fails or is removed, the system automatically performs an active and standby switchover to enable the standby MPU to function as the active MPU.
· Manual active and standby switchover, which is an active and standby switchover performed at the command line interface (CLI).
|
NOTE: You cannot execute any command on the standby MPU, and you need to perform configurations at the CLI on the active MPU, which will synchronize the configurations to the standby MPU. |
Configuration restrictions and guidelines
When the switch is operating in standalone mode, you can use the features and functions in this manual to restart the standby MPU to perform an active and standby switchover, implementing redundant backup between the active MPU and the standby MPU. When the switch is operating in IRF mode, you can only use the display switchover state command to view the backup state of the main boards, and other functions and commands do not take effect.
Active and standby switchover configuration task list
Task |
Remarks |
Optional |
|
Optional |
|
Optional |
Ignoring version check of the standby MPU
When the standby MPU is started, the system checks the versions of the active MPU and standby MPU. If the versions of the active MPU and standby MPU are not consistent, the standby MPU cannot be started.
To disable the system from checking the version of the standby MPU:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Ignore version check of the standby MPU. |
ha slave-ignore-version-check |
Enabled by default. |
Restarting the standby MPU
Step |
Command |
1. Enter system view. |
system-view |
2. Manually restart the standby MPU. |
slave restart |
When the standby MPU is restarted, the active MPU performs initial synchronization on the standby MPU. During this process, the system does not respond to your input. When the initial synchronization is completed, you can execute any configuration commands on the active MPU, and the active MPU and standby MPU keep a real-time synchronization process, meaning your configuration on the active MPU will be copied to the standby MPU to ensure the consistency of the current configuration of the active MPU and standby MPU.
Manually configuring active and standby switchover
|
CAUTION: The original active MPU is restarted when an active MPU and standby MPU switchover is performed. Make sure of the consistency of the software version of the active MPU and standby MPU before performing active MPU and standby MPU switchover. If their software versions are not consistent, configure to ignore version check of the standby MPU first. |
Removing the active MPU automatically triggers an active and standby switchover, but might result in loss of the current configuration information and device running data. Therefore, you must perform a manual active and standby switchover before that. The standby MPU then gets the latest data from the active MPU.
To manually configure active and standby switchover:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
1. Enable manual active and standby switchover. |
slave switchover { disable | enable } |
Optional. Enabled by default. |
2. Manually perform active and standby switchover. |
slave switchover |
N/A |
Displaying and maintaining active and standby switchover
Task |
Command |
Remarks |
Display the switchover state of the specified MPU (in standalone mode) |
display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display the switchover state of the specified MPU (in IRF mode). |
display switchover state [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ] |
Available in any view. |