Configuration syntax, Displaying enhanced traffic counter profiles, Displaying enhanced traffic counter statistics – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 270

236
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
Basic management
Configuration syntax
This section provides the syntax and configuration examples for enhanced traffic counters.
Example
To configure traffic counters for outbound traffic on a specific port, enter a command such as the
following.
TurboIron(config)#transmit-counter 4 port 18 only vlan 1 prio 7 enable
The above command creates and enables traffic counter 4 on port 18. The device will count the
number of packets sent out on port 18 that are in VLAN 1 and have a priority queue of 7.
Example
To configure traffic counters for outbound traffic in a specific port region, enter a command such as
the following.
TurboIron(config)#transmit-counter 1 port 1 region vlan all prio all enable
The above command creates and enables traffic counter 1 on all ports that are in the same port
region as port 1. The device will count the number of packets transmitted in this port region that
belong to any VLAN and have any assigned priority queue.
Syntax: [no] transmit-counter <counter-ID> port <port-num> only | region vlan <vlan-ID> | all
priority <priority-queue> | all enable
Enter the no form of the command to remove the outbound traffic counter.
The <counter-ID> parameter identifies the traffic counter. You can configure up to 64 traffic
counters. Enter a number from 1 – 64.
The <port-num> parameter is the port number to which enhanced traffic counters will apply. Enter
the port number followed by only to apply the enhanced traffic counter to a specific port, or enter
the port number followed by region to apply the enhanced traffic counter to all of the ports in the
port region.
The <vlan-ID> parameter identifies the VLAN ID for which outbound traffic will be counted. Enter a
number from 0 – 4095 or enter all to indicate all VLANs.
The <priority-queue> parameter identifies the 802.1p priority queue for which traffic will be
counted. Enter a number from 0 – 7 or enter all to indicate all priority queues.
Displaying enhanced traffic counter profiles
To display the details of the traffic counters configured on your device, enter the show
transmit-counter profiles command. The following shows an example output.
Displaying enhanced traffic counter statistics
To display the traffic counters for outbound traffic, enter the show transmit-counter profiles
command.
TurboIron#show transmit-counter profiles
Tx Counter Port(s) Vlan Id Priority Device Set
1 1 - 12 All All Dev 0 Set0
4 18 1 7 Dev 1 Set0
10 13 - 24 100 All Dev 1 Set1