cspanSourcesVsanCfgVsans2k

CISCO-FC-SPAN-MIB · .1.3.6.1.4.1.9.9.363.1.1.5.1.3

Object

column r/w CISCO-ZS-MIBFcList
The VSANs that are assigned to this session.
              
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 1 through 8, the second octet specifying VSAN 9
through 16, etc. Since there are 256 octets, the range
of VSANs is from 0-2047. Within each octet, the most 
significant bit represents the lowest numbered VSAN id 
and the least significant bit represents the highest 
numbered VSAN id. Thus each VSAN is represented by a
single bit within the value of this object. 
If that bit has value '1' then that VSAN is included 
in the set of VSANs; the VSAN is not included if 
its bit has a value of '0'.

Context

MIB
CISCO-FC-SPAN-MIB
OID
.1.3.6.1.4.1.9.9.363.1.1.5.1.3
Type
column
Access
readwrite
Status
current
Parent
cspanSourcesVsanCfgEntry
Groups
2

Walk 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 'CISCO-FC-SPAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-FC-SPAN-MIB::cspanSourcesVsanCfgVsans2k'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-FC-SPAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-FC-SPAN-MIB::cspanSourcesVsanCfgVsans2k.<cspanSourcesVsanCfgSessIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-FC-SPAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-FC-SPAN-MIB::cspanSourcesVsanCfgVsans2k'

Syntax

Source
CISCO-ZS-MIBFcList
Base type
OctetString

Values & Constraints

Type Constraints
range: 0..256