hwMstpiDesignatedPort
HUAWEI-IPDSLAM-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.20.1.8
Object
column OctetString
Indicates the designated port. The format of the port ID is port priority (1B) + port number (1B). For example, if the port priority is 128, and the port number is 1, then the port ID is 80.01.
Context
- MIB
- HUAWEI-IPDSLAM-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.20.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwMstpPortEntry
- Groups
- 1
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-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiDesignatedPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiDesignatedPort.<hwMstpInstanceID>.<hwMstpiPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiDesignatedPort'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2
Conformance
Member of