Follow this procedure to enable statistics on a VLAN.
device# configure terminal
device(config)# vlan 5 device(config-vlan-5)#
device(config-vlan-5)# statistics
Note
Use the no statistics command to disable statistics on VLANs.device(config-vlan-5)# no statistics