hh3cDldp2PortLinkStatus
HH3C-DLDP2-MIB ·
.1.3.6.1.4.1.25506.2.117.2.2.1.2
Object
column Enumeration
Indicates the DLDP link status of the port. unknown: cannot be determined for some reason. down: the DLDP link status of the port is down. up: the DLDP link status of the port is up. If the port operating status is not 'inactive', 'unidirectional', or 'bidirectional', it always returns 'unknown'.
Context
- MIB
- HH3C-DLDP2-MIB
- OID
.1.3.6.1.4.1.25506.2.117.2.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cDldp2PortStatusEntry
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 'HH3C-DLDP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DLDP2-MIB::hh3cDldp2PortLinkStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-DLDP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DLDP2-MIB::hh3cDldp2PortLinkStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-DLDP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-DLDP2-MIB::hh3cDldp2PortLinkStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | down |
3 | up |