Port counters via snmp on WRVS4400N
Hi.
I'm using SNMP to read the packet and byte counters on each port on my WRVS4400N. However, I just can't figure out what interface is what port. Also, can I see the total traffic on all ports together as well as the wireless traffic via snmp, which I can see in the web admin interface?
An snmpwalk gives me the following interfaces:
IF-MIB::ifDescr.1 lo
IF-MIB::ifDescr.2 eth0
IF-MIB::ifDescr.3 eth1
IF-MIB::ifDescr.4 eth2
IF-MIB::ifDescr.5 teql0
IF-MIB::ifDescr.6 sit0
IF-MIB::ifDescr.7 tunl0
IF-MIB::ifDescr.8 gre0
IF-MIB::ifDescr.9 ipsec0
IF-MIB::ifDescr.10 ipsec1
IF-MIB::ifDescr.11 ipsec2
IF-MIB::ifDescr.12 ipsec3
IF-MIB::ifDescr.13 br0
I have equipment connected to LAN port 1, 2 and 4 as well as wifi clients. And on the WAN port of course. This is what I get in terms of traffic via snmp (only listing ifInOctets here)
IF-MIB::ifInOctets.1 13454252
IF-MIB::ifInOctets.2 1112133396
IF-MIB::ifInOctets.3 1436498580
IF-MIB::ifInOctets.4 11981231
IF-MIB::ifInOctets.5 0
IF-MIB::ifInOctets.6 0
IF-MIB::ifInOctets.7 0
IF-MIB::ifInOctets.8 0
IF-MIB::ifInOctets.9 0
IF-MIB::ifInOctets.10 0
IF-MIB::ifInOctets.11 0
IF-MIB::ifInOctets.12 0
IF-MIB::ifInOctets.13 1080353959
Any ideas here is appreciated. Thanks.
/Thomas
The RFC1213 Management Information Base for Network Management of TCP/IP-based internets: MIB-II describe the ifDescr value as:
ifDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the hardware interface."
There is no standard values for the interface description and you will have to guess from the given name and device caractheristic.
You can also check the OID .1.3.6.1.2.1.2.2.1.3 ifType that can give you a better idea about what it is.
From what you sent we can guess that:
eth0-2 are three Ethernet Interface. But where is the 4th Ethernet interface? Probably it has another name
telq0 should be a load balancing or agregating virtual interface, I guess used for the QoS supported by the router
ipsec0-3 maybe the virtual interface for the ipsec traffic
tunl0 probably the VPN virtual interface
For the reste... you will have to dig a little
I hope this help
Minds are like parachutes, they only function when they are open
Similar Messages
-
Polling port-profile max-ports via snmp
Team,
We have been caught out by the default setting of max-ports=32 in our cloud environment. Our processes dictate that we cannot simply go and change this setting across all customers so instead we need to monitor the setting for any customers geting clsoe to 32.
Can someone tell me if there's an oid to query port-profile information via snmp for a Nexus 1000V?
I've done some simple searching and couldn't find it.
Failing that, do we have to execute a script to login and do a show run?
RyanBRIDGE-MIB has the OIDs to monitor RSTP.
topologyChange NOTIFICATION-TYPE
-- OBJECTS { }
STATUS current
DESCRIPTION
"A topologyChange trap is sent by a bridge when any of
its configured ports transitions from the Learning state
to the Forwarding state, or from the Forwarding state to
the Blocking state. The trap is not sent if a newRoot
trap is sent for the same transition. Implementation of
this trap is optional."
::= { dot1dNotifications 2 }
dot1dStpPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port's current state, as defined by application of
the Spanning Tree Protocol. This state controls what
action a port takes on reception of a frame. If the
bridge has detected a port that is malfunctioning, it
will place that port into the broken(6) state. For
ports that are disabled (see dot1dStpPortEnable), this
object will have a value of disabled(1)."
REFERENCE
"IEEE 802.1D-1998: clause 8.5.5.2"
::= { dot1dStpPortEntry 3 } -
Incorrect bandwidth values via snmp?
I have two cat 2900 16 port switches, for some reason when i read the bandwidth utiliz. values via snmp (PRTG, and MRTG give same results) i only show a steady 1-1.5 kbps up and down flow with occasianal spikes of the upstream to 2 or 3kbps..this is the same across all ports, now if i send something across the switch, nothing changes, nor is any other traffic i throw at the switch reflected... the peculiar thing is if i access the switch's web interface while conducting a 10.5 mbit transfer across the switch, i will see a spike of correct values (as i read on the hosts machines) reported by the snmp agents but only for 2 or 3 reads across 5 second periods..then its back to what i described again.. I've done factory resets on both and both of these snmp agents correctly read the bandwidht values from my dell and intel switches so i've ruled the agents out..
any ideas?
thanks, joeThanks for the quick reply but thats not the problem. its not a units issue as i see somekind of traffic but when i'm maxing out the 100mbps port i see no change in the snmp reported graphs..but like i said i will see the actual values if i'm reloading or access the switches web interface.
this is such a weird issue..and its affecting two swithces that are the same model but from different places.
any ideas? -
MIBS to Monitor Etherchannel and trunks via SNMP
I would like to monitor the status of etherchannel and trunk configurations in 6500 Catalyst switches running both CATOS and IOS. I would like to understand the specific mibs/OIDS that should be monitored for etherchannels and trunks. I am trying to get a better handle on tracking the etherchannels and trunk dynamically and then understanding when the ports are having issues (up/down and errors). I need to understand how to differentiate these type of ports from regular access ports.
Thanks,
TimHi Tim,
what exactly do you want to query via SNMP?
For an (PAgP) Etherchannel, the member-interfaces might be interesting:
https://supportforums.cisco.com/message/3957914#3957914
For a trunk, you could start with the operational mode, depending on the platform you can use:
vlanTrunkPortDynamicStatus (CISCO-VTP-MIB):
vlanTrunkPortDynamicStatus.49 = notTrunking
vlanTrunkPortDynamicStatus.50 = trunking
vlanPortIslOperStatus (CISCO-STACK-MIB):
vlanPortIslOperStatus.13.43 = notTrunking
vlanPortIslOperStatus.13.44 = trunking
Hope that helps
Rolf -
Grab ARP Table via SNMP on HP v1910 switch?
Hello, Just as the topic says, is it possible to grab the ARP table from an HP v1910 switch via SNMP? I'm currently writing a python script that will provide the user IP address to port mappings. Any suggestions are welcome. Thanks in advance!
Hi: You may also want to post your question on the HP Enterprise Business Community support forum -- Procurve Switches section. http://h30499.www3.hp.com/t5/ProCurve-ProVision-Based/bd-p/switching-e-series-forum#.VaKx2ofbLGg
-
MDS9216 & MDS9124 Fabric Switches interface stats. via SNMP
Dear All,
I am interested in monitoring the interface statistics (In/Out bytes) of MDS9216 & MDS9124 Fabric Switches via SNMP and have been researching on what OID (MIB) values shall i poll? Would anyone be able to help me please? I have looked at many places but the closest I could get is the IF-MIB MIB Interface which has ifTable giving ifInOctets and ifOutOctest per port ! I am not sure if this is what i am suppose to poll as the ifInOctets gives 'the total number of octets recieved on the interface' and not the traffic ? What i am interested in is knowing the traffic (rx / tx) on the port at the time of polling so i can poll them say every 5 min. and plot them via something like cacti.
Please let me know if any one has got any suggestion as I am not getting anywhere on this.
Thanks in advance.ifSpeed I see listed here :-
http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/sw/rel_2_x/fabricware/mibs/reference/guide/mibiiobj.html#wp1044690
not sure if that will give you what you need. We use solarwinds to monitor our MDS's. -
Graphing via SNMP: percentagememoryusedaftergc
I'm using RTMT to graph CCX Engine JVM Heap: percentagememoryusedaftergc
Is this same counter available via SNMP? If so, do you know the OID? I'd like to monitor it via our SNMP graphing software rather than RTMT.
ThanksDid you find if these counters are available via SNMP? I just use RTMT performance logging to trend these values. Also, I don't look at the "aftergc" counter, but rather, the "max" and "used" counters. By grabbing both of these, I can produce a nice chart which shows a ceiling, a value, and their relationship.
Just for fun, here's two different systems (the dashed lines) and how the JVM heap gets used and reclaimed throughout a four hour period of the day. These two systems are on 8.5(1) with 256MB of JVM available to them. Again, had I not had the "max" counter logging, you wouldn't be able to tell if this was from a 256MB or 512MB system. Of course, if the values were floating above 256MB, you could reasonably assume the opposite.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches. -
Hi
I have a SA520 configured in load balancing. It is possible to monitor the WAN status via SNMP?
Thanks
MarcoI noticed that Staffan gave a good answer over at Stackoverflow. I'm making a copy of it here if somebody else is searching the forum and would like to know.
"The details are on [this webpage|http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html]. In short, what you have to do is:
* Start with -Dcom.sun.management.snmp.port=portNum
* Copy the ACL template file in JRE_HOME/lib/management/snmp.acl.template to JRE_HOME/lib/management/snmp.acl, and make it readable and writeable by only the owner." -
I would like to monitor my Java application (running in JRockit) via SNMP protocol. I only need some basic informations. Is there any startup parameter that I can add to my app to enable SNMP?
I noticed that Staffan gave a good answer over at Stackoverflow. I'm making a copy of it here if somebody else is searching the forum and would like to know.
"The details are on [this webpage|http://java.sun.com/j2se/1.5.0/docs/guide/management/SNMP.html]. In short, what you have to do is:
* Start with -Dcom.sun.management.snmp.port=portNum
* Copy the ACL template file in JRE_HOME/lib/management/snmp.acl.template to JRE_HOME/lib/management/snmp.acl, and make it readable and writeable by only the owner." -
Interface errors (crc, in/output, collisions etc.) via snmp
Hi,
I'm trying to understand how to get interface errors via SNMP. I do get stats via SNMP for ifInErrors / ifOutErrors etc, but I'm trying to get output via SNMP for the errors visible via the 'sh int x' command - CRC errors, input / output errors, collisions, runts. giants etc.).
1) The SNMP ifInError / ifOutError seems to give an overall counter of all errors from the time the device has started - Am I correct about this?
2) Is there any way I can get the interface-specific errors noted above via SNMP?
Thanks,
MarioDepends on the device and version of code, but most likely you will get what you want from the CISCO-IF-EXTENSION-MIB. Look at objects like cieIfInRuntsErrs, cieIfInGiantsErrs, and cieIfInFramingErrs. You will also get some ethernet-specific errors from the ETHERLIKE-MIB.
-
How do I get the Username of an AnyConnect VPN session via SNMP?
I would like to monitor the usernames of my AnyConnect sessions via SNMP. This will allow me to monitor, graph, report, and alert using Solarwinds Orion (or any other SNMP software).
I would like to monitor this on my ASA 5520. I have run the show snmp-server oidlist command and I can see all of the OID's that I can poll. However, the OID I would like to poll crasUsername (1.3.6.1.4.1.9.9.392.1.3.21.1.1) is not working.
Does anyone know how I can monitor the username of a AnyConnect session via SNMP?
Below is a link to a great MIB reference for ASA Remote Access Monitor OID list.
http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=CISCO-REMOTE-ACCESS-MONITOR-MIB&r=cisco&f=CISCO-REMOTE-ACCESS-MONITOR-MIB.my&v=v2&t=treeHello PDX,
Welcome to the HP Support Forums!
To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
Regards,
JERENDS
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
How to check current input/output rate on router subintenterface via SNMP?
How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
I cant find OID to make this with snmpwalk.
Or there is no way to check current load by this way? Only polling?
P.S. Ethernet subinterface, of course.
With great respect, S.A.Hi,
Try to use:
1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription -
Monitor OSPFv3 via SNMP not working - Is OSPFv3 MIB supported?
I need to be able to query the OSPFv3-MIB via SNMP to track the status of OSPFv3.
I have setup a 3945 router in a test lab network and I have configured it in an Ipv6 network with OSPFv3. The router has an active OSPFv3 neighbor and I can use that neighbor to send/receive data (the routing is working fine). However, when I walk the SNMP MIBs I don't get a response for the OSPFv3-MIB. According to the Cisco SNMP Object Navigator this MIB should be located at 1.3.6.1.3.102.*. Below is an example trying to query a particular OID from the OSPFv3 MIB.
C:\>snmpwalk -v 2c -c public 197.16.18.1 1.3.6.1.3.102.1.5.1.8
SNMPv2-SMI::experimental.102.1.5.1.8 = No Such Object available on this agent at this OID
I can walk other parts of the MIB (For example the OSPFv2 MIB) and get responses, so I know the router has SNMP turned on.
Looking at the Cisco IOS Mib Locator tool (http://tools.cisco.com/ITDIT/MIBS/MainServlet?IMAGE_NAME=c3900-universalk9-mz.SPA.152-4.M3.bin) for the current software version I am running (c3900-universalk9-mz.SPA.152-4.M3.bin) on a 3945 router it claims that the OSPFv3 MIB is supported in this image.
Maybe I need to configure something else? Maybe my SW doesn't really support this MIB? Could it be that I have to query the router over Ipv6 to get the OSPFv3-MIB (I have only been trying Ipv4)?Hi ,
As Vinod suggested , you need to configure the "SNMP CONTEXT"
Configure:
==========
Basic configuration consists of 4 steps:
Configure mapping between VRF name and SNMP context :
snmp-server vrf <vrf_1> context <context_1>
Create community string corresponding to the VRF :
snmp-server community <vrf_1> RW
Define context string
snmp-server context <context_1>
Configure mapping between context and community:
snmp-server community-map <vrf_1> context <context_1>
(optional) Configure snmp server traps for this VRF community
snmp-server host <IP> traps version 2c <vrf_1>
For e.g:
snmp-server vrf miki
context miki_bgp
snmp-server community miki RW
snmp-server context miki_bgp
snmp-server community-map miki context miki_bgp
Hope it will help
Thanks-
Afroz
***Ratings Encourages Contributors *** -
How to restart base station via SNMP ?
How to restart airport extreme via SNMP, with snmpwalk for example ? I can get a lot of information from base station with snmpwalk and airport-mib but still mystery what to poke when I want reboot base station over network.
You are likely forgetting a step.
Open AirPort Utility
Click on the Time Capsule icon
Click Edit in the small window that appears
Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
Click Restart -
No ifIndex table when querying via SNMP
Hello, looking for suggestions before opening up a TAC case.
Just received a Nexus 3000 with NX-OS 6.0(2)U2(1) and when I attempt to walk the ifTable via SNMP the ifIndex table is not present. Walking the ifIndex table itself results in "IF-MIB::ifIndex = No Such Instance currently exists at this OID". show interface snmp-ifindex is fine and the rest of the ifTable displays properly.
My switch config is just a basic RO community with no ACL's or anything yet. A pair of the same switches with NX-OS 5.0(3)U5(1a) display the table no problem.
Any suggestions, or has anyone else seen this?Did you navigate the FireFox plugin to the DB file that is in the Simulator app bundle:
/Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATED_NAME/YOURAPP.app
or
/Users/YOURUSERID/Library/Application Support/iPhone Simulator/User/Applications/SYSTEMGENERATEDNAME/Documents
Message was edited by: xnav
Maybe you are looking for
-
I have purchased some app's like Whatsapp, Flashlight and more from App Store and after about 3 days of usage, all refuse to open up. I have received acknowledgement of payment via email. What should I do to reinstate them?
-
General query using Nano as a iTunes Library back-up
Just wanted know if I used my Nano 3rd Gen solely as a back-up for my iTunes Library (currently also back-up my Library to both an external drive & CDs), how would this affect the Nano's battery life? I would backing up to the Nano once a week but us
-
Certificate error when using connection broker on Mac client
We're using RD Connection Broker using IP address redirection for a couple of years now. Previously Mac client were using iTap RDP without any problems. Clients are connecting using a RD Gateway server. When trying to connect using the latest Microso
-
Why is my execution highlight button not available?
All Debugging buttons are unavailable. they are unavailable in any Vi, even a new blank one. I have tried the following ideas without success. Vi Properties, execution, Allow debugging is ticked, Rentrant execution is not ticked, and prioriy is no
-
How do I find out if I have "double-layer"?
Hi, I just purchased my new MacBook from the store, and I went to the online store, and noted that the model I purchased, the Core 2 Duo with 2G Processor, 80G HD, and 1G of RAM, says it has "Double-layer SuperDrive", however the model I purchased in