[f-nsp] CER - Creating VLANs via SNMP - cant set name?

Tom Storey tom at snnap.net
Thu Jun 22 04:58:22 EDT 2017


Hi everyone,

Im writing some scripts that create VLANs and assigns ports to them via
SNMP, and so far everything is working pretty good, except that when I
create the VLAN, it doesnt seem to save the name that I supply along with
it. For example, when I execute the following command:

snmpset -v2c -c.... x.x.x.x .1.3.6.1.2.1.17.7.1.4.3.1.1.123 s TEST
.1.3.6.1.2.1.17.7.1.4.3.1.2.123 x 0x00 .1.3.6.1.2.1.17.7.1.4.3.1.4.123 x
0x00 .1.3.6.1.2.1.17.7.1.4.3.1.5.123 i 4

VLAN 123 is created, but the name TEST is not applied:

#sh vlan brief

Configured PORT-VLAN entries: 5
Maximum PORT-VLAN entries: 4095
Default PORT-VLAN id: 1

VLAN  Name       Encap ESI                              Ve    Pri Ports

----  ----       ----- ---                              ----- --- -----

1     DEFAULT-VL                                        -     -  Untagged
Ports : e 1/1 to 1/24 e 2/1 to 2/4
123   [None]                                            -     -  Statically
tagged Ports    : e 1/10 to 1/11

FWIW the above command works fine on other switches that I am testing
against, they all save the name as expected.

Attempting to set the name afterwards via a separate snmpset doesnt yeild
any better results.

Does anyone know what Im doing wrong here? Should I be poking a different
OID perhaps?

Running:

System: NetIron CER (Serial #: ....,  Part #: ....)
Boot     : Version 5.6.0cT185 Copyright (c) 1996-2013 Brocade
Communications Systems, Inc.
Monitor  : Version 5.6.0cT185 Copyright (c) 1996-2013 Brocade
Communications Systems, Inc.
IronWare : Version 5.6.0dT183 Copyright (c) 1996-2013 Brocade
Communications Systems, Inc.

Software might be a bit old, could probably try a new version if people
think that might help.

Cheers
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/foundry-nsp/attachments/20170622/d37bb661/attachment.html>


More information about the foundry-nsp mailing list