All MIBs › SW-VLAN-MIB › swVlanCtrlMode
swVlanCtrlMode
Module: SW-VLAN-MIB
OID (symbolic): SW-VLAN-MIB::swVlanCtrlMode
OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object controls which Vlan function will be enable (or disable) when the switch hub restart at the startup (power on) or warm start.
What is swVlanCtrlMode?
Sets which VLAN mode the switch will use after the next restart or warm start: other, disabled, mac-base (proprietary MAC-based VLAN), ieee8021q (802.1Q/GVRP), or port-base (proprietary port-based VLAN). This is a boot-time setting -- changing it doesn't affect the currently running VLAN mode, only what takes effect on the next reboot; check swVlanInfoStatus for what's actually active now.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1.1 snmpwalk -v2c -c public <target> SW-VLAN-MIB::swVlanCtrlMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1.1.1 snmpget -v2c -c public <target> SW-VLAN-MIB::swVlanCtrlMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swVlanCtrlMode.1
Start monitoring D-Link ES2000 'Golf' series switch (Marconi-branded OEM, VLAN membership/tagging config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SW-VLAN-MIB::swVlanCtrlMode OID value, configure state conditions and alerts, and monitor any D-Link ES2000 'Golf' series switch (Marconi-branded OEM, VLAN membership/tagging config) from a single console.
OID Breakdown
Upper-level ancestors (16 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.326 | fore | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2 | systems | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20 | ethernet | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1 | edge | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2 | golf | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2 | golfcommon | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2 | fore_mgmt | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28 | es2000Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2 | swL2Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8 | swVlan | SW-PBRD-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1 | swVlanCtrl | SW-VLAN-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.8.1.1 | swVlanCtrlMode | SW-VLAN-MIB |