Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > snmpwalk for Private Vlan counters on Cisco 3750

Thread Tools

snmpwalk for Private Vlan counters on Cisco 3750

Posts: n/a
I have a script that does an snmpwalk like this

snmpwalk -v 2c -c public <switchIP> ifHCInOCtet

and I get

IF-MIB::ifHCInOctets.1 = Counter64: 54695753 (this is vlan1 )
IF-MIB::ifHCInOctets.50 = Counter64: 29750515 (this is vlan50 )
IF-MIB::ifHCInOctets.99 = Counter64: 1283338600 (this is vlan99 )
IF-MIB::ifHCInOctets.100 = Counter64: 22958261 (this is vlan100 )
IF-MIB::ifHCInOctets.5001 = Counter64: 34873606561 (this is po1 )
IF-MIB::ifHCInOctets.10001 = Counter64: 13014065157228 (this is
f1/0/1 )

So the vlans above are also interfaces

interface Vlan50
description vlan50 MyVlan
no ip address

etc ......

There are also other vlans that I use for private-vlans that are not

vlan 203
name vlan-203-MyPrivateVlan
private-vlan community

These private vlans have a bunch of ports in them.
So with "snmpwalk -v 2c -c public <switchIP> ifHCInOCtet" I can get
traffic for each interface, I actually want to get traffic for each
private-vlan. That amounts to the sum of the traffic of all the ports
in a private vlan.

Is there any way to get this with snmpwalk? Or any snmpwalk query that
will give any info about private vlans?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
snmpwalk for switch port status sky Cisco 0 11-17-2009 08:34 PM
Switch 3750 - Interface VLAN counters H.A.M Cisco 1 10-06-2007 04:26 PM
Please Help! Cisco 3750, 2950, and ASA5540, 7301, single QinQ trunked vlan, feck199 Cisco 1 09-06-2006 01:59 PM
catalyst 2900XL with ATM module - crash after snmpwalk? Duncan Cisco 0 01-11-2006 04:25 PM
3750 VLAN Counters & Assigning IP to Loopback Interface Stevie Cisco 3 12-18-2004 09:01 AM