Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is it possible to create a vlan using SNMP?

Status
Not open for further replies.

dansahlin

Vendor
Mar 24, 2009
2
SE
I have looked at the VLAN mib described in RFC 2674 trying to find a way to create a new static VLAN.
However, I have not found any solution.

Is there a standardized way of creating a VLAN using SNMP?
 
I asked my vendor about the problem of creating a VLAN, and it turned out to be quite simple, once you know how to do it.

Here's a description showing how to create VLAN 2 with name "v2" using snmpset commands:

snmpset -v 2c -c private 192.168.123.254 .1.3.6.1.2.1.17.7.1.4.3.1.5.2 i 5

snmpset -v 2c -c private 192.168.123.254 .1.3.6.1.2.1.17.7.1.4.3.1.1.2 s v2

snmpset -v 2c -c private 192.168.123.254 .1.3.6.1.2.1.17.7.1.4.3.1.5.2 i 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top