me1200RmirrorConfigSessionSourcePortMirrorType
ME1200-RMIRROR-MIB ·
.1.3.6.1.4.1.9.9.815.1.120.1.2.4.1.3
Object
Mirror type on frames to/from port. none(0) means no mirror. tx(1) is to monitor the packets sent from the port. rx(2) is to monitor the packets sent to the port. both(3) is to monitor all packets sent from and to the port.
Context
- MIB
- ME1200-RMIRROR-MIB
- OID
.1.3.6.1.4.1.9.9.815.1.120.1.2.4.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- me1200RmirrorConfigSessionSourcePortEntry
- Groups
- 1
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 'ME1200-RMIRROR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ME1200-RMIRROR-MIB::me1200RmirrorConfigSessionSourcePortMirrorType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ME1200-RMIRROR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ME1200-RMIRROR-MIB::me1200RmirrorConfigSessionSourcePortMirrorType.<me1200RmirrorConfigSessionSourcePortSessionId>.<me1200RmirrorConfigSessionSourcePortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ME1200-RMIRROR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ME1200-RMIRROR-MIB::me1200RmirrorConfigSessionSourcePortMirrorType'
Syntax
- Source
- ME1200RmirrorMirrorType
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | tx |
2 | rx |
3 | both |