Core issue
The error message is due to the specified interface that has an inconsistent port type and is being held in a spanning-tree blocking state until the port type inconsistency is resolved.
Resolution
Whenever the %SPANTREE-7-BLOCK_PORT_TYPE : Blocking [chars] on [chars]. Inconsistent port type message is received in the logs, perform this procedure:
- Issue the show interfaces fastethernet switchport command on the listed interface and on the interface to which it is connected, to verify they have the same mode (access or trunk).
- If the mode is trunk, verify that both interfaces use the same encapsulation (ISL or 802.1Q).
- Issue the show spanning-tree command for these particular ports, to verify they both are in forwarding mode.
Note: When these parameters are consistent, spanning tree automatically unblocks the interfaces, and the message can be ignored. To avoid these messages in the logs, the logging level must be set to higher than debugging.