All MIBs › CISCOSB-vlan-MIB › vlanTrunkPortModeNativeVlanId
vlanTrunkPortModeNativeVlanId
Module: CISCOSB-vlan-MIB
OID (symbolic): CISCOSB-vlan-MIB::vlanTrunkPortModeNativeVlanId
OID (numeric): 1.3.6.1.4.1.9.6.1.101.48.61.1.1
Node type: OBJECT-TYPE
Type: VlanIndex
Access: read-write
Description: Indicated native vlan index.Default value 0
What is vlanTrunkPortModeNativeVlanId?
This read-write VlanIndex, defaulting to 0, sets the native (untagged) VLAN ID for a port configured in trunk mode. An admin cares about this because frames arriving on a trunk port without an 802.1Q tag get classified into whichever VLAN is set here, so a misconfigured native VLAN can leak traffic into the wrong broadcast domain. For example, changing this from the default to VLAN 1 ensures untagged management traffic arriving on an uplink trunk lands in the management VLAN instead of an unintended data VLAN.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.61.1.1 snmpwalk -v2c -c public <target> CISCOSB-vlan-MIB::vlanTrunkPortModeNativeVlanId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.6.1.101.48.61.1.1.1 snmpget -v2c -c public <target> CISCOSB-vlan-MIB::vlanTrunkPortModeNativeVlanId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.6.1.101.48.61.1.1.1 s <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::vlanTrunkPortModeNativeVlanId 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.61 | vlanTrunkPortModeTable | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.61.1 | vlanTrunkPortModeEntry | CISCOSB-vlan-MIB |
| 1.3.6.1.4.1.9.6.1.101.48.61.1.1 | vlanTrunkPortModeNativeVlanId | CISCOSB-vlan-MIB |