Traffic counters configuration notes, Traffic counters configuration syntax – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 235

Advertising
background image

Traffic counters configuration notes

Consider the following rules when configuring traffic counters for outbound traffic.

• This feature is supported on FastIron X Series devices only.
• This feature is supported in the Layer 2 and Layer 3 codes.
• This feature applies to physical ports only, including 10 Gbps Ethernet ports and trunk ports. It does

not apply to virtual interfaces.

• Once the enhanced traffic counters are read using the show transmit-counter values command,

the counters are cleared (reset to zero).

• For each port region, you can enable a maximum of two traffic counters, regardless of whether traffic

counters are enabled on individual ports or on all ports in the port region.

• Traffic counters increase for bridged filtered outbound traffic when any of the following conditions

occur:

The port is disabled or the link is down.

The port or port region does not belong to the VLAN specified in the transmit counter
configuration.

A Layer 2 protocol (e.g., spanning tree) has the port in a Blocked state.

The source port needs to be suppressed for multi-target packets.

The priority queue specified in the traffic counter is not allowed for some other reason.

Unknown unicast and unregistered multicast packets are filtered.

Traffic counters configuration syntax

This section provides the syntax and configuration examples for enhanced traffic counters.

To configure traffic counters for outbound traffic on a specific port, enter a command such as the
following.

device(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.

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.

Traffic counters configuration notes

FastIron Ethernet Switch Administration Guide

235

53-1003075-02

Advertising