vmPortStatus

CISCO-VLAN-MEMBERSHIP-MIB · .1.3.6.1.4.1.9.9.68.1.2.2.1.3

Object

column Enumeration
An indication of the current VLAN status of the port.
A status of inactive(1) indicates that a dynamic port
does not yet have a VLAN assigned, or a port is 
assigned to a VLAN that is currently not active. A 
status of active(2) indicates that the currently 
assigned VLAN is active. A status of shutdown(3) 
indicates that the port has been disabled as a result
of VQP shutdown response.

Context

MIB
CISCO-VLAN-MEMBERSHIP-MIB
OID
.1.3.6.1.4.1.9.9.68.1.2.2.1.3
Type
column
Access
readonly
Status
current
Parent
vmMembershipEntry
Groups
3

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1inactive
2active
3shutdown