rcL3IpSubnetVlans
SWITCH-L3-MIB ·
.1.3.6.1.4.1.8886.6.1.16.1.3.1.4
Object
DURABLE: { default=0:all }
For a L2/L3 hybrid switch, this object contains the actual
VLAN ID (VID) from 1 to 4094 or 0 if the VID is unassigned.
For a L3 only switch, this object contains the actual switch
interface from 1 to 4094 or 0 if unassigned.
Changing this object for this row causes all rows with the same
'rcL3IpSubnetIfIndex' as this row to be changed to this new
'rcL3IpSubnetVidIface' value.
Context
- MIB
- SWITCH-L3-MIB
- OID
.1.3.6.1.4.1.8886.6.1.16.1.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcL3IpSubnetEntry
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 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3IpSubnetVlans'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3IpSubnetVlans.<rcL3IpSubnetIfIndex>.<rcL3IpSubnetIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-L3-MIB::rcL3IpSubnetVlans'