All MIBs › PORT-MIB › etherPortDefaultVlanId
etherPortDefaultVlanId
Module: PORT-MIB
OID (symbolic): PORT-MIB::etherPortDefaultVlanId
OID (numeric): 1.3.6.1.4.1.5812.3.3.1.34
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Specifies what the default Vlan Id is for the port. This is used on ingress only if vlanMode is Enabled and a frame is received either untagged or tagged with a VID not known to the port.
What is etherPortDefaultVlanId?
This sets the default VLAN ID assigned to frames arriving on this port that are either untagged or tagged with a VID the port doesn't recognize, but only takes effect when etherPortVlanMode is set to enabled. An admin uses this to place an access port's untagged traffic into the correct VLAN, for example setting it to 20 so untagged frames land in VLAN 20. Getting this value wrong on a trunk port can silently misroute traffic that arrives without a recognized tag.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5812.3.3.1.34 snmpwalk -v2c -c public <target> PORT-MIB::etherPortDefaultVlanId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5812.3.3.1.34.1 snmpget -v2c -c public <target> PORT-MIB::etherPortDefaultVlanId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5812.3.3.1.34.1 i <value>
Start monitoring Coriolis Networks optical switch/chassis line cards (per-port optical status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PORT-MIB::etherPortDefaultVlanId OID value, configure state conditions and alerts, and monitor any Coriolis Networks optical switch/chassis line cards (per-port optical status) from a single console.
OID Breakdown
Upper-level ancestors (8 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.5812 | coriolisMibs | CORIOLIS-MIB |
| 1.3.6.1.4.1.5812.3 | port | CORIOLIS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.5812.3.3 | etherPortTable | PORT-MIB |
| 1.3.6.1.4.1.5812.3.3.1 | etherPortEntry | PORT-MIB |
| 1.3.6.1.4.1.5812.3.3.1.34 | etherPortDefaultVlanId | PORT-MIB |