zxAnSpanSrcPortList
ZTE-AN-SPAN-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.80.10.2.2.1.5
Object
column r/w
ObjectIdentifier
It is a sequence of some source ports.
Supports ethernet interface, inner port, smartgroup.
The format of portlist is like this:
.ifIndex1.zxAnSubIfIndex1.ifIndex2.zxAnSubIfIndex2...
| port1 | port2 |...
In case of no zxAnSubIfIndex, the portlist is like this:
.ifIndex1.0.ifIndex2.0...
|port1 |port2 |...
Context
- MIB
- ZTE-AN-SPAN-MIB
- OID
.1.3.6.1.4.1.3902.1082.80.10.2.2.1.5- 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-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcPortList'
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-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcPortList.<zxAnSpanSessionId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SPAN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SPAN-MIB::zxAnSpanSrcPortList'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of