Showing Information for all working network ports

Rajeev Gaur <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKX-g_UjFiBkBrUxEuP5BEkwQ+Khrjd0tmqOfHujOW82pFiTEw@mail.gmail.com>
Hi All

I am new to SNMP and I have been trusted to perform the following job using
NET-SNMP:

I have 4 network ports, that can be active and used in any number (may be 1
port is working at a time or all 4 ports are working at a time). I need to
display the following information for *all working ports* like below:

PortIndex=<INDEX(0...3)>
PortNumber=<NUMBER(1...4)>
PortName=<PORT+<PortNumber>>
PortConfig=VLAN, NON-VLAN
PortEnable=ENABLE, DISABLE

How should I get started with this, specifically, two queries:

a) What should I use scalar or table(SEQUENCE).
b) How can I show the above bundle of information for all working ports.


Thanks
Rajeev

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.