Let's say I have one switch named SwitchA and we have two vlans, vlan 51 (data vlan) and vlan 722 (voice vlan) configured. In order to view which port is configured with vlan 51, we can use command line as below:-
SwitchA>show int status
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected 51 a-full a-100 10/100BaseTX
Fa0/2 connected 51 a-full a-100 10/100BaseTX
If we would like to view which switch port is configured with voice vlan 722, how are we going to archive that? What command we need to issue?