h3cSecureVlanAssignment
H3C-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.2011.10.2.26.1.2.5.1.2
Object
column OctetString
The VLAN membership assigned to the port for the authorised user. This contains the actual value received from the authentication server. This object will contain a null value if there is no user authorised to access the port or if the authorised user was not assigned a VLAN membership.
Context
- MIB
- H3C-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.10.2.26.1.2.5.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cSecureAssignEntry
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-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureVlanAssignment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureVlanAssignment.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-PORT-SECURITY-MIB::h3cSecureVlanAssignment'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255