vlanId
NEXANS-BM-MIB ·
.1.3.6.1.4.1.266.20.4.1.1.2
Object
column r/w
Integer32
The VLAN-ID assigned to this entry. Only entries with a VLAN-ID greater then 0 are valid entries. Setting a valid VLAN-ID to 0 will disable that entry and also delete the vlanDescr To add a new VLAN-ID first set an valid or non valid entry to the desired VLAN-ID. In a second step you may set the vlanDescr. Only VLAN-ID's listed in the vlanTable are forwarded by the switch.
Context
- MIB
- NEXANS-BM-MIB
- OID
.1.3.6.1.4.1.266.20.4.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bmSwitchVlanEntry
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::vlanId'
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::vlanId.<vlanIndex>'
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::vlanId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4095