snSwPortSetAll
HP-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8
Object
The value of this object is the index number of the snSwPortInfoTable (snSwPortInfoPortIndex). snSwPortInfoMonitorMode, snSwPortInfoTagMode, snSwPortInfoChnMode, snSwPortInfoSpeed, snSwPortInfoAdminStatus are all the read-write attributes of that row of table. They will be used to set the same attributes for all the ports in the system. Note: prior setting this object, all the intended attributes of the given row of the table must be set. Otherwise, the current data of the row will be used to set the entire port-table. The previous setting will be overwritten by the new one.
Context
- MIB
- HP-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snSwInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snSwPortSetAll.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-SWITCH-GROUP-MIB::snSwPortSetAll'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647