(Optional) Configuring STP Multi-Process
Context
STP multi-process is used for independent calculation of spanning trees between M-LAG access devices. After STP multi-process is enabled, some M-LAG member interfaces on M-LAG devices can be managed in each process. Devices perform STP calculation based on processes, and the interfaces that are not in processes do not participate in STP calculation of processes. This speeds up STP convergence.
STP multi-process must be configured simultaneously on M-LAG master and backup devices, including the number of processes, process ID, and the status of STP. Otherwise, the V-STP function cannot be used.
Procedure
- Run system-view
The system view is displayed.
- Run stp process process-id
An STP process is created and the STP process view is displayed.
- Run stp mode { stp | rstp }
The working mode of the STP process is configured.
By default, the working mode of an STP process is MSTP. V-STP does not support the MSTP mode, so the V-STP mode needs to switch to STP or RSTP. When a switch starts, the default STP process with the ID of 0 exists. STP configurations in the system view and interface view belong to STP process 0.
- Run stp enable
MSTP of the STP process is enabled.
By default, STP in a process is disabled.
- Run commit
The configuration is committed.