Re: Create VLAN using Q-BRIDGE-MIB
Vincent Bernat <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | One Piece |
| Message-ID | <[email protected]> |
OoO Pendant le temps de midi du jeudi 21 mai 2009, vers 12:37, "m. kh " <[email protected]> disait : > i use Q-BRIDGE-MIB to create vlan in switch ,the request to create vlan is : > # snmpset -v2c -c private 192.168.2.241 1.3.6.1.2.1.17.7.1.4.3.1.1.6 s vlan6 > but the result is : > Error in packet. > Reason: inconsistentValue (The set value is illegal or unsupported in some way) > Failed object: SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.6 This is not the way to create a new row in a table. You should try: snmpset -v 2c -c private 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo \ Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 Or : snmpset -v 2c -c private 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndWait snmpset -v 2c -c private 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 snmpset -v 2c -c private 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo The first last is less eager to work but if it works, it will give you more tips on what can go wrong at each step. All this depends on the implementation on the switch. Some does not even accept to create VLAN this way. The failures can be logged with some useful tips. -- I WAS NOT TOLD TO DO THIS I WAS NOT TOLD TO DO THIS I WAS NOT TOLD TO DO THIS -+- Bart Simpson on chalkboard in episode 5F13 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users