h3cVlan
H3C-USER-MIB ·
.1.3.6.1.4.1.2011.10.2.12.1.2.1.9
Object
column r/w
Integer32
Set local user's vlan id. the value range is from 0 to 4094. default is 0, means the local user is not in any vlan.
Context
- MIB
- H3C-USER-MIB
- OID
.1.3.6.1.4.1.2011.10.2.12.1.2.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cUserAttributeEntry
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 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cVlan'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cVlan.<h3cUserIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-USER-MIB::h3cVlan'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4094