hwVlanVPNTPIDMode
HUAWEI-LswINF-MIB ·
.1.3.6.1.4.1.2011.2.23.1.5.1.9
Object
scalar Enumeration
Vlan VPN TPID mode.
The value 'port-based' means VLAN VPN TPID value would be set based
on port via hwifVlanVPNTPID. In this situation, hwVlanVPNTPID is
meaningless and always return 0x8100.
The value 'global' means VLAN VPN TPID value should be set globally
via hwVlanVPNTPID. In this situation, hwifVlanVPNTPID in hwethernetTable
has the same value with hwVlanVPNTPID.
Context
- MIB
- HUAWEI-LswINF-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.5.1.9- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwLswL2InfMibObject
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswINF-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswINF-MIB::hwVlanVPNTPIDMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswINF-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswINF-MIB::hwVlanVPNTPIDMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | port-based |
2 | global |