This is an old revision of the document!
To show the VLANs and port assignments: show vlan brief
Show which VLANs are allowed on the trunk port:
show interfaces gigabitEthernet 1/0/24 trunk
If you want to specify which VLANs are allowed on the trunk port:
int gi1/0/24 switchport trunk allowed vlan 1,100
But if you don't specify, then it will allow all VLANs. (I think… but this is not confirmed)