hwL2mcPortType
HUAWEI-L2MULTICAST-MIB ·
.1.3.6.1.4.1.2011.5.25.181.1.5.1.1.5
Object
column HWPortType
The interface type: 1: Invalid 2: PW interface 3: L2 interface 4: Encapsulation sub-interface 5: Termination sub-interface 6: Interface Board 7: Vlanif Port 11: Main-interface-bound-to-vsi
Context
- MIB
- HUAWEI-L2MULTICAST-MIB
- OID
.1.3.6.1.4.1.2011.5.25.181.1.5.1.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwL2mcGroupInfoEntry
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-L2MULTICAST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MULTICAST-MIB::hwL2mcPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2MULTICAST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MULTICAST-MIB::hwL2mcPortType.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2MULTICAST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2MULTICAST-MIB::hwL2mcPortType'
Syntax
- Source
- HWPortType
- Base type
Enumeration
Values & Constraints
Object Constraints
range: 0-31
Type Values
1 | invalid |
2 | pw |
3 | switchport |
4 | dot1q |
5 | termination |
6 | board |
7 | vlanPort |
9 | qinq-batch-config |
10 | dot1q-termination-batch-config |
11 | main-interface-bound-to-vsi |