To see inbound and outbound traffic for a particular VLAN, enableVLAN statistics for the VLAN.
To enable or disable accounting on switched packets and routed packets separately, enter the following:
NetIron#shVLAN 10 statistics detail
VLAN 10:Extended Counters <-- only applicable for G2 modules
Interface RxPkts TxPkts RxBytes TxBytes
Routed 0 0 0 0
Switched 0 0 0 0
Combined 0 0 0 0
Note: This also enables SNMP view of statistics for virtual routing interfaces on 8x10 modules only. Other line cards are not supported by this feature.