sysPortNum
LENOVO-GbTOR-G8264CS-SIF-MIB ·
.1.3.6.1.4.1.20301.2.7.21.12.3.12.1.3
Object
column PortNumber
The system port number: the number assigned to the port with respect to the whole fabric. This is the usual number used as index in the port related tables.
Context
- MIB
- LENOVO-GbTOR-G8264CS-SIF-MIB
- OID
.1.3.6.1.4.1.20301.2.7.21.12.3.12.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portNumberEntry
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 'LENOVO-GbTOR-G8264CS-SIF-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8264CS-SIF-MIB::sysPortNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G8264CS-SIF-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8264CS-SIF-MIB::sysPortNum.<configuredSwNum>.<localPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8264CS-SIF-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8264CS-SIF-MIB::sysPortNum'
Syntax
- Source
- PortNumber
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.