scGenSwitchCopySource
XSWITCH-MIB ·
.1.3.6.1.4.1.81.28.1.5.1.1.3
Object
The port in the switch that is being copied. All received and transmit packets on the port( including local traffic ) are copied to the defined destination, besides their normal destination. The value of this item is: 1024*S+P, where S is the slot number in the hub and P the port within the slot.
Context
- MIB
- XSWITCH-MIB
- OID
.1.3.6.1.4.1.81.28.1.5.1.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- scGenSwitchEntry
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 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scGenSwitchCopySource'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scGenSwitchCopySource.<scGenSwitchId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XSWITCH-MIB::scGenSwitchCopySource'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647