All MIBs › RSPAN-MGMT-MIB › swRSPANState
swRSPANState
Module: RSPAN-MGMT-MIB
OID (symbolic): RSPAN-MGMT-MIB::swRSPANState
OID (numeric): 1.3.6.1.4.1.171.12.68.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the RSPAN state. enabled (1) - This entry resides in the table. disabled (2) - Writes this value to the object and then removes the corresponding entry from the table.
What is swRSPANState?
This read-write enumerated value turns Remote SPAN (RSPAN) on or off at the switch level, where enabled(1) means the RSPAN configuration entry stays resident in the table, and writing disabled(2) both applies that value and removes the corresponding entry from the table. Admins use it as the master switch for a remote port-mirroring session, and because setting it to disabled actually deletes the configuration, they need to understand this isn't a simple pause. For example, an admin done troubleshooting a remote-monitored VLAN would set this to disabled(2), which both disables and removes that RSPAN entry in one operation.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.68.1.1 snmpwalk -v2c -c public <target> RSPAN-MGMT-MIB::swRSPANState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.68.1.1.1 snmpget -v2c -c public <target> RSPAN-MGMT-MIB::swRSPANState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.68.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> swRSPANState.1
Start monitoring D-Link managed switches (Remote Switched Port Analyzer session management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RSPAN-MGMT-MIB::swRSPANState OID value, configure state conditions and alerts, and monitor any D-Link managed switches (Remote Switched Port Analyzer session management) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.68 | swRSPANMIB | RSPAN-MGMT-MIB |
| 1.3.6.1.4.1.171.12.68.1 | swRSPANCtrl | RSPAN-MGMT-MIB |
| 1.3.6.1.4.1.171.12.68.1.1 | swRSPANState | RSPAN-MGMT-MIB |