All MIBs › PRVT-SWITCH-MIB › configL2IfaceDefaultVID
configL2IfaceDefaultVID
Module: PRVT-SWITCH-MIB
OID (symbolic): PRVT-SWITCH-MIB::configL2IfaceDefaultVID
OID (numeric): 1.3.6.1.4.1.738.1.5.100.2.2.2.1.11
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description:
This object sets the default VLAN ID according to 802.1Q.
What is configL2IfaceDefaultVID?
This object sets the default VLAN ID (1-4095) that untagged frames on a layer-2 interface will be assigned to, following the IEEE 802.1Q standard for VLAN tagging. It applies to all traffic arriving on that interface that lacks an explicit VLAN tag. An operator would configure this to ensure frames entering the port are properly classified into the correct VLAN for network segmentation and policy enforcement.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.11 snmpwalk -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceDefaultVID
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.11.1 snmpget -v2c -c public <target> PRVT-SWITCH-MIB::configL2IfaceDefaultVID.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.738.1.5.100.2.2.2.1.11.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> configL2IfaceDefaultVID.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.738 | privateVendorOID | PRIV-VENDORDEF-MIB |
| 1.3.6.1.4.1.738.1 | prvt_products | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5 | switch | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100 | prvtSwitchMib | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2 | config | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2 | configL2 | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2 | configL2IfaceTable | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1 | configL2IfaceEntry | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5.100.2.2.2.1.11 | configL2IfaceDefaultVID | PRVT-SWITCH-MIB |