ancpAnSessionConfigEncapPortNumber
HUAWEI-ANCP-AN-MIB ·
.1.3.6.1.4.1.2011.5.106.1.3.1.23
Object
column r/w
Unsigned32
The port number used for the transport protocol establishment to the ANCP peer. The transport protocol type is specified by ancpAnSessionConfigEncapsulationType and as it is set by default to 'tcp' then the default port number is set to 6068 (see details in http://www.iana.org/). Other port numbers may be relevant if other transport protocols are used. The value of this object is persistent.
Context
- MIB
- HUAWEI-ANCP-AN-MIB
- OID
.1.3.6.1.4.1.2011.5.106.1.3.1.23- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ancpAnSessionConfigEntry
- 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-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigEncapPortNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigEncapPortNumber.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ANCP-AN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ANCP-AN-MIB::ancpAnSessionConfigEncapPortNumber'
Syntax
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of