C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
461
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
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#
configure terminal
awplus(config)#
interface port1.0.4,port1.0.5
awplus(config-if)#
vlan 2 statistics name vlan2-data
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)#
interface port1.0.2-port1.0.3
awplus(config-if)#
vlan 2 statistics name vlan2-data
To remove
port1.0.5
from the packet counter instance named
vlan2-data.
awplus(config)#
interface port1.0.5
awplus(config-if)#
no vlan statistics name vlan2-data
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.