cancel
Showing results for 
Search instead for 
Did you mean: 

undoFailed when setting port to dual-mode via SNMP on the icx switch

denis_kalinin
New Contributor II
Hi,

I want set port on ICX7450-24 to dual mode via snmp
My request 
snmpset -v2c -c community 192.168.1.30 1.3.6.1.4.1.1991.1.1.3.2.6.1.3.192.23 i 4 1.3.6.1.4.1.1991.1.1.3.3.5.1.4.23 i 1 1.3.6.1.4.1.1991.1.1.3.3.5.1.24.23 i 192

But i got error like 

Error in packet.
Reason: undoFailed
Failed object: SNMPv2-SMI::enterprises.1991.1.1.3.3.5.1.24.23

Port 23 have Default vlan untagged

Any suggestions?
4 REPLIES 4

isaac_madriz
RUCKUS Team Member
Hi Denis,

I hope you are doing fine, could you please confirm the software version that you are running?

 from versions in which there is no longer needed the dual mode (starting from 8080) you just have to use the OID to add the port to the vlan and then the OID to specify if the port goes untagged or tagged:

Image_ images_messages_5f91c44c135b77e247a0ce8e_1043b81d1dd61a76b3b816f9ce06a4d3_RackMultipart201909091129279g3-8bc5b362-3ada-4831-8510-0ca39de0328d-1612068278.png1568034911
net-snmp syntax example:

To Add a port to a vlan:   

snmpset -v2c -c ruckus 1.3.6.1.4.1.1991.1.1.3.2.6.1.3.X.Y i C 1.3.6.1.4.1.1991.1.1.3.2.6.1.4.X.Y i D

 

X= VLAN

Y= PORT

C=3 remove

C=4 add  

D=1 tagged

D=2 untagged

From previous versions I believe you have to tagged the port on the vlans needed and then specify on another set instruction/call that it is dual-mode with the OID snSwIfInfoTagMode
brcdIp.1.1.3.3.5.1.4

Is there a way for you to open a case with TAC to confirm that syntax? 

Regards.


denis_kalinin
New Contributor II
Hi Isaac,

I have IronWare Version 08.0.70c 

On 23 port i have 2 taged VLANs( for example 102vlan and 192vlan) . When I set snSwIfInfoTagMode with value 3 i got error .

Error in packet.Reason: wrongValue (The set value is illegal or unsupported in some way)

Failed object: SNMPv2-SMI::enterprises.1991.1.1.3.3.5.1.4.23

My snmp request -- snmpset -v2c -c community 192.168.1.30 1.3.6.1.4.1.1991.1.1.3.3.5.1.4.23 i 3

Thanks for your reply on this.


Hi Denis,

Hope you are doing great.

Seems like your string is ONLY removing port 23 from VLAN 4.
Is the port 23 already a member of VLAN 4?
If you run command "show run | b vlan 4"  Do you see it as a member of VLAN 4?

Please let us know.
Thanks
Hashim

isaac_madriz
RUCKUS Team Member
Hi Denis,

I hope you are doing great, apologies for the delay, I internally confirmed the correct OID and syntax needed:

First you have to tagged the port to the vlans needed:



X= VLAN

Y= PORT

C=3 remove

C=4 add  

D=1 tagged

D=2 untagged


  • To Add a port to a vlan:   

snmpset -v2c -c ruckus 192.168.1.30 1.3.6.1.4.1.1991.1.1.3.2.6.1.3.X.Y i C 1.3.6.1.4.1.1991.1.1.3.2.6.1.4.X.Y i D


  • Then on a different instruction use the following OID to specify in which vlan the port should be set as dual-mode:

snmpset -v2c -c ruckus 192.168.1.30 1.3.6.1.4.1.1991.1.1.3.3.5.1.24.Y i X


Please test that format and syntax and let me know your results.

Regards.