To configure traffic counters for outbound traffic in a specific port region, enter a command such as the
following.
device(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 [slotnum /] 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 slotnum parameter is required on chassis devices.
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.
device#show transmit-counter profiles
Tx Counter
Displaying enhanced traffic counter statistics
To display the traffic counters for outbound traffic, enter the show transmit-counter profiles
command.
NOTE
Once the enhanced traffic counters are displayed, the counters are cleared (reset to zero).
The following shows an example output.
device#show transmit-counter values 1
Transmit Queue Counter Values for Counter 1:
Transmitted Frames:
Known Unicast
Multicast & Unknown Unicast : 2797
Broadcast
Dropped Frames:
Bridge Egress Filtered
Congestion Drops
device#show transmit-counter values 4
Transmit Queue Counter Values for Counter 4:
Transmitted Frames:
FastIron Ethernet Switch Administration Guide
53-1003625-01
Port(s)
Vlan Id
1
1 -
12
All
4
18
10
13 -
24
100
: 17204
: 5
: 2
: 0
Displaying enhanced traffic counter profiles
Priority
Device
All
Dev 0
Set0
1
7
Dev 1
Set0
All
Dev 1
Set1
Set
237
Need help?
Do you have a question about the FastIron and is the answer not in the manual?