hwPortOuterEthernetType
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.65002.1.1
Object
column r/w
Enumeration
Indicates the Ethernet protocol type of the outer VLAN tag of a port.
Options:
1. invalid(-1) -it indicates that the port does not support the
Ethernet protocol type of the outer VLAN. During the query,
the invalid value -1 is fixedly returned.
2. dot1qTpid(1) -it is valid for all service streams on the port.
3. dot1adTpid(2) -it is valid for only switching-oriented and
connection-oriented service streams with two VLAN tags on the port.
Default: dot1qTpid(1)
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.65002.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPortOuterEthernetTypeEntry
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 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwPortOuterEthernetType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwPortOuterEthernetType.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwPortOuterEthernetType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | dot1qTpid |
2 | dot1adTpid |