Query the change detection setting to show the port information.
show spanning-tree config
None
User EXEC