tnPortNumChannels
TN-PORT-MIB ·
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.49
Object
column SNMPv2-SMIUnsigned32
For SONET/SDH paths or TDM channels, tnPortNumChannels contains the number of possible immediate children. For leaf paths or channels, the value of this object will be zero. For SONET/SDH or TDM physical ports, tnPortNumChannels contains the total number of channels on the physical port. For all other entries in the tnPortTable, the value of this object will be zero.
Context
- MIB
- TN-PORT-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.49- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnPortEntry
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 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortNumChannels'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortNumChannels.<tnPortPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-PORT-MIB::tnPortNumChannels'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295