coscpLinkPortId
CISCO-OSCP-MIB ·
.1.3.6.1.4.1.9.9.202.1.2.1.1
Object
column CoscpPortId
The Port Identifier of the link as selected by the local switch. This value has meaning only within the context of the switch to which the port is attached. This value is invariant across system restarts.
Context
- MIB
- CISCO-OSCP-MIB
- OID
.1.3.6.1.4.1.9.9.202.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- coscpLinkEntry
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 'CISCO-OSCP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-OSCP-MIB::coscpLinkPortId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-OSCP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-OSCP-MIB::coscpLinkPortId.<coscpLinkPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-OSCP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-OSCP-MIB::coscpLinkPortId'
Syntax
- Source
- CoscpPortId
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.