Configuring a Protected Instance
Context
Interfaces can be added to a SEP segment only after the SEP segment is configured with protected instances.
Procedure
- Run:
system-view
The system view is displayed.
- (Optional) Create and configure the mapping
between MSTIs and VLANs.
If the stp mode vbst command sets the STP working mode to VBST, you must perform this step to configure the mapping between MSTIs and VLANs. Otherwise, the protected instance in a SEP segment cannot be configured.
Run:
stp region-configuration
The MST region view is displayed.
Run:
instance instance-id vlan vlan-id
The mapping between MSTIs and VLANs is created and configured.
By default, all VLANs map to MSTI 0.
Run:
active region-configuration
The mapping between MSTIs and VLANs is activated.
Run:
quit
Exit from the MST region view.
- Run:
sep segment segment-id
A SEP segment is created and the view of the SEP segment is displayed.
- Run:
protected-instance { all | { instance-id1 [ to instance-id2 ] } &<1-10> }
A protected instance is configured in a SEP segment.
When the mapping between MSTIs and VLANs is configured, instance-id in this step must be the same as instance-id in the instance command.
By default, no protected instance is configured in a SEP segment.
When the mapping between MSTIs and VLANs is not configured, the SEP protected instance is valid for all VLANs.