hwSwitchPwState

HUAWEI-DSLAM-VPLS-MIB · .1.3.6.1.4.1.2011.5.115.1.7.1.2

Object

column Enumeration
This object indicates state of switch PW.
Options: 		
1. up(1)        -indicates switch PW's state is up
2. down(2)      -indicates switch PW's state is down
3. admindown(3) -indicates switch PW's state is shut down

Context

MIB
HUAWEI-DSLAM-VPLS-MIB
OID
.1.3.6.1.4.1.2011.5.115.1.7.1.2
Type
column
Access
readonly
Status
current
Parent
hwSwitchPwBindEntry

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-DSLAM-VPLS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-VPLS-MIB::hwSwitchPwState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-VPLS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-VPLS-MIB::hwSwitchPwState.<pwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-VPLS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-VPLS-MIB::hwSwitchPwState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1up
2down
3admindown