Aruba & ProVision-based
1752273 Members
4765 Online
108786 Solutions
New Discussion

SNMP fails to untagging the port on VLAN

 
Sudhirgps
New Member

SNMP fails to untagging the port on VLAN

Hello all

 

Switch Info: HP 2530 8-POEP Switch

 

I am using SNMP  to untagging some specific ports for a VLAN. I am using the OID mentioned for untagging

 

OID for untagging VLAN port is - 1.3.6.1.2.1.17.7.1.4.3.1.4

You can find the OID here - http://www.oidview.com/mibs/0/Q-BRIDGE-MIB.html

 

I am trying to assign port no 8 as untagged with VLAN id - 90

Hex value for Port 8 is  = 010000000000000000000000

 

I am using the following code:

 

snmp2_set("xyx", "public", "1.3.6.1.2.1.17.7.1.4.3.1.4.90" , "x" , "010000000000000000000000")

 But it fails to untagg the port and gives me following error.

 

Warning: snmp2_set(): Error in packet at 'iso.3.6.1.2.1.17.7.1.4.3.1.4.90': inconsistentValue (The set value is illegal or unsupported in some way) in D:\xampp\htdocs\workstation\index.php on line 3

 

Thanks in advance for your valueable suggestions.

 

Sudhir

 

 

P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. - Hp forum moderator