swPortName

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.3.1.1.3

Object

column mandatory r/w RFC1213-MIBDisplayString
A descriptive string of up to 60 characters used by the
network administrator to name a port.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.3.1.1.3
Type
column
Access
readwrite
Status
mandatory
Parent
swPortEntry

Walk 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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortName.<swPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortName'

Syntax

Source
RFC1213-MIBDisplayString
Base type
OctetString

Values & Constraints

Object Constraints
range: 0-60