swL2MirrorLogicTargetPort
DGS3120-24PC-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.117.3.1.2.10.1
Object
scalar r/w
Integer32
This object indicates which switch port will sniff another port. A trunk port member cannot be configured as a target snooping port. The port number is the sequential (logical) number, which is also applied to the bridge MIB, etc.
Context
- MIB
- DGS3120-24PC-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.117.3.1.2.10.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL2MirrorMgmt
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 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3120-24PC-L2MGMT-MIB::swL2MirrorLogicTargetPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3120-24PC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3120-24PC-L2MGMT-MIB::swL2MirrorLogicTargetPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535