Hello.
I've managed to collect information piece by piece on forums, MIBs, boards etc and make work reading status information from this switch into some managing software.
Now I'm stuck on setting vlans or port:
Common OIDs "vtpVlanEdit" section (1.3.6.1.4.1.9.9.46.1.4.1 and 1.3.6.1.4.1.9.9.46.1.4.2 branches) answering me
No Such Object available on this agent at this OID
Searched MIBs and stumbled upon "rldot1qPortVlanStaticEgressList*" OIDs (1.3.6.1.4.1.9.6.1.101.48.68.1.1-4 branches). According to MIBs these OIDS are readable and writable. I can read vlan lists from them but can't write new lists because of two type of errors:
Reason: wrongValue (The set value is illegal or unsupported in some way)
and
Reason: notWritable (That object does not support modification)"
Hav an OID to retrieve port-vlan map (1.0.8802.1.1.2.1.5.32962.1.1.2.1.1) which snmpwalk result looks like this:
iso.0.8802.1.1.2.1.5.32962.1.1.2.1.1.8.1029 = INTEGER: 2
iso.0.8802.1.1.2.1.5.32962.1.1.2.1.1.10.1029 = INTEGER: 2
iso.0.8802.1.1.2.1.5.32962.1.1.2.1.1.10.1023 = INTEGER: 2
Meaning:
8th port has 1029 VLAN active
10th port has 1029 and 1023 VLANs active
But have no idea how I can use it to set vlans.
Any advice?