Cisco show commands for trunk, interface, etc
show int trunk
show int status
show vlan all-ports
This will show you all vlans on the switch and which ports they are tagged on.
shows all mac addresses
show mac address-table address 8f2h.a859.4e99
find what port a device is connected on based on mac address