Reset Search



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

« Go Back


TitleHow do you enable RMON MIB on VDX for SNMP queries?
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

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

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 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
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



Was this article helpful?



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

Characters Remaining: 255