Displaying vlan counters for a specific port – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 228

Advertising
background image

198

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Displaying VLAN counters

7

p7 0 0 0 0

eth 12/3 -- Extended-counter resource allocation failed – < -- On

encountering Stats ID allocation failure

eth 12/4 0 0 0 0

p0 0 0 0 0

p1 0 0 0 0

<snip>

p6 0 0 0 0

p7 0 0 0 0

Slot 14: < -- module with per-VLAN/port based accounting

Syntax: show vlan vlan-id statistics [detail |routed |switched]

The vlan-id parameter specifies the VLAN ID of the port.

The slot/port parameter specifies the interface module location of a 8x10g module.

Use the routed option to view the counters of routed packets.This option is only accepted if the
accounting mode is to count routed and switched packets separately.

Use the switched option to view the counters of switched packets.This option is only accepted if the
accounting mode is to count routed and switched packets separately.

Use the detail option to view the counters of routed packets, counters of switched packets, and
counters of both routed and switched packets. This option is only accepted if the accounting mode
is to count routed and switched packets separately.

If the “routed” or “switched” option is specified, counters for only routed and switched packets are
displayed respectively, otherwise the output displays combined statistics for both routed and
switched packets.

TABLE 31

Output descriptions of the show vlan command

Displaying VLAN counters for a specific port

To display VLAN counters information for specific port on a VLAN, enter the following command.

Brocade# show vlan 10 statistics ethernet 14/1

VLAN 10: Extended Routed/Switched Counters (only applicable for G2 modules):

Interface RxPkts TxPkts RxBytes TxBytes

eth 14/1 0 0 0 0

To display VLAN counters information for routed packets on a specific port on a VLAN, enter the
following command.

Brocade# show vlan 10 statistics ethernet 14/1 routed

VLAN 10: Extended Routed Counters (only applicable for G2 modules):

Interface RxPkts TxPkts RxBytes TxBytes

eth 14/1 0 0 0 0

Field

Description

Interface

The interface the counter statistics are displayed.

RxPkts

The number of packets received at the specified port.

TxPkts

The number of packets transmitted from the specified port.

RxBytes

The number of bytes received at the specified port.

TxBytes

The number of bytes transmitted from the specified port.

Advertising