h3cSecureAddrVlanID
H3C-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.2011.10.2.26.1.2.2.1.2
Object
The Vlan ID associate with the port and the MAC address. This is the third index into the h3cSecureAddressTable.
Context
- MIB
- H3C-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.10.2.26.1.2.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cSecureAddressEntry
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::h3cSecureAddrVlanID'
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::h3cSecureAddrVlanID.<ifIndex>.<h3cSecureAddrMAC>.<h3cSecureAddrVlanID>'
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::h3cSecureAddrVlanID'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647