Enabling accounting on per-slot basis, Enabling accounting on switched or routed packets, Displaying vlan counters – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 227
Multi-Service IronWare Switching Configuration Guide
197
53-1003036-02
Displaying VLAN counters
7
Enabling accounting on per-slot basis
You can enable or disable per-VLAN priority accounting mode on all or a per-slot basis on the
ingress and egress counters. To enable accounting on per-slot basis, enter the following command.
Layer 2 VLAN accounting is enabled by default. Counters are polled once every 50 seconds.
Brocade(config)#statistics
Brocade(config-statistics)#extended-counters priority all
Syntax: [no] extended-counters priority all | slot-number
The slot-number variable specifies the ID of 8x10 module on which you can perform accounting on
per-slot basis.
If the all option is specified, the configuration command is remembered in the system when the
8x10 module is removed.
If you dynamically enable or disable the extended-counters priority configuration, the sum of
counters displayed on a per-priority basis will not be same as the aggregate count displayed on a
per-port or per-VLAN basis.
Enabling accounting on switched or routed packets
To enable or disable accounting on switched packets and routed packets separately, enter the
following example:
Brocade(config)#statistics
Brocade(config-statistics)#extended-counters routed-switched
Syntax: [no] extended-counters routed-switched
If you dynamically enable or disable the extended-counters routed-switched configuration, the
current counters are saved and added to the count of aggregate packet and byte counters on a
per-port or per-VLAN basis and displayed in the output of combined counters.
Displaying VLAN counters
The show vlan commands changed to display port-vlan counters for 8x10G modules.
To display VLAN counters information for specific VLAN, enter the following command.
Brocade# show vlan 10 statistics
VLAN 10: Extended Routed/Switched Counters (only applicable for G2 modules):
Slot 12: < -- module with per-VLAN/port/priority based accounting
Interface RxPkts TxPkts RxBytes TxBytes
eth 12/1 0 0 0 0
p0 0 0 0 0
p1 0 0 0 0
p6 0 0 0 0
p7 0 0 0 0
eth 12/2 0 0 0 0
p0 0 0 0 0
p1 0 0 0 0
p6 0 0 0 0