zxAnSpanSrcDirectionList
ZTE-AN-SPAN-MIB ·
.1.3.6.1.4.1.3902.1015.3.21.2.2.1.4
Object
column r/w
ObjectIdentifier
The traffic direction list of the source port list.
The format of direction list is like this:
.direction1.direction2...
|port1 |port2 |...
Each value of the sequence represents a traffic direction.
The value may be followings:
both(1),
egress(2),
ingress(3).
Context
- MIB
- ZTE-AN-SPAN-MIB
- OID
.1.3.6.1.4.1.3902.1015.3.21.2.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnSpanEntry
- 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 'ZTE-AN-SPAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcDirectionList'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SPAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcDirectionList.<zxAnSpanSessionId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SPAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcDirectionList'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of