MIB Walk on the IP Table


The following listing illustrates an excerpt from walking the IP routing table. It uses the example Visual C++ application described in Chapter 6, "Network Management Software Components."

[View full width]
 
[View full width]
D:\Visual C++ Projects\ debug\snmputilv5.exe WALK 10.81.1.133 public .iso.org.dod. graphics/ccc.gif internet.mgmt.mib-2.ip Variable = ip.ipForwarding.0 Value = Integer32 1 Variable = ip.ipDefaultTTL.0 Value = Integer32 255 Variable = ip.ipInReceives.0 Value = Counter32 5608115 Variable = ip.ipInHdrErrors.0 Value = Counter32 3 Variable = ip.ipInAddrErrors.0 Value = Counter32 0 Variable = ip.ipForwDatagrams.0 Value = Counter32 4 Variable = ip.ipInUnknownProtos.0 Value = Counter32 10 Variable = ip.ipInDiscards.0 Value = Counter32 0 Variable = ip.ipInDelivers.0 Value = Counter32 5602411 Variable = ip.ipOutRequests.0 Value = Counter32 3717989 Variable = ip.ipOutDiscards.0 Value = Counter32 2489 Variable = ip.ipOutNoRoutes.0 Value = Counter32 4 Variable = ip.ipReasmTimeout.0 Value = Integer32 30 Variable = ip.ipReasmReqds.0 Value = Counter32 0 Variable = ip.ipReasmOKs.0 Value = Counter32 0 Variable = ip.ipReasmFails.0 Value = Counter32 0 Variable = ip.ipFragOKs.0 Value = Counter32 0 Variable = ip.ipFragFails.0 Value = Counter32 0 Variable = ip.ipFragCreates.0 Value = Counter32 0


Network Management, MIBs and MPLS
Network Management, MIBs and MPLS: Principles, Design and Implementation
ISBN: 0131011138
EAN: 2147483647
Year: 2003
Pages: 150

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net