s5ChasComBaseNumPorts
S5-CHASSIS-MIB ·
.1.3.6.1.4.1.45.1.6.3.3.1.1.16
Object
column Integer32
This object indicates the number of ports (of any type) contained in a component, not including any sub-components contained within the component.
Context
- MIB
- S5-CHASSIS-MIB
- OID
.1.3.6.1.4.1.45.1.6.3.3.1.1.16- Type
- column
- Access
- readonly
- Status
- current
- Parent
- s5ChasComEntry
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 'S5-CHASSIS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'S5-CHASSIS-MIB::s5ChasComBaseNumPorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'S5-CHASSIS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'S5-CHASSIS-MIB::s5ChasComBaseNumPorts.<s5ChasComGrpIndx>.<s5ChasComIndx>.<s5ChasComSubIndx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'S5-CHASSIS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'S5-CHASSIS-MIB::s5ChasComBaseNumPorts'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-32767