vlanTrunkPortVlansEnabled
CISCO-VTP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.46.1.6.1.1.4
Object
column r/w
OctetString
A string of octets containing one bit per VLAN in the
management domain on this trunk port. The first octet
corresponds to VLANs with VlanIndex values of 0 through 7;
the second octet to VLANs 8 through 15; etc. The most
significant bit of each octet corresponds to the lowest
value VlanIndex in that octet. If the bit corresponding to
a VLAN is set to '1', then the local system is enabled for
sending and receiving frames on that VLAN; if the bit is set
to '0', then the system is disabled from sending and
receiving frames on that VLAN.
To avoid conflicts between overlapping partial updates by
multiple managers, i.e., updates which modify only a portion
of an instance of this object (e.g., enable/disable a single
VLAN on the trunk port), any SNMP Set operation accessing an
instance of this object should also write the value of
vlanTrunkPortSetSerialNo.
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.6.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanTrunkPortEntry
- 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-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortVlansEnabled'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortVlansEnabled.<vlanTrunkPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-VTP-MIB::vlanTrunkPortVlansEnabled'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 128-128
Conformance
Member of