All MIBs › HP-SN-SWITCH-GROUP-MIB › snSwPortSetAll
snSwPortSetAll
Module: HP-SN-SWITCH-GROUP-MIB
OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snSwPortSetAll
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The value of this object is the index number of the snSwPortInfoTable (snSwPortInfoPortIndex). snSwPortInfoMonitorMode, snSwPortInfoTagType, 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.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8 snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortSetAll
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8.1 snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortSetAll.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> snSwPortSetAll.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.11 | hp | DATAPROTECTOR-MIB |
| 1.3.6.1.4.1.11.2 | nm | DATAPROTECTOR-MIB |
| 1.3.6.1.4.1.11.2.3 | hpSystem | HP-ICF |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-ICF |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-ICF-OID |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1 | snSwInfo | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.1.8 | snSwPortSetAll | HP-SN-SWITCH-GROUP-MIB |