Ethernet Switches & Routers

Reply
N/A
Posts: 1
Registered: ‎06-14-2012

Turbo Iron SNMP Call to VLAN Tag Interface ?

I'm looking for the correct SNMP call to a TurboIron-X24 that will allow me to add a vlan tag to a interface.  I check the MIB reference document and it shows brcdIp.1.1.3.2.6.1.4 snmp call.

When I test it on my switch it doesn't works.  Is there a different snmp call I should be using for Version:07.3.00T205 (trz07300) or Version:04.1.00T205 (grz04100)

If I use brcdIp.1.1.3.2.6.1.3 I can set a port to a vlan and by default it will place the port in a vlan as untagged, if the port is already tagged to a different vlan it will add it to a another vlan tagged.  Which is fine but I need the ability to place any interface port into a vlan in tagged or untagged.

for example:

config t

vlan 2999 name test by port

tag e 22

untag e 23

end

Using net-snmp I can do this to add a port to a vlan, and assume the port is in the default vlan from the start.

snmpwalk.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.2.<VLAN>.<port>

snmpwalk.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.2.1

BRCDIp.1.1.3.2.6.1.2.1.21 = INTEGER: 21

BRCDIp.1.1.3.2.6.1.2.1.22 = INTEGER: 22

BRCDIp.1.1.3.2.6.1.2.1.23 = INTEGER: 23

BRCDIp.1.1.3.2.6.1.2.1.25 = INTEGER: 25

BRCDIp.1.1.3.2.6.1.2.1.26 = INTEGER: 26

BRCDIp.1.1.3.2.6.1.2.1.27 = INTEGER: 27

BRCDIp.1.1.3.2.6.1.2.1.28 = INTEGER: 28

snmpset.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.3.2999.22 i 4

BRCDIp.1.1.3.2.6.1.3.2999.22 = INTEGER: 4

snmpwalk.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.3.2999

BRCDIp.1.1.3.2.6.1.3.2999.22 = INTEGER: 2

sh vlan 2999 

PORT-VLAN 2999, Name , Priority level0, Spanning tree On

Untagged Ports:  22

   Tagged Ports: None

DualMode Ports: None

When I try to add a tagged interface via snmp I get Error in packet?

snmpset.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.4.2999.23 i 1

Error in packet.

Reason: notWritable (That object does not support modification)

Failed object: BRCDIp.1.1.3.2.6.1.4.2999.23

snmpwalk.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.4.2999

BRCDIp.1.1.3.2.6.1.4.2999 = No Such Object available on this agent at this OID

snmpwalk.exe -v 2c -c <Community> <IPAddress> 1.3.6.1.4.1.1991.1.1.3.2.6.1.4

BRCDIp.1.1.3.2.6.1.4 = No Such Object available on this agent at this OID

Unified IP MIB Reference (53-1002428-04)

Name, OID, and syntaxAccessDescription

snVLanByPortMemberTagMode

brcdIp.1.1.3.2.6.1.4

Syntax: Integer

Read-write

For a tagged or dual-mode port, there can be multiple VLANs per port. For an untagged port, there is only one VLAN ID per port.

The values are:

  • tagged(1)
  • untagged(2)

snVLanByPortMemberRowStatus

brcdIp.1.1.3.2.6.1.3

Syntax: Integer

Read-write

Controls the management of the table rows. The following values can be written:

  • delete(3) – Delete the row.
  • create(4) – Create a new row.

If the row exists, then a SET with a value of create(4) returns a bad value error. Deleted rows are removed from the table immediately.

The following values can be returned on reads:

  • noSuch(0) – No such row.
  • other(1) – Some other case.
  • valid(2) – Row exists and is valid.

Device Version:

  SW: Version 07.4.00T203 Copyright (c) 1996-2012 Brocade Communications Systems, Inc. All rights reserved.

      Compiled on Mar 02 2012 at 12:22:42 labeled as TIR07400

      (6808579 bytes) from Primary /turboiron/TIR07400.bin

      Compressed Boot-Monitor Image size = 369366, Version:07.3.00T205 (trz07300)

  HW: Stackable TurboIron-X24

  SW: Version 04.2.00b Copyright (c) 1996-2010 Brocade Communications Systems, Inc.

      Compiled on Oct 22 2010 at 15:15:36 labeled as TIS04200b

      (4490027 bytes) from Primary /foundry/FGS/os/TIS04200b.bin

      Compressed Boot-Monitor Image size = 373767, Version:04.1.00T205 (grz04100)

  HW: Stackable TurboIron-X24

Message was edited by: Eric Marquez

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook