Vlan Statistics - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

VLAN C
OMMANDS

VLAN STATISTICS

vlan statistics
Overview
This command creates a VLAN packet counter instance, and enables you to add
one or more ports to a defined counter instance. This command can only be
applied to switch ports. You cannot apply it to aggregated links or eth ports.
The no variant of this command enables the deletion of VLAN packet counter
instances, or for removing one or more ports that are currently mapped to a
counter instance. Note that the selected range of ports must all be switch ports.
NOTE
In describing this command, the terms frame and packet are used interchangeably.
Syntax
vlan <vid> statistics name <instance_name>
no vlan statistics name <instance_name>
Mode
Interface Configuration
Usage
A maximum of 128 packet counter instances can be created. When the first
instance is configured, the switch will reserve sufficient resources to support 128
packet counter instances. These resources are also shared with other features such
as QoS and ACLs. Where the remaining resources are insufficient to support the
VLAN Statistics feature the feature will not be enabled, and an error message will
display.
Examples
Create a VLAN packet counter instance named vlan2-data, and apply this to count
incoming vlan2 tagged frames on ports 1.0.4 and 1.0.5.
awplus#
awplus(config)#
awplus(config-if)#
From the previous example, add ports in the range 1.0.2 to 1.0.3 to the VLAN
packet counter instance. The vlan2-data instance will now count all incoming
vlan2 tagged frames on ports within the range 1.0.1 to 1.0.5.
awplus(config)#
awplus(config-if)#
To remove port1.0.5 from the packet counter instance named vlan2-data.
awplus(config)#
awplus(config-if)#
C613-50170-01 Rev B
:
Parameter
Description
<vid>
The VID of the VLAN that is associated with <instance-name>.
<instance-name> The name of the instance for which incoming frames and their
bytes are counted.
configure terminal
interface port1.0.4,port1.0.5
interface port1.0.2-port1.0.3
interface port1.0.5
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
vlan 2 statistics name vlan2-data
vlan 2 statistics name vlan2-data
no vlan statistics name vlan2-data
621

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents