cspanSessionAdminStatus
CISCO-FC-SPAN-MIB ·
.1.3.6.1.4.1.9.9.363.1.1.2.1.3
Object
column r/w
Enumeration
This object is used to suspend an active session
or activate an inactive session.
Note that setting the value to the existing value
has no effect on the operation. i.e. setting the
value to 'active' when session is 'active' has no
effect.
Context
- MIB
- CISCO-FC-SPAN-MIB
- OID
.1.3.6.1.4.1.9.9.363.1.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cspanSessionEntry
- 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 '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::cspanSessionAdminStatus'
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::cspanSessionAdminStatus.<cspanSessionIndex>'
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::cspanSessionAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | inactive |
Conformance
Member of