[AGENT++] [SNMP++] How to set VLAN Portlists?
Florian Hochriegl
Florian at hochriegl.de
Wed Sep 1 09:55:17 CEST 2010
Hello,
im new to the snmp-development.
I'm trying to create and modify VLANs on my Switch with the snmp_pp.dll
No matter what i try - i can't find out the right way, to modify or set a
VLAN-Portlist (needed for e.g. dot1qVlanStaticEgressPorts.#vlannumber)
I successfully build the console_Example/testApp.cpp
The TestApp tells me
test_app.exe 192.168.23.66 1.3.6.1.2.1.17.7.1.4.3.1.2.100
SNMP++ Set to 192.168.23.66 SNMPV Retries=1 Timeout=1000ms
SET-community=public GET-community=public
Oid = 1.3.6.1.2.1.17.7.1.4.3.1.2.100
Current Value = FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 ....
Value Type is Octet String
Please enter new value: <- ??
Please help me to find out, what is the right syntax for the Octet String
to set the dot1qVlanStaticEgressPorts? Is OctetString right? Or do i need
another type?
(I tried the same with the command line tool net-snmp, here its just: e.g.
type: HEX, value: 0xFE)
Thank You,
Florian
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
More information about the AGENTPP
mailing list