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 dot1qVlanStaticRowStatus.4

>Where did the additional '0' come from?

 

 

This 'dot1qVlanIndex' is a "not-accessible" field inside
dot1qVlanCurrentTable

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

Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts.0.1 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts.0.2 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts.0.28 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanCurrentUntaggedPorts.0.1 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanCurrentUntaggedPorts.0.2 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanCurrentUntaggedPorts.0.28 = Hex-STRING: 00 00

Q-BRIDGE-MIB::dot1qVlanStatus.0.1 = INTEGER: permanent(2)

Q-BRIDGE-MIB::dot1qVlanStatus.0.2 = INTEGER: permanent(2)

Q-BRIDGE-MIB::dot1qVlanStatus.0.28 = INTEGER: permanent(2)

Q-BRIDGE-MIB::dot1qVlanCreationTime.0.1 = Timeticks: (0) 0:00:00.00

Q-BRIDGE-MIB::dot1qVlanCreationTime.0.2 = Timeticks: (0) 0:00:00.00

Q-BRIDGE-MIB::dot1qVlanCreationTime.0.28 = Timeticks: (0) 0:00:00.00

 

In that router, there exists 3 VLANs namely 1,2,28.

So I thought that, a 0.4 might be needed, like the length needed to set
the IP (ipAddressIfIndex.1.4.X.X.X.X)

 

When tried with

[root@localhost ~]# snmpset . . . dot1qVlanStaticName.4 s vlan4
dot1qVlanStaticRowStatus.4 i 4

Error in packet.

Reason: commitFailed

Failed object: Q-BRIDGE-MIB::dot1qVlanStaticName.4

 

Does this commitFailed, mean something?

 

 

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

 

So its better to stop trying with Net-SNMP agent, isn't it?

To be clear, I am asking; you didn't mean that snmpset  can't be used
for this task, right?

You meant that the snmpd is not capable.

 

Thanks and Regards,

Basil Joseph.

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