slPortConfigChangeType
SL-PORT-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.4515.1.3.14.1.1.1.4
Object
This object is used to change the type of the port. The type value is one of the IANA types. Changing port type should remove all the information related to this port. Such as, ifTable entry, PM info, GFP and VCG entries, current alarms, ...
Context
- MIB
- SL-PORT-MIB
- OID
.1.3.6.1.4.1.4515.1.3.14.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- slPortConfigEntry
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 'SL-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-PORT-MIB::slPortConfigChangeType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-PORT-MIB::slPortConfigChangeType.<slPortConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-PORT-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-PORT-MIB::slPortConfigChangeType'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647