Re: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread Lee
On 12/20/11, Dave Shield wrote: > On 20 December 2011 11:41, wrote: >> [root@localhost ~]# snmpset . . . dot1qVlanStaticName.4 s vlan4 >> dot1qVlanStaticRowStatus.4 i 4 >> >> Error in packet. >> Reason: commitFailed >> Failed object: Q-BRIDGE-MIB::dot1qVlanStaticName.4 >> >> >> Does thi

Re: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread Dominique bastien
I think, before create a new row you need to get a valid index with: dot1qNextFreeLocalVlanIndex --- On Tue, 12/20/11, Dave Shield wrote: > From: Dave Shield > Subject: Re: noCreation Error when trying to set VLAN on a switch > To: [email protected] > Cc: net

Re: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread Dave Shield
On 20 December 2011 11:41, wrote: > When I tried an snmpwalk on CISCO 2800, l got this. > > [root@localhost ~]# snmpwalk . . .  dot1qVlanCurrentTable > Q-BRIDGE-MIB::dot1qVlanFdbId.0.1 = Gauge32: 0 > Q-BRIDGE-MIB::dot1qVlanFdbId.0.2 = Gauge32: 0 > Q-BRIDGE-MIB::dot1qVlanFdbId.0.28 = Gauge32: 0 T

RE: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread basil.joseph
Hi, >Can you successfully SET other values on that box, using the same authentication values? (e.g. sysLocation.0) Yes, I can set the sysLocation.0 to any desired value >The dot1qVlanStaticTable is indexed by 'dot1qVlanIndex' - a single integer. >So I think you ought to be using dot1qVl

Re: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread Dave Shield
On 20 December 2011 09:40, 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 tr

RE: noCreation Error when trying to set VLAN on a switch

2011-12-20 Thread basil.joseph
Hi, Thanks for the response. > CISCO-VTP-MIB is a likely candidate: I think I should explain my motive behind setting VLAN on a switch. I am coding for a switch-like n/w component; which will be delivered in the next month. I don't have physical access to that component, for now. But th

Re: noCreation Error when trying to set VLAN on a switch

2011-12-19 Thread Lee
On 12/19/11, [email protected] wrote: > Hi, > > I was trying to set the VLAN configuration on a switch [.. snip ..] > The switch is of Cisco Catalyst 2960 series. > > >From this website, > ftp://ftp.cisco.com/pub/mibs/supportlists/cat2960/cat2960-supportlist.html [.. snip ..] I'm not at

Re: noCreation Error when trying to set VLAN on a switch

2011-12-19 Thread Dave Shield
On 19 December 2011 14:24, wrote: > I was trying to set the VLAN configuration on a switch > The switch is of Cisco Catalyst 2960 series. > I have learned that this switch doesn’t have Q-BRIDGE-MIB, but supports only > BRIDGE-MIB. > > Can we have this functionality from BRIDGE-MIB? The BRIDGE M

noCreation Error when trying to set VLAN on a switch

2011-12-19 Thread basil.joseph
Hi, I was trying to set the VLAN configuration on a switch But I am getting a noCreation Error. [root@localhost ~]# snmpset . . . dot1qVlanStaticName.2 s vlan2 dot1qVlanStaticRowStatus.2 i 4 Error in packet. Reason: noCreation (That table does not support row creation or that object can