Viewing ports configured with PVST protection and filtering

Viewing all ports with PVST protection enabled

switch(config)# show spanning-tree pvst-protection

Status and Counters - PVST Port(s) BPDU Protection Information

BPDU Protection Timeout (sec) : 0
PVST Protected Ports : 5-6

Viewing all ports with PVST filtering enabled

switch(config)# show spanning-tree pvst-filter
Status and Counters - PVST Port(s) BPDU Filter Information
PVST Filtered Ports : 8