hwPitpSwitch
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.25.1.12
Object
column r/w
Enumeration
Indicates the PITP switch based on VLAN. Options: 1. enable(1) -indicates enabling the PITP switch. 2. disable(2) -indicates disabling the PITP switch. This leaf is optional for creating a VLAN service profile. Leaf hwDslamPITPStatus in HUAWEI-DSLAM-PITP-MIB can be used for configuring the global PITP switch. The final status of the PITP switch is determined by both the global-level PITP switch and the VLAN-level PITP switch. The PITP function is enabled on the VLAN only when the switches at both levels are enabled.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.25.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanSrvProfEntry
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::hwPitpSwitch'
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::hwPitpSwitch.<hwVlanSrvProfName>'
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::hwPitpSwitch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |