portDefaultVlanId
NEXANS-BM-MIB ·
.1.3.6.1.4.1.266.20.3.1.1.9
Object
column r/w
Integer32
The Default-VLAN-ID assigned to this port. This Default-VLAN-ID has differnt affects depending on received or transmited frames: a) All received frames, which have no VLAN-tag, will be assigned to the Default-VLAN-ID. b) All transmited frames, which belong to the Default-VLAN, are send without a VLAN-tag. If portTrunkingMode is set to dot1qTagging, all frames are transmited with a VLAN-tag, except frames which belong to the Default-VLAN-ID. Changes of this value will take affect after the next switch reboot or after setting adminReset to renewIpAndVlanParameter(5). Setting this value to 0 for a port with dot1qTagging will disable the Default-VLAN. This means, that all frames are send tagged.
Context
- MIB
- NEXANS-BM-MIB
- OID
.1.3.6.1.4.1.266.20.3.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bmSwitchPortEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::portDefaultVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::portDefaultVlanId.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NEXANS-BM-MIB::portDefaultVlanId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4095