Register  ·  Sign In  ·  Help
Jump to Page:   1
Port counters via snmp on WRVS4400N
Options    Options  
egge
Regular visitor
Posts: 4
Registered: 03-24-2007


egge

Message 1 of 3

Viewed 1,161 times


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
1
Kudos!
03-24-2007 03:21 PM  

  Reply   Reply  
Re: Port counters via snmp on WRVS4400N
Options    Options  
SkyKing69
Frequent visitor
Posts: 1
Registered: 11-17-2007


SkyKing69

Message 2 of 3

Viewed 979 times


Thomas, I have precisely the same question. I need to know how to tie these seemingly obscure identifiers to specific port numbers. If someone can point me to literature documenting the information specific to this router I am glad to go read it. The router documentation gives little detail and no guidance and I cannot find anything within the router itself. In addition to that I need clarification - is SNMP going to give me specific client information about each wireless connection, or is it only going to generate information from the four individual fixed switch ports and then combine the information presented from wireless client connections? If that is the case what is the port number for the wireless connection? Thanks, Phil
Kudos!
11-17-2007 01:28 PM  

  Reply   Reply  
Re: Port counters via snmp on WRVS4400N
Options    Options  
Gautier
Contributor
Posts: 13
Registered: 10-09-2007


Gautier

Message 3 of 3

Viewed 837 times


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
Kudos!
02-18-2008 04:18 AM  

  Reply   Reply  
Jump to Page:   1