zxAnSpanType
ZTE-AN-SPAN-MIB ·
.1.3.6.1.4.1.3902.1015.3.21.2.2.1.2
Object
column r/w
Enumeration
The SPAN type of a session. span(1) - Local Switched Port Analyzer. rspan(2) - Remote SPAN. erspan(3) - Enhanced Remoted SPAN.
Context
- MIB
- ZTE-AN-SPAN-MIB
- OID
.1.3.6.1.4.1.3902.1015.3.21.2.2.1.2- 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::zxAnSpanType'
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::zxAnSpanType.<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::zxAnSpanType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | span |
2 | rspan |
3 | erspan |
Conformance
Member of