hwPortGroupPolicyCfgPortType

HUAWEI-L2MULTICAST-MIB · .1.3.6.1.4.1.2011.5.25.181.1.30.1.1.1

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.30.1.1.1
Type
column
Access
noaccess
Status
current
Parent
hwL2mcPortGroupPolicyBatchCfgEntry

Walk 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::hwPortGroupPolicyCfgPortType'
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::hwPortGroupPolicyCfgPortType.<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::hwPortGroupPolicyCfgPortType'

Syntax

Source
HWPortType
Base type
Enumeration

Values & Constraints

Type Values
1invalid
2pw
3switchport
4dot1q
5termination
6board
7vlanPort
9qinq-batch-config
10dot1q-termination-batch-config
11main-interface-bound-to-vsi