mirrorPortDirection
VES1724-58V-MIB ·
.1.3.6.1.4.1.890.1.5.12.49.11.11.1.1.4
Object
column r/w
Enumeration
Set to 'ingress' to mirror ingress traffic, 'egress' to mirror egress traffic, 'both' to mirror bi-directional traffic
Context
- MIB
- VES1724-58V-MIB
- OID
.1.3.6.1.4.1.890.1.5.12.49.11.11.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mirrorPortEntry
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 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VES1724-58V-MIB::mirrorPortDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VES1724-58V-MIB::mirrorPortDirection.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VES1724-58V-MIB::mirrorPortDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | ingress |
1 | egress |
2 | both |