zxAnVlanIfConfTpidEnable
ZTE-AN-VLAN-MIB ·
.1.3.6.1.4.1.3902.1015.20.3.1.12
Object
column r/w
Enumeration
Enable or disable zxAnVlanIfConfTpid.
enable(1) -- Apply the out VLAN TPID with zxAnVlanIfConfTpid.
disable(2) -- Apply the out VLAN TPID with zxAnVlanConfTpid in the
zxAnVlanConfTpidTable.
Context
- MIB
- ZTE-AN-VLAN-MIB
- OID
.1.3.6.1.4.1.3902.1015.20.3.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnVlanPortEntry
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 'ZTE-AN-VLAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-VLAN-MIB::zxAnVlanIfConfTpidEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-VLAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-VLAN-MIB::zxAnVlanIfConfTpidEnable.<zxAnVlanPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-VLAN-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-VLAN-MIB::zxAnVlanIfConfTpidEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |