zxAnDsIfStatLogicalId
ZTE-AN-DHCP-SNOOPING-MIB ·
.1.3.6.1.4.1.3902.1015.51.1.8.1.1.7
Object
column ObjectIdentifier
This value is an oid which indicats the logical index.
When zxAnDsIfStatIfType is 'physicalPort' its value is '0'.
When zxAnDsIfStatIfType is 'bridgePort' this object includes
{pvc} , such as oid {1} indicates pvc1 .
When zxAnDsIfStatIfType is 'ponOnu' its value is '0'.
When zxAnDsIfStatIfType is 'ponVPort' this object includes
{gemport/llid} , such as oid {1} indicates ponVPort1 .
When zxAnDsIfStatIfType is 'servicePort' this object includes
{serviceportID} , such as oid {1} indicates serviceportID1 .
Context
- MIB
- ZTE-AN-DHCP-SNOOPING-MIB
- OID
.1.3.6.1.4.1.3902.1015.51.1.8.1.1.7- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- zxAnDhcpSnoopingIfStatEntry
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 'ZTE-AN-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-DHCP-SNOOPING-MIB::zxAnDsIfStatLogicalId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-DHCP-SNOOPING-MIB::zxAnDsIfStatLogicalId.<zxAnDsIfStatRack>.<zxAnDsIfStatShelf>.<zxAnDsIfStatSlot>.<zxAnDsIfStatPort>.<zxAnDsIfStatOnu>.<zxAnDsIfStatIfType>.<zxAnDsIfStatLogicalId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-DHCP-SNOOPING-MIB::zxAnDsIfStatLogicalId'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.