hm2AgentPrivateVlanType
HM2-PLATFORM-SWITCHING-MIB ·
.1.3.6.1.4.1.248.12.1.2.8.31.1.1.1
Object
column r/w
Enumeration
Enables vlan for Private Vlan and configures private vlan type.
Context
- MIB
- HM2-PLATFORM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.248.12.1.2.8.31.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentPrivateVlanEntry
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 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPrivateVlanType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPrivateVlanType.<dot1qVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPrivateVlanType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primary |
2 | isolated |
3 | community |
4 | unconfigured |