swRSPANSrcMirrGroupID
RSPAN-MGMT-MIB ·
.1.3.6.1.4.1.171.12.68.3.1.1.6
Object
This object indicates the mirror session which used for RSPAN mirrored function.
The value range is (0..N), N is determined by project.
0 indicates no mirror group configured for RSPAN source.
When set 0, means to clear the mirror group from RSPAN source.
Context
- MIB
- RSPAN-MGMT-MIB
- OID
.1.3.6.1.4.1.171.12.68.3.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swRSPANEntry
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 'RSPAN-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RSPAN-MGMT-MIB::swRSPANSrcMirrGroupID'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RSPAN-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RSPAN-MGMT-MIB::swRSPANSrcMirrGroupID.<swRSPANVLANID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RSPAN-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RSPAN-MGMT-MIB::swRSPANSrcMirrGroupID'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647