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

  • 1
  • Question
  • Updated 8 months ago
  • Answered
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?
Photo of Denis Kalinin

Denis Kalinin

  • 4 Posts
  • 0 Reply Likes

Posted 8 months ago

  • 1
Photo of Isaac Madriz

Isaac Madriz, Employee

  • 10 Posts
  • 10 Reply Likes
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:


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.


Photo of Denis Kalinin

Denis Kalinin

  • 4 Posts
  • 0 Reply Likes
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.


Photo of Hashim Bharoocha

Hashim Bharoocha, Employee

  • 65 Posts
  • 39 Reply Likes
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
Photo of Isaac Madriz

Isaac Madriz, Employee

  • 10 Posts
  • 10 Reply Likes
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.


(Edited)