Discussion:
Showing Information for all working network ports
Rajeev Gaur
2017-01-15 06:42:38 UTC
Permalink
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
Pushpa Thimmaiah
2017-01-19 07:23:46 UTC
Permalink
Use table eg: networkPortTable' with following columnar objects
networkPortEntry with index ifIndex, networkPortIndex
networkPortIndex=<INDEX(0...3)>
networkPortNumber=<NUMBER(1...4)>
networkPortName=<PORT+<PortNumber>>
networkPortConfig=VLAN, NON-VLAN
networkPortEnable=ENABLE, DISABLE
Post by Rajeev Gaur
Hi All
I am new to SNMP and I have been trusted to perform the following job
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
PortIndex=<INDEX(0...3)>
PortNumber=<NUMBER(1...4)>
PortName=<PORT+<PortNumber>>
PortConfig=VLAN, NON-VLAN
PortEnable=ENABLE, DISABLE
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
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...