tnPacketSwitchPortName
TN-PORT-MIB ·
.1.3.6.1.4.1.7483.6.1.2.2.4.99.1.1
Object
column TN-TC-MIBTNamedItemOrEmpty
This is a duplication of tnPortName and is only used to
provide a mechanism for UI's to iterate through all
the ports in a packetswitch.
The textual name of the interface. The value of this
object should be the name of the interface as assigned by
the local device and should be suitable for use in commands
entered at the device's `console'. This might be a text
name, such as `le0' or 'sys171-2/1.
Context
- MIB
- TN-PORT-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.2.4.99.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnPacketSwitchPortEntry
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::tnPacketSwitchPortName'
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::tnPacketSwitchPortName.<tnSysSwitchId>.<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::tnPacketSwitchPortName'
Syntax
- Source
- TN-TC-MIBTNamedItemOrEmpty
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..32