swL2StaticVlanIpSubnetMask
SWL2MGMT-MIB ·
.1.3.6.1.4.1.2272.1.201.1.2.7.1.1.6
Object
The IP subnet mask of this VLAN. This value is meaningful only if rcVlanType is equal to byIpSubnet(2). For other VLAN types it should have the value 0.0.0.0.
Context
- MIB
- SWL2MGMT-MIB
- OID
.1.3.6.1.4.1.2272.1.201.1.2.7.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2StaticVlanEntry
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 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2StaticVlanIpSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swL2StaticVlanIpSubnetMask.<swL2StaticVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWL2MGMT-MIB::swL2StaticVlanIpSubnetMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4