hwSepPortId
HUAWEI-SEP-MIB ·
.1.3.6.1.4.1.2011.5.25.223.1.3.1.2
Object
column OctetString
The port identifier. For example: 00.E0.6E.70.23.00.00.00 (hex). The first 6 bytes is the mac address of the device
Context
- MIB
- HUAWEI-SEP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.223.1.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwSepTopologyEntry
- 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-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SEP-MIB::hwSepPortId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SEP-MIB::hwSepPortId.<hwSepSegmentId>.<hwSepHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SEP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SEP-MIB::hwSepPortId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-8
Conformance
Member of