h3clldpNbIdentityPortIDSubtype
H3C-LLDP-EXT-MIB ·
.1.3.6.1.4.1.2011.10.2.100.1.1.4.1.4
Object
column r/w
Enumeration
Port ID subtype. The value range is 0 to 7, and the default value is 0. The values 1 to 7 represents the interface alias, port co- mponent, MAC address, network address, interface name, agent circuit ID, and locally assigned subtypes, respectively.
Context
- MIB
- H3C-LLDP-EXT-MIB
- OID
.1.3.6.1.4.1.2011.10.2.100.1.1.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3clldpNbIdentityEntry
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-LLDP-EXT-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-LLDP-EXT-MIB::h3clldpNbIdentityPortIDSubtype'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-LLDP-EXT-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-LLDP-EXT-MIB::h3clldpNbIdentityPortIDSubtype.<h3clldpNbIdentityPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-LLDP-EXT-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-LLDP-EXT-MIB::h3clldpNbIdentityPortIDSubtype'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | default |
1 | interfaceAlias |
2 | portComponent |
3 | macAddress |
4 | networkAddress |
5 | interfaceName |
6 | agentCircuitId |
7 | local |