tnMirrorDestinationEnablePortId
TN-MIRROR-MIB ·
.1.3.6.1.4.1.7483.6.1.2.18.1.1.1.22
Object
The value of tnMirrorDestinationEnablePortId indicates whether the
port-id of the system is to be included in the mirrored packets.
The value of 'true' indicates that the port-id is to be included in the
mirrored packets.
An 'inconsistentValue' error is returned if an attempt is made to set
the value of tnMirrorDestinationEnablePortId to 'true' when
tnMirrorDestinationEncapsulation is not set to 'ppp (3)'.
Context
- MIB
- TN-MIRROR-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.18.1.1.1.22- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tnMirrorDestinationEntry
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 'TN-MIRROR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-MIRROR-MIB::tnMirrorDestinationEnablePortId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-MIRROR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-MIRROR-MIB::tnMirrorDestinationEnablePortId.<tnSysSwitchId>.<tnMirrorDestinationIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-MIRROR-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-MIRROR-MIB::tnMirrorDestinationEnablePortId'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |