vlanEntryIPv4StaticMask
BLADE-MIB ·
.1.3.6.1.4.1.2.3.51.2.4.9.1.20.20.1.33
Object
This object sets the subnet mask for this VLAN entry.
The entry with the vlanEntryIndex value of 1 (default VLAN
entry) will have this object set to the subnet mask of the
ethernet interface. The subnet mask of the default VLAN
entry can only change by changing the subnet mask of the
ethernet interface.
For all other VLAN entries, this object may be set to any
valid subnet mask.
For a change of this object to take effect, the object,
vlanEntryState, must be set to enable(1) if the
vlanEntryState is currently disable(0), or set to
restart(2) if the vlanEntryState is currently enable(1).
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 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::vlanEntryIPv4StaticMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::vlanEntryIPv4StaticMask.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLADE-MIB::vlanEntryIPv4StaticMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4