Reset Search
 

 

Article

How do you enable RMON MIB on VDX for SNMP queries?

« Go Back

Information

 
TitleHow do you enable RMON MIB on VDX for SNMP queries?
Question
By default, the RMON MIB is disabled on the VDX switches. If not enabled, the following error is returned when a SNMP query is done against it:

$ snmpwalk -v 2c -c public 10.17.76.75 1.3.6.1.2.1.16.1

RMON-MIB::statistics = No Such Object available on this agent at this OID

Environment
Answer
To enabled RMON MIB, configure "rmon collection stats 12 owner <string>" under the specific interface level.

NOTE: Once enabled, RMON will begin monitoring the counters, so the query may not return the same counter value as the current value on the interface(s). After enabling RMON, run "clear counters", then perform the query again to ensure the counters are at the same baseline as when RMON was enabled.

sw0(conf-if-te-207/0/12)# do sh run int te 207/0/12
interface TenGigabitEthernet 207/0/12
fabric isl enable
fabric trunk enable
switchport
switchport mode access
switchport access vlan 300
spanning-tree shutdown
rmon collection stats 12 owner test_p <//----------------------------------
no shutdown
!


Then, the SNMP queries will return successfully.

$ snmpwalk -v 2c -c public 10.17.76.75 1.3.6.1.2.1.16.1
RMON-MIB::etherStatsIndex.12 = INTEGER: 12
RMON-MIB::etherStatsDataSource.12 = OID: IF-MIB::ifName.403046411
RMON-MIB::etherStatsDropEvents.12 = Counter32: 0
RMON-MIB::etherStatsOctets.12 = Counter32: 9588642 Octets
RMON-MIB::etherStatsPkts.12 = Counter32: 50590 Packets
RMON-MIB::etherStatsBroadcastPkts.12 = Counter32: 16909 Packets
RMON-MIB::etherStatsMulticastPkts.12 = Counter32: 33681 Packets
RMON-MIB::etherStatsCRCAlignErrors.12 = Counter32: 0 Packets
RMON-MIB::etherStatsUndersizePkts.12 = Counter32: 0 Packets
RMON-MIB::etherStatsOversizePkts.12 = Counter32: 0 Packets
RMON-MIB::etherStatsFragments.12 = Counter32: 0 Packets
RMON-MIB::etherStatsJabbers.12 = Counter32: 0 Packets
RMON-MIB::etherStatsCollisions.12 = Counter32: 0 Collisions
RMON-MIB::etherStatsPkts64Octets.12 = Counter32: 38 Packets
RMON-MIB::etherStatsPkts65to127Octets.12 = Counter32: 23095 Packets
RMON-MIB::etherStatsPkts128to255Octets.12 = Counter32: 12147 Packets
RMON-MIB::etherStatsPkts256to511Octets.12 = Counter32: 15294 Packets
RMON-MIB::etherStatsPkts512to1023Octets.12 = Counter32: 16 Packets
RMON-MIB::etherStatsPkts1024to1518Octets.12 = Counter32: 0 Packets
RMON-MIB::etherStatsOwner.12 = STRING: "test_p"
RMON-MIB::etherStatsStatus.12 = INTEGER: valid(1)
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255