hwAncpTcpListenPortNumber
HUAWEI-ANCP-AN-EXT-MIB ·
.1.3.6.1.4.1.2011.5.110.1.12
Object
scalar r/w
Unsigned32
This object is used to configure the ANCP listen tcp port. Range: 1024-49151 Default: 6068
Context
- MIB
- HUAWEI-ANCP-AN-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.110.1.12- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwAncpAnObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ANCP-AN-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-EXT-MIB::hwAncpTcpListenPortNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ANCP-AN-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ANCP-AN-EXT-MIB::hwAncpTcpListenPortNumber'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1024-49151