hwL2mcNotificationsPortType
HUAWEI-L2MULTICAST-MIB ·
.1.3.6.1.4.1.2011.5.25.181.1.33.3
Object
scalar 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
Context
- MIB
- HUAWEI-L2MULTICAST-MIB
- OID
.1.3.6.1.4.1.2011.5.25.181.1.33.3- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwL2mcGeneralNotificationsObject
- Groups
- 1
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-L2MULTICAST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MULTICAST-MIB::hwL2mcNotificationsPortType.0'
More examples
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::hwL2mcNotificationsPortType'
Syntax
- Source
- HWPortType
- Base type
Enumeration
Values & Constraints
Enumerated Values
1 | ip |
2 | mac |
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 |
Conformance
Member of