Various useful commands in the VLAN management of Cisco IOS devices.
Switches:
vlan database(Pril. mode): enter VLAN database mode to maintain VLAN database, another command – apply might be entered to save the changes after modifying.
show interface trunk(Pril. mode): display allowed trunking vlan on each interface.
show vlan(Pril. mode):
Routers:
show vlans(Pril. mode): display Virtual LANs information. (It would also specify which VLAN ID is native VLAN)