hwMgcpMedGwyUDPPort
HUAWEI-VOIP-MGCP-MIB ·
.1.3.6.1.4.1.2011.6.36.1.37.1.5
Object
column r/w
Integer32
Indicates the UDP port that the Media Gateway Controller will use to communicate with the Media Gateway. The value 65535 is returned if the entry is invalid. The valid value is from 1 to 4999 in MD5500 and from 1 to 16383 in AMG5000.
Context
- MIB
- HUAWEI-VOIP-MGCP-MIB
- OID
.1.3.6.1.4.1.2011.6.36.1.37.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMgcpMedGwyConfigEntry
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-VOIP-MGCP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-MGCP-MIB::hwMgcpMedGwyUDPPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOIP-MGCP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-MGCP-MIB::hwMgcpMedGwyUDPPort.<hwMgcpMedGwyId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOIP-MGCP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOIP-MGCP-MIB::hwMgcpMedGwyUDPPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 2000-3000
range: 65535-65535