VLAN Utilization Graphing via SNMP

  • 19 January 2016
  • 4 replies
  • 386 views

Hi !
I am using s3 chassis with is posible to graph utilization in a interface vlan ?

B O N D E D S 3 - A C H A S S I S
Command Line Interface

Extreme Networks, Inc.
145 Rio Robles
San Jose, CA 95134
Phone: +1 408 579-2800
E-mail: support@extremenetworks.com
WWW: http://www.extremenetworks.com

(c) Copyright Extreme Networks, Inc. 2015

Chassis Serial Number: xxxxxxxxx
Chassis Firmware Revision: 08.32.02.0008 Note: This conversation was created from a reply on: Vlan Graphing.

4 replies

Userlevel 4
If you wish to monitor MIB-II information about a vlan you can create a MIB-II mapping for it and use that in your management application. Some syntax for doing this follows:

set vlan interface
Use this command to create, disable or enables a MIB‐II interface mapping to a VLAN.
Syntax
set vlan interface vlan-list {create | disable | enable} [volatile]
Parameters
vlan‐list Specifies the VLAN(s) for which a MIB‐II interface entry will be created,
disabled or enabled.
create | disable |enable
Creates, disables or enables an interface entry.
volatile (Optional) When the create keyword is used, stores the entry as a
volatile entry. Volatile entries are lost when a system is reset.
Non‐volatile entries are saved in NVRAM and are persistent until
cleared.
Defaults
If volatile is not specified, entries will be created as nonvolatile.
Mode
All command modes.
Usage
This command results in the creation of a VTAP port. A VTAP port provides the data source input
of a port mirror or SMON statistics collection. VTAP creation is the mechanism for adding a
MIB‐II interface table entry for a VLAN. The specified VLAN is assigned a MIB‐II ifIndex. A
VLAN will not have a MIB‐II ifIndex if a VTAP port does not exist for it. You must first create a
VTAP port before creating a port mirror.
Example
This example shows how to create a non‐volatile MIB‐II interface entry mapped to VLAN 1:
System(rw)->set vlan interface 1 create
System(rw)->show vlan interface 1
VLAN MIB-II Interfaces
Max Interfaces : 16
Current Interfaces : 1
VLAN Port Storage Type
-------------------------------------
1 vtap.0.1 non-volatile
System(rw)->
I have created two VTAP Interfaces, how can I get the Total Octets statistics via snmpget?
code:
Switch(su)->show smon vlan

Data Source : vtap.0.999
Status : Enabled
Last Enable Time : 2019-01-10 11:46:54
Owner : (none)
--------------------------------------

Vlan NonUnicast Packets NonUnicast Octets Total Packets Total Octets
---- -------------------- -------------------- -------------------- --------------------
999 460 41572 60803 10695850



According to..

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?module=SMON-MIB&fournisseur=ietf

I should use..

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.16.22.1.2.2.1.5

.. for this. But how can I map the vtap Interface to an specific sub-oid?

code:
X:/usr/share/snmp/mibs # snmpget -v2c -c X IP 1.3.6.1.2.1.16.22.1.2.2.1.5
RMON-MIB::rmon.22.1.2.2.1.5 = No Such Instance currently exists at this OID

X:/usr/share/snmp/mibs # snmpget -v2c -c X IP 1.3.6.1.2.1.16.22.1.2.2.1.5.1000999
RMON-MIB::rmon.22.1.2.2.1.5.1000999 = No Such Instance currently exists at this OID

X:/usr/share/snmp/mibs # snmpget -v2c -c X IP 1.3.6.1.2.1.16.22.1.2.2.1.5.999
RMON-MIB::rmon.22.1.2.2.1.5.999 = No Such Instance currently exists at this OID

X:/usr/share/snmp/mibs # snmpget -v2c -c X IP 1.3.6.1.2.1.16.22.1.2.2.1.5.vtap.0.999
1.3.6.1.2.1.16.22.1.2.2.1.5.vtap.0.999: Unknown Object Identifier (Sub-id not found: rmon -> vtap.0.999)



I'm also not able to do a normal snmpget for ifInOctets for that interface

code:
X:/usr/share/snmp/mibs # snmpget -v2c -c X10.23.10.252 ifInOctets.1000999
IF-MIB::ifInOctets.1000999 = No Such Instance currently exists at this OID
Thanks to Luke from Extreme the answer in my Case is:


smonVlanIdStatsTotalPkts=1.3.6.1.2.1.16.22.1.2.2.1.2
smonVlanIdStatsTotalOctets=1.3.6.1.2.1.16.22.1.2.2.1.5

Based in an SNMPwalk of that my specific VLAN Index-Mapping is:

The instance for VLAN 99 is .1.99
The instance for VLAN 999 is .2.999

So for my queries:

nedi01-bn:~ # snmpget -v2c -c .. IP 1.3.6.1.2.1.16.22.1.2.2.1.5.1.99
nedi01-bn:~ # snmpget -v2c -c .. IP 1.3.6.1.2.1.16.22.1.2.2.1.5.2.999

Reply