Re: Showing Information for all working network ports

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJULt9zn4UF4Br30hZ5tuzm=WdkbeQpHn-BE5KLZVk2d-w@mail.gmail.com>
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

On Sun, Jan 15, 2017 at 12:12 PM, Rajeev Gaur <[email protected]> wrote:

> 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
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
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.