One way would be to reference a PortList in a custom PortListTable. Create a
new table, PortListTable with index, listIndex startPort, and endPort. If,
for example, you would like to have two ranges for ports (30001-30100 and
400-1200), you would add two records to this table:
index = 1, listIndex = 1, startPort = 400, endPort = 1200
index = 2, listIndex = 1, startPort = 30001, endPort = 30100
In your object that holds a PortList, simply hold the index to the list (in
this case 1).
Eran
On Thu, Feb 3, 2011 at 7:02 AM, Biswajit Mandal <[email protected]>wrote:
> Hi,
>
> I have query regarding the objects whose SYNTAX is PortList.
>
> Currently the objects having PortList SYNTAX, scaling the number of ports
> becomes a problem.
>
> For example say,
> The number of ports in the system can scale upto a few thousands-say 32k.
> To configure the ports 30001-30100 to a VLAN, the user has to specify:
> 3750 bytes of 00 and then set the bits for the ports from 30001-30100.
>
> Would like to know if there is a way of representing the MIB object which
> supports a better user friendly configuration.
>
>
>
> Thanks for your reply in advance.
>
>
>
> With regards,
>
> Biswajit
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders