All MIBs › FOUNDRY-SN-SWITCH-GROUP-MIB › snSwPortSetAll
snSwPortSetAll
Module: FOUNDRY-SN-SWITCH-GROUP-MIB
OID (symbolic): FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortSetAll
OID (numeric): 1.3.6.1.4.1.1991.1.1.3.1.8
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description:
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.
What is snSwPortSetAll?
This write-only object allows bulk configuration by referencing a source port in the switch and then applying all of that port's read-write attributes to every port in the entire system. Attributes affected include monitor mode, tag mode, channel mode, speed, and administrative status. An operator would use this when standardizing port configuration across a large switch or initializing a new switch model, but must first prepare the source port with all intended settings.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.1.8 snmpwalk -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortSetAll
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.1.8.1 snmpget -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snSwPortSetAll.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.1.3.1.8.1 i <value>
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.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3 | snSwitch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3.1 | snSwInfo | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.1.8 | snSwPortSetAll | FOUNDRY-SN-SWITCH-GROUP-MIB |