atswitchPortName
ATSWTCH2-MIB ·
.1.3.6.1.4.1.207.8.10.3.1.1.2
Object
column mandatory
r/w
OctetString
This attribute associates a user defined string name with the port.
Context
- MIB
- ATSWTCH2-MIB
- OID
.1.3.6.1.4.1.207.8.10.3.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- atswitchPortEntry
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 'ATSWTCH2-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ATSWTCH2-MIB::atswitchPortName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ATSWTCH2-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ATSWTCH2-MIB::atswitchPortName.<atswitchPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ATSWTCH2-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ATSWTCH2-MIB::atswitchPortName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-20