On 20 December 2011 09:40,  <basil.jos...@wipro.com> wrote:
> But I have a CISCO 2800 series router which supports Q-BRIDGE-MIB.
>
> I can walk the VLAN details from Q-BRIDGE-MIB ::dot1qVlanCurrentTable of
> this 2800 router.
>
> The values are correct also.
> But the Q-BRIDGE-MIB:: dot1qVlanStaticTable is empty.
> And trying to create a new entry gives noCreation Error

Can you successfully SET other values on that box, using the same
authentication values?   (e.g. sysLocation.0)

That will at least check whether the access control settings are sufficient
to allow SET requests in general.



> So I tried a different approach.
>
> We have an eServer running RHEL 5.4 with 2 n/w interfaces.
> I have installed Net-SNMP 5.7 in it and run the snmpd and tried to set VLAN
> on these interfaces using same command.

The Net-SNMP agent doesn't support the Q-BRIDGE-MIB, as far as I know.
So trying to SET elements of this MIB simply won't work.



> 1.       Is this command correct?
>
> I.e. the portion after dot1qVlanStaticRowStatus should be 0.4 or just .4

The dot1qVlanStaticTable is indexed by 'dot1qVlanIndex' - a single integer.
So I think you ought to be using dot1qVlanStaticRowStatus.4

Where did the additional '0' come from?



> 2.       Is it affirmative that noCreation error means it can’t be created
> by any means.

noCreation means that this particular OID can never be created.
It doesn't say anything about other similar OIDs.
   It might well be that a bogus index value would give this error,
while the correct index would work.   Try it




> 3.       Can VLAN be configured in 2800 router as it supports Q-BRIDGE-MIB

You'll need to ask Cisco about that.
They know more about the capabilities of their equipment than we do.



> 4.       Why the snmpd replies notWritable while the fields have read-write 
> access.

Probably because SET support hasn't been implemented for those
particular objects.


>
> 5.       Can anyone please shed some light on notWritable error and how to
> make it writable.

If the agent doesn't include the code to support SET requests,
then the fundamental requirement is for someone to sit down and write that code.
Until this happens, the table will remain read-only (or not implemented)

It's not a magic box - without the necessary MIB-specific code, the agent
can't report or update anything.


Dave

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to