vlanPortAdminStatus
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.9.3.1.10
Object
column r/w
Enumeration
Indicates whether the port will get assigned to a VLAN statically or dynamically. When it is set to dynamic, the needed information will be accessed from one of the Vlan Membership Policy Servers specified in the vmpsTable. Default value is static(1). Note that vlanPortAdminStatus cannot be set to dynamic(2) for a port which has portSecurityAdminStatus set to enabled(1) or for a port which currently has a vlanPortIslOperStatus of trunking(1).
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.9.3.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanPortEntry
- Groups
- 2
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-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::vlanPortAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::vlanPortAdminStatus.<vlanPortModule>.<vlanPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::vlanPortAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | dynamic |
Conformance
Member of