In this case, you can perform an mCheck operation to forcibly transit the port to operate in the
original mode.
The device operates in STP, RSTP, PVST, or MSTP mode, depending on the spanning tree mode
setting.
The
stp global mcheck
or PVST mode.
Examples
# Perform mCheck globally.
<Sysname> system-view
[Sysname] stp global mcheck
Related commands
stp mcheck
stp mode
stp ignore-pvid-inconsistency
Use
stp ignore-pvid-inconsistency
Use
undo stp ignore-pvid-inconsistency
Syntax
stp ignore-pvid-inconsistency
undo stp ignore-pvid-inconsistency
Default
Inconsistent PVID protection is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command takes effect only when the device is operating in PVST mode.
Disabling inconsistent PVID protection might cause spanning tree calculation errors. To avoid such
errors, make sure the following requirements are met:
•
Make sure the VLANs on one device do not use the same ID as the PVID of its peer port (except
the default VLAN) on another device.
•
If the local port or its peer is a hybrid port, do not configure the local and peer ports as untagged
members of the same VLAN.
•
Disable inconsistent PVID protection on both the local device and the peer device.
Examples
# In PVST mode, disable the inconsistent PVID protection feature.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] stp ignore-pvid-inconsistency
command takes effect only when the device operates in MSTP, RSTP,
to disable inconsistent PVID protection.
32
to enable inconsistent PVID protection.