All MIBs › CISCOSB-vlan-MIB › vlanPortModeContextValue
vlanPortModeContextValue
Module: CISCOSB-vlan-MIB
OID (symbolic): CISCOSB-vlan-MIB::vlanPortModeContextValue
OID (numeric): 1.3.6.1.4.1.9.6.1.101.48.65.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicated port context value: 0. Lag 1. Monitor 2. L3 3. RAVA 4. Dot1x 5. Dot1q 6. Access 7. Trunk 8. Customer 9. PV_promisc 10. PV_host
What is vlanPortModeContextValue?
This read-write INTEGER selects the operating context of a port from a defined set including Lag, Monitor, L3, RAVA, Dot1x, Dot1q, Access, and Trunk. An admin sets this to declare the port's functional role on the switch, which determines which other VLAN-related MIB objects (trunk lists, access VLAN ID, etc.) are meaningful for that port. For example, setting this value to 7 (Trunk) tells the switch to treat the port under 802.1Q trunk semantics rather than as a single-VLAN access port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.65.1.1 snmpwalk -v2c -c public <target> CISCOSB-vlan-MIB::vlanPortModeContextValue
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.65.1.1.1 snmpget -v2c -c public <target> CISCOSB-vlan-MIB::vlanPortModeContextValue.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.6.1.101.48.65.1.1.1 i <value>
Start monitoring Cisco Small Business managed switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCOSB-vlan-MIB::vlanPortModeContextValue OID value, configure state conditions and alerts, and monitor any Cisco Small Business managed switch from a single console.
OID Breakdown
Upper-level ancestors (11 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.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.6 | otherEnterprises | CISCO-SMI |
| 1.3.6.1.4.1.9.6.1 | ciscoSB | CISCO-SMI |
| 1.3.6.1.4.1.9.6.1.101 | switch001 | CISCOSB-MIB |
| 1.3.6.1.4.1.9.6.1.101.48 | vlan | CISCOSB-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.6.1.101.48.65 | vlanPortModeContextTable | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.65.1 | vlanPortModeContextEntry | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.65.1.1 | vlanPortModeContextValue | CISCOSB-vlan-MIB |